[CMake] try_compile question

Torri, Stephen CIV NSWCDD, W15 stephen.torri at navy.mil
Mon Jun 7 13:19:12 EDT 2010


> 
> From: cmake-bounces at cmake.org on behalf of Mark Moll
> Sent: Mon 6/7/2010 12:57 PM
> To: cmake at cmake.org
> Subject: [CMake] try_compile question
> 
> /opt/local/bin/c++    -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5   -o 
> CMakeFiles/cmTryCompileExec.dir/CheckSZencoder.cpp.o -c /Users/mmoll/CMakeModules/CheckSZencoder.cpp
> /Users/mmoll/CMakeModules/CheckSZencoder.cpp:2:19: error: szlib.h: No such file or directory

It appears you do not have either the include directories set correctly or szlib.h is not installed.

Stephen




More information about the CMake mailing list