Hello everybody,
I try to compile the most recent SVN revision and when running cmake get the following error:
CMake Error at cmake/thirdpartydeps.cmake:54 (MESSAGE): Cannot find plib header files Call Stack (most recent call first): src/libs/tgfclient/CMakeLists.txt:13 (ADD_PLIB_INCLUDEDIR)
plib is installed as far as I can tell:
$ locate plib | grep include /usr/include/plib /usr/include/plib/fnt.h /usr/include/plib/js.h /usr/include/plib/net.h /usr/include/plib/netBuffer.h /usr/include/plib/netChannel.h /usr/include/plib/netChat.h /usr/include/plib/netMessage.h /usr/include/plib/netMonitor.h /usr/include/plib/netSocket.h /usr/include/plib/pcx.h /usr/include/plib/psl.h /usr/include/plib/pu.h /usr/include/plib/puAux.h /usr/include/plib/puAuxLocal.h /usr/include/plib/puFLTK.h /usr/include/plib/puGLUT.h /usr/include/plib/puNative.h /usr/include/plib/puPW.h /usr/include/plib/puSDL.h /usr/include/plib/pw.h /usr/include/plib/sg.h /usr/include/plib/sl.h /usr/include/plib/slPortability.h /usr/include/plib/sm.h /usr/include/plib/ssg.h /usr/include/plib/ssgAux.h /usr/include/plib/ssgKeyFlier.h /usr/include/plib/ssgMSFSPalette.h /usr/include/plib/ssgaBillboards.h /usr/include/plib/ssgaFire.h /usr/include/plib/ssgaLensFlare.h /usr/include/plib/ssgaParticleSystem.h /usr/include/plib/ssgaScreenDump.h /usr/include/plib/ssgaShapes.h /usr/include/plib/ssgaSky.h /usr/include/plib/ssgaSphere.h /usr/include/plib/ssgaWaveSystem.h /usr/include/plib/ssgconf.h /usr/include/plib/ul.h /usr/include/plib/ulRTTI.h
Which options do I need to pass to cmake to make it find plib? So far I tried
cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON -D CMAKE_PREFIX_PATH:STRING=/usr .
with no luck. Thanks in advance for your assistance!
Hi Photon, You shouldn't need to specify the CMAKE_PREFIX_PATH at all, but if you do, try changing it to: /usr/include
cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON -D CMAKE_PREFIX_PATH:STRING=/usr/include .
If you can't get it to work, you can install ccmake (note the two c's) which will let you see and edit the paths to everything.
Joe
Log in to post a comment.
Hello everybody,
I try to compile the most recent SVN revision and when running cmake get the following error:
plib is installed as far as I can tell:
$ locate plib | grep include /usr/include/plib /usr/include/plib/fnt.h /usr/include/plib/js.h /usr/include/plib/net.h /usr/include/plib/netBuffer.h /usr/include/plib/netChannel.h /usr/include/plib/netChat.h /usr/include/plib/netMessage.h /usr/include/plib/netMonitor.h /usr/include/plib/netSocket.h /usr/include/plib/pcx.h /usr/include/plib/psl.h /usr/include/plib/pu.h /usr/include/plib/puAux.h /usr/include/plib/puAuxLocal.h /usr/include/plib/puFLTK.h /usr/include/plib/puGLUT.h /usr/include/plib/puNative.h /usr/include/plib/puPW.h /usr/include/plib/puSDL.h /usr/include/plib/pw.h /usr/include/plib/sg.h /usr/include/plib/sl.h /usr/include/plib/slPortability.h /usr/include/plib/sm.h /usr/include/plib/ssg.h /usr/include/plib/ssgAux.h /usr/include/plib/ssgKeyFlier.h /usr/include/plib/ssgMSFSPalette.h /usr/include/plib/ssgaBillboards.h /usr/include/plib/ssgaFire.h /usr/include/plib/ssgaLensFlare.h /usr/include/plib/ssgaParticleSystem.h /usr/include/plib/ssgaScreenDump.h /usr/include/plib/ssgaShapes.h /usr/include/plib/ssgaSky.h /usr/include/plib/ssgaSphere.h /usr/include/plib/ssgaWaveSystem.h /usr/include/plib/ssgconf.h /usr/include/plib/ul.h /usr/include/plib/ulRTTI.h
Which options do I need to pass to cmake to make it find plib? So far I tried
with no luck. Thanks in advance for your assistance!
Hi Photon,
You shouldn't need to specify the CMAKE_PREFIX_PATH at all, but if you do, try changing it to:
/usr/include
cmake -D OPTION_OFFICIAL_ONLY:BOOL=ON -D CMAKE_PREFIX_PATH:STRING=/usr/include .
If you can't get it to work, you can install ccmake (note the two c's) which will let you see and edit the paths to everything.
Joe