<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Aaron Boxer</b> <span dir="ltr"><<a href="mailto:boxerab@gmail.com">boxerab@gmail.com</a>></span><br>
Date: Wed, Jun 19, 2013 at 11:47 AM<br>Subject: Re: [CMake] Error running CMake on Win 7 64<br>To: Sergei Nikulov <<a href="mailto:sergey.nikulov@gmail.com">sergey.nikulov@gmail.com</a>><br><br><br><div dir="ltr"><p style="margin:0px">
@Sergei</p><p style="margin:0px"><br></p><p style="margin:0px">When I click "configure", I choose "Visual Studio 2010 Win64" as my compiler.</p><p style="margin:0px">
<br></p><p style="margin:0px">Then I get the following output:</p><div class="im"><p style="margin:0px"><br></p><p style="margin:0px"><br></p><p style="margin:0px">The C compiler identification is unknown</p>
<p style="margin:0px">Check if the system is big endian</p>
<p style="margin:0px">Searching 16 bit integer</p>
</div><p style="margin:0px">Looking for sys/types.h</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Looking for sys/types.h - not found</p>
<p style="margin:0px">Looking for stdint.h</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Looking for stdint.h - not found</p>
<p style="margin:0px">Looking for stddef.h</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Looking for stddef.h - not found</p>
<p style="margin:0px">Check size of unsigned short</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Check size of unsigned short - failed</p>
<p style="margin:0px">Check size of unsigned int</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Check size of unsigned int - failed</p>
<p style="margin:0px">Check size of unsigned long</p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37 (get_filename_component):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> get_filename_component called with incorrect number of arguments</span></p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
</div><p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:3 (PROJECT)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error: Internal CMake error, TryCompile configure of cmake failed</span></p>
<p style="margin:0px">Check size of unsigned long - failed</p><div class="im">
<p style="margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> no suitable type found</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p>
<p style="margin:0px"><span style="color:rgb(255,0,0)"> CMakeLists.txt:146 (TEST_BIG_ENDIAN)</span></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px;color:rgb(255,0,0)"></p>
<p style="margin:0px">Configuring incomplete, errors occurred!</p></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 19, 2013 at 11:37 AM, Aaron Boxer <span dir="ltr"><<a href="mailto:boxerab@gmail.com" target="_blank">boxerab@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks, Sergei. <div>Yes, I have visual studio 2008, 2010 and 2012 installed.</div><div>And I have built VTK on this system.</div>
<span><font color="#888888"><div>Aaron</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 19, 2013 at 11:13 AM, Sergei Nikulov <span dir="ltr"><<a href="mailto:sergey.nikulov@gmail.com" target="_blank">sergey.nikulov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>2013/6/19 Aaron Boxer <span dir="ltr"><<a href="mailto:boxerab@gmail.com" target="_blank">boxerab@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hello,<div><br><div>I am trying to run cmake on a project (openjpeg) </div><div>using CMake 2.8.11 GUI, and I get the following errors:</div><div><br></div><div><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
The C compiler identification is unknown</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Check if the system is big endian</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Searching 16 bit integer</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<span style="color:rgb(255,0,0)">no suitable type found</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><span style="color:rgb(255,0,0)">Call Stack (most recent call first):</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<span style="color:rgb(255,0,0)">CMakeLists.txt:146 (TEST_BIG_ENDIAN)</span></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px;color:rgb(255,0,0)"></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px;color:rgb(255,0,0)">
</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Configuring incomplete, errors occurred!</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
Any ideas?</p></div></div></div></blockquote><div><br></div></div></div><div>Do you have any compiler installed? <br>AFAIR, you should select what tool set should be used for configuration/generation.<br>"The C compiler identification is unknown" pretty self-descriptive. <br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Thanks,</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
Aaron</p></div></div></div>
<br><span><font color="#888888">--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><br>
-- <br>Best Regards,<br>Sergei Nikulov
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></div><br></div>