[CMake] Fwd: Error running CMake on Win 7 64

2013-06-19 Thread Aaron Boxer
-- Forwarded message --
From: Aaron Boxer boxe...@gmail.com
Date: Wed, Jun 19, 2013 at 11:47 AM
Subject: Re: [CMake] Error running CMake on Win 7 64
To: Sergei Nikulov sergey.niku...@gmail.com


@Sergei


When I click configure, I choose Visual Studio 2010 Win64 as my
compiler.


Then I get the following output:



The C compiler identification is unknown

Check if the system is big endian

Searching 16 bit integer

Looking for sys/types.h

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Looking for sys/types.h - not found

Looking for stdint.h

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Looking for stdint.h - not found

Looking for stddef.h

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Looking for stddef.h - not found

Check size of unsigned short

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Check size of unsigned short - failed

Check size of unsigned int

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Check size of unsigned int - failed

Check size of unsigned long

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeCInformation.cmake:37
(get_filename_component):

get_filename_component called with incorrect number of arguments

Call Stack (most recent call first):

CMakeLists.txt:3 (PROJECT)

 CMake Error: Internal CMake error, TryCompile configure of cmake failed

Check size of unsigned long - failed

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):

no suitable type found

Call Stack (most recent call first):

CMakeLists.txt:146 (TEST_BIG_ENDIAN)

 Configuring incomplete, errors occurred!


On Wed, Jun 19, 2013 at 11:37 AM, Aaron Boxer boxe...@gmail.com wrote:

 Thanks, Sergei.
 Yes, I have visual studio 2008, 2010 and 2012 installed.
 And I have built VTK on this system.
 Aaron


 On Wed, Jun 19, 2013 at 11:13 AM, Sergei Nikulov sergey.niku...@gmail.com
  wrote:

 2013/6/19 Aaron Boxer boxe...@gmail.com

 Hello,

 I am trying to run cmake on a project (openjpeg)
 using CMake 2.8.11 GUI, and I get the following errors:

 The C compiler identification is unknown

 Check if the system is big endian

 Searching 16 bit integer

 CMake Error at C:/Program Files (x86)/CMake
 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (message):

 no suitable type found

 Call Stack (most recent call first):

 CMakeLists.txt:146 (TEST_BIG_ENDIAN)

 Configuring incomplete, errors occurred!


 Any ideas?


 Do you have any compiler installed?
 AFAIR, you should select what tool set should be used for
 configuration/generation.
 The C compiler identification is unknown pretty self-descriptive.



 Thanks,

 Aaron

 --

 Powered by www.kitware.com

 Visit other Kitware open-source projects at
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at:
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake




 --
 Best Regards,
 Sergei Nikulov



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Fwd: Error running CMake on Win 7 64

2013-06-19 Thread Sergei Nikulov
@Sergei


 When I click configure, I choose Visual Studio 2010 Win64 as my
 compiler.


 Then I get the following output:


Aaron,

Looks like something wrong with your environment.
Another idea is - try remove CMakeCache in existing build dir or start from
clean dir
Re-run cmake.
Just checked out project from google and it works just fine

The C compiler identification is MSVC 16.0.40219.1

Check for working C compiler using: Visual Studio 10 Win64

Check for working C compiler using: Visual Studio 10 Win64 -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check if the system is big endian

Searching 16 bit integer

Looking for sys/types.h

Looking for sys/types.h - found

Looking for stdint.h

Looking for stdint.h - found
...
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Fwd: Error running CMake on Win 7 64

2013-06-19 Thread Aaron Boxer
Sergei,
Yes, thanks very much for testing this out.
I was able to build the project on another system.

Cheers,
Aaron



On Wed, Jun 19, 2013 at 2:37 PM, Sergei Nikulov sergey.niku...@gmail.comwrote:




 @Sergei


 When I click configure, I choose Visual Studio 2010 Win64 as my
 compiler.


 Then I get the following output:


 Aaron,

 Looks like something wrong with your environment.
 Another idea is - try remove CMakeCache in existing build dir or start
 from clean dir
 Re-run cmake.
 Just checked out project from google and it works just fine

 The C compiler identification is MSVC 16.0.40219.1

 Check for working C compiler using: Visual Studio 10 Win64

 Check for working C compiler using: Visual Studio 10 Win64 -- works

 Detecting C compiler ABI info

 Detecting C compiler ABI info - done

 Check if the system is big endian

 Searching 16 bit integer

 Looking for sys/types.h

 Looking for sys/types.h - found

 Looking for stdint.h

 Looking for stdint.h - found
 ...

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake