[Solved]mygui cmake vc9 problems

drwbns

15-08-2011 19:15:37

Hi guys, I'm getting errors trying to cMake mygui 3.0, here's my output using cmake 2.8.0-

Configuring MYGUI 3.0.1
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
Looking for stddef.h
Looking for stddef.h - found
Check size of unsigned short
CMake Error at E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:82 (try_compile):
Cannot copy output executable

''

to destination specified by COPY_FILE:

'E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin'

Unable to find the executable at any of:

E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe

Call Stack (most recent call first):
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:167 (__check_type_size_impl)
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:27 (CHECK_TYPE_SIZE)
CMakeLists.txt:80 (test_big_endian)


Check size of unsigned int
CMake Error at E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:82 (try_compile):
Cannot copy output executable

''

to destination specified by COPY_FILE:

'E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.bin'

Unable to find the executable at any of:

E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe

Call Stack (most recent call first):
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:167 (__check_type_size_impl)
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:32 (CHECK_TYPE_SIZE)
CMakeLists.txt:80 (test_big_endian)


Check size of unsigned long
CMake Error at E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:82 (try_compile):
Cannot copy output executable

''

to destination specified by COPY_FILE:

'E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.bin'

Unable to find the executable at any of:

E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe
E:/Users/drwbns/Downloads/MyGUI3.0/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe

Call Stack (most recent call first):
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:167 (__check_type_size_impl)
E:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:39 (CHECK_TYPE_SIZE)
CMakeLists.txt:80 (test_big_endian)


CMake Error at E:/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:80 (test_big_endian)


Configuring incomplete, errors occurred!


Help please..

Altren

16-08-2011 19:19:51

Try updating CMake - it seems that there is some bug with 2.8.0.

drwbns

29-08-2011 17:25:39

That worked, thank you!