MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013798 | CMake | CMake | public | 2012-12-16 00:24 | 2013-05-06 09:32 |
Reporter | CharlesH | ||||
Assigned To | |||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | Mac | OS | OS X | OS Version | 10.7 |
Product Version | CMake 2.8.10.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013798: CMake Fails to build makefiles | ||||
Description | I was attempting to build Allegro 5 and got this error message: It fails with the following output: Change Dir: /Users/hardnett/Downloads/allegro/build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec1015337934/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec1015337934.dir/build.make CMakeFiles/cmTryCompileExec1015337934.dir/build "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_progress_report /Users/hardnett/Downloads/allegro/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1015337934.dir/testCCompiler.c.o /usr/bin/gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -o CMakeFiles/cmTryCompileExec1015337934.dir/testCCompiler.c.o -c /Users/hardnett/Downloads/allegro/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec1015337934 "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/cmTryCompileExec1015337934.dir/link.txt --verbose=1 /usr/bin/gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1015337934.dir/testCCompiler.c.o -o cmTryCompileExec1015337934 ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status make[1]: *** [cmTryCompileExec1015337934] Error 1 make: *** [cmTryCompileExec1015337934/fast] Error 2 I then tried a stripped down version of CMakeLists.txt and got the same error: /usr/bin/make -f CMakeFiles/cmTryCompileExec4200036634.dir/build.make CMakeFiles/cmTryCompileExec4200036634.dir/build "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_progress_report /Users/hardnett/Downloads/cmake/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4200036634.dir/testCCompiler.c.o /usr/bin/gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -o CMakeFiles/cmTryCompileExec4200036634.dir/testCCompiler.c.o -c /Users/hardnett/Downloads/cmake/build/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec4200036634 "/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/cmTryCompileExec4200036634.dir/link.txt --verbose=1 /usr/bin/gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec4200036634.dir/testCCompiler.c.o -o cmTryCompileExec4200036634 ld: library not found for -lcrt1.10.6.o collect2: ld returned 1 exit status make[1]: *** [cmTryCompileExec4200036634] Error 1 make: *** [cmTryCompileExec4200036634/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (PROJECT) -- Configuring incomplete, errors occurred! | ||||
Steps To Reproduce | You can reproduce this with the attached CMakeLists.txt file and main.c file: 1. unzip into a folder 2. type "cmake ." or you can: 1. unzip into a folder 2. cd build 3. cmake .. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | cmake.zip (11,249) 2012-12-16 00:24 https://public.kitware.com/Bug/file/4595/cmake.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-12-16 00:24 | CharlesH | New Issue | |||
2012-12-16 00:24 | CharlesH | File Added: cmake.zip | |||
2012-12-16 00:26 | CharlesH | Note Added: 0031902 | |||
2012-12-17 09:35 | Brad King | Note Added: 0031906 | |||
2012-12-17 09:35 | Brad King | Status | new => resolved | ||
2012-12-17 09:35 | Brad King | Resolution | open => suspended | ||
2013-05-06 09:32 | Robert Maynard | Note Added: 0032987 | |||
2013-05-06 09:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|