Hi JS, On Tue, Jan 19, 2010 at 2:11 PM, Jean-Sébastien Guay <[email protected]> wrote: >> Could you have a look to see if you can get CMakeLists.txt >> configuration that adds in the path to where the headers are. If we >> can get it working then we may just have to revert the changes for >> Mingw and force Mingw users to fix there local install of Freetype. > > Another "solution" could be to add the necessary path for MinGW to the list > of already existing paths (which seem to work for everyone) instead of > modifying the existing paths. Additional include paths (that don't resolve > to existing directories on your machine) are just ignored by the compiler > anyways...
Adding the path wouldn't resolve the problem. It's the removal of the freetype/ from the includes in the source files which is forcing the addition of the freetype/ and freetype2/ in the CMakeLists.txt. The only solution I can think of work right now would be to have #include<freetype2/....h> for Mingw and #include<freetype/....h> in the source files. However, such an approach would break if the Mingw include set up was fixed so is not something to go for. > But as I said when we started this, I'm perfectly fine with requiring a > symlink for MinGW... We've pretty much established that MinGW's paths for > freetype are broken at a more basic level anyways. I think we might just have to go with this solution. I'll wait for feedback from Ulrich to see if the CMakeLists.txt can be amended for OSX to work once more. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

