[osg-users] [build] Building from CMAKE on Windows - missing PNG_PNG_INCLUDE_DIR

2009-03-12 Thread Andrew
I am building the 2.8.0 Windows VS 2005 projects using CMAKE 2.6 and I get these (expected) messages in the CMAKE GUI log Window Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) Could NOT find PNG (missing:

Re: [osg-users] [build] Building from CMAKE on Windows - missing PNG_PNG_INCLUDE_DIR

2009-03-12 Thread David Callu
Hi Andrew Just check the 'Show Advanced Values' check box on the top right of cmake window. HTH David 2009/3/12 Andrew osgfo...@tevs.eu I am building the 2.8.0 Windows VS 2005 projects using CMAKE 2.6 and I get these (expected) messages in the CMAKE GUI log Window Could NOT find CURL

Re: [osg-users] [build] Building from CMAKE on Windows - missing PNG_PNG_INCLUDE_DIR

2009-03-12 Thread Andrew
That is the whole point of my post... Clicking on the advanced view and there is no PNG_LIBRARY or PNG_PNG_INCLUDE_DIR listed although there is , for example, a JPEG_INCLUDE_DIR listed. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8402#8402

Re: [osg-users] [build] Building from CMAKE on Windows - missing PNG_PNG_INCLUDE_DIR

2009-03-12 Thread Andrew
It's probably due to this 'code' in Find3rdpartyDependencies.cmake. IF(ZLIB_FOUND) FIND_DEPENDENCY(PNG png.h libpng;libpng13 ${OSG_3RDPARTY_BIN} D) IF(PNG_FOUND) #forcing subsequent FindPNG stuff to not search for other variables kind of a hack