Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-04-27 Thread Robert Osfield
Hi Jaeyong, Sounds like you have Inventor installed on your system so the OSG's Cmake build system is picking up on this and enabling the build of the Inventor plugin (to be able to read .iv and .wrl files.) Alas once the build start going on this plugin it compiles by fails on link due to the

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-04-27 Thread Jaeyoung Haan
Thanks robertosfield, it works. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10925#10925 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-04-26 Thread Jaeyoung Haan
I'm trying to install OSG on my Mac OSX 10.5.6 in order to develop 3D simulation. I'm not going to use Xcode. I downloaded osg source codes thru svn 2.8.1 rc, installed Cmake, and did ./configure and make. But the following error occurred, and I could not figure it out. Plz help me. Code:

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-19 Thread Robert Osfield
Hi John, This does sounds like a CMake bug. I wonder if reverting to old version of CMake might help. Robert. On Wed, Mar 18, 2009 at 8:17 PM, john casu j...@chiraldynamics.com wrote: Robert, I put debugging messages in FindFreeType.cmake, and the behavior is as expected within that cmake

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-19 Thread Mattias Helsing
Hi John I'm catching up with the list and just saw this. I'm not a mac user but I recently made a submission in the Find3rdPartyDependencies.cmake and freetype area that is in the osg-2.8 branch (not 2.8.0). As I understand you have 2.8.0? If you want to try it out I've attached the file

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-19 Thread Eric Sokolowsky
I compiled svn with cmake 2.6.3 on OSX without difficulty, in a clean directory, using all of the default settings, so I cannot confirm the existence of this bug. -Eric On Mon, Mar 16, 2009 at 9:19 PM, john casu osgfo...@tevs.eu wrote: I'm trying to build the latest svn version of OSG 2.8.0

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-19 Thread E. Wing
I don't know what the specific build issue is as I believe the local FindFreeType.cmake module should be searched for first, but I thought I would share some history. Originally there was no FindFreeType.cmake module in CMake. I wrote the original one for OpenSceneGraph and then submitted it to

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-19 Thread john casu
fyi.. the command I used to grab the svn release was: svn checkout http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph I'm pretty certain it's the latest, as installing it creates a /usr/local/lib/osgPlugins-2.9.1 directory. -- Read this topic online

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-18 Thread Robert Osfield
Hi John, I'm afraid it's kinda difficult for me to help debug this remotely. Changing the new of our FindFreeType.cmake so it's more distinct i.e. something like FindOurFreeType.cmake might be sensible, or perhaps just removing our local one completely so you can then rely upon the one in Cmake.

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-18 Thread john casu
Robert, I put debugging messages in FindFreeType.cmake, and the behavior is as expected within that cmake file, i.e. FREETYPE_INCLUDE_DIRS gets set correctly. The issue, as far as I can tell, is why cmake on os/x either isn't exporting FREETYPE_INCLUDE_DIRS, or there's a typo somewhere outside

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-17 Thread Robert Osfield
Hi John, When I've built under OSX before I haven't had problems, but I haven't personally built and installed freetype so this may be factor. The freetype plugin uses: INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIRS} ) Which suggests the entry in the OpenSceneGraph/FindFreeType.cmake

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-17 Thread Robert Osfield
Hi John, Could you check cmakes' Modules directory to see what it's providing for FreeType, it could be that it doesn't provide the FREETYPE_INCLUDE_DIRS. Robert. On Tue, Mar 17, 2009 at 5:41 PM, john casu osgfo...@tevs.eu wrote: Robert, as you can see, from my original post, there's no

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-17 Thread john casu
The system cmake file for FreeType on OS/X is /Applications/CMake\ 2.6-3.app/Contents/share/cmake-2.6/Modules/FindFreetype.cmake and it does set the variables: # set the user variables IF(FREETYPE_INCLUDE_DIR_ft2build AND FREETYPE_INCLUDE_DIR_freetype2) SET(FREETYPE_INCLUDE_DIRS

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-17 Thread john casu
btw, I just noticed, the spelling of the two files is different, where you guys capitalize the middle T. The system file: FindFreetype.cmake OSG: FindFreeType.cmake would that be a problem ?? -- Read this topic online here:

Re: [osg-users] [build] osgdb_freetype build problem on Mac OS/X 10.5.6

2009-03-17 Thread john casu
the workaround of setting FREETYPE_FOUND to NO works, so CMake is definitely picking the local version of FindFreeType.cmake -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8645#8645 ___ osg-users