compile error

172 views
Skip to first unread message

Sule Yildirim Yayilgan

unread,
Jan 11, 2013, 3:49:22 AM1/11/13
to open...@googlegroups.com
Hello,
When I compiile /trunk, i get the following errors. How to fix? Thanks. Sule
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

Found OpenGL: opengl32

Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

z lib not found on system, using bundled!

Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)

png lib not found on system, using bundled!

Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)

jpeg lib not found on system, using bundled!

Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)

bzip2 lib not found on system, using bundled!

Could NOT find Boost

CMake Error at source/CMakeLists.txt:27 (IF):

if given arguments:

"LESS" "35"

Unknown arguments specified

Configuring incomplete, errors occurred!

Igor Karpov

unread,
Jan 11, 2013, 11:05:34 PM1/11/13
to open...@googlegroups.com
Hello Sule,

This is usually due to the boost library not being found. It is possible that the Boost library you have is too new for the CMakeLists.txt script. If you have a version of boost installed, try adding it's version to the list of boost versions under source/CMakeLists.txt. Also, let me know what version of boost you have installed and what platform you are running on.

--Igor.

Igor Karpov

unread,
Jan 21, 2013, 11:54:59 PM1/21/13
to open...@googlegroups.com
The latest version of the trunk should be better at finding Boost (I actually ended up removing the older FindBoost.cmake that we had to have back when cmake did not do a good job on its own - now it seems that recent versions of cmake are at least as good at it out of the box). About the only build problem I am still having with the current trunk is on Mac OS X Lion, where I am having to manually change the compiler to "LLVM GCC 4.2" in OpenNERO project settings.


On Friday, January 11, 2013 8:05:34 PM UTC-8, Igor Karpov wrote:
Hello Sule,

This is usually due to the boost library not being found. It is possible that the Boost library you have is too new for the CMakeLists.txt script. If you have a version of boost installed, try adding it's version to the list of boost versions under source/CMakeLists.txt. Also, let me know what version of boost you have installed and what platform you are running on.

--Igor.
Reply all
Reply to author
Forward
0 new messages