Hi Paul,

Any idea why the non-standard name for the 3rdParty dir would cause this failure?

This is an issue that has been there for a while but that no one bothered to fix until now because there's an easy workaround.

The workaround is to open up CMake, and show the "Advanced variables". You will probably see that some freetype-related variables are set to <something>-NOTFOUND. Set them to the right values and regenerate, and it will be fine.

It's possible that other variables will also not be set correctly. So check all the values in the advanced list and make sure they're all set as they should, if not set them manually.

I don't know enough about CMake to fix this. I can however give the exact failure mechanism if someone's interested:

1. Delete your CMake cache
2. Open CMake, point it to your source and build directory, and press Configure a first time. This will ask you which compiler to generate for, and some of the variables will appear in the CMake window.
3. Change ACTUAL_3RDPARTY_DIR manually.
4. Press Configure a second time.

It would seem that if ACTUAL_3RDPARTY_DIR is manually changed, CMake is not able to detect all of the libs/includes that are needed. I expect there's a bug in our Find3rdPartyDependencies.cmake, but I wouldn't really know where to look and how to debug. Perhaps Mattias or Philip can help here?

In the mean time, I hope the workaround above helps you a bit, Paul.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to