Carsten Neumann
Wed, 21 May 2008 07:57:45 -0700
Hello Black, Black wrote: > I'm trying get OpenSG 2.0 to compile under Leopard, and I'm hitting > some walls - hopefully someone out there has some advice. [I found a > guide for doing this at > http://opensg.vrsource.org/trac/wiki/BuildOSG2OnMacOSX > , but it hasn't solved my problem] > > Unlike the guide listed above, I have boost installed in /usr/local. > I'm running the command > python Tools/scons-local/scons.py jpeg=/opt/local png=/opt/local tiff=/ > opt/local BoostBaseDir=/usr/local var_type=optimized var_arch=ia32 > darwin_universal=False > > The problem comes when scons looks for the filesystem module of boost. > This is the output I get: > > Loading initial settings for boost > BoostBaseDir specified or cached. [/usr/local]. > Boost, autofinding toolset... toolset: [darwin] > Searching for correct boost include dir... found: /usr/local/ > include/boost-1_35 > boost include path: /usr/local/include/boost-1_35 > boost version: 1.35.0 > Checking for C++ library boost_filesystem-1_35... no > Checking for C++ library boost_filesystem-1_35... no > Checking for C++ library boost_filesystem-1_35... no > Checking for C++ library boost_filesystem... no > Unable to find library: filesystem tried: ['boost_filesystem-1_35', > 'boost_filesystem-1_35', 'boost_filesystem-1_35', 'boost_filesystem'] > Option error: Check required failed: Unable to find library: > filesystem tried: ['boost_filesystem-1_35', 'boost_filesystem-1_35', > 'boost_filesystem-1_35', 'boost_filesystem'] > > I don't know scons at all, so I'm not sure exactly what it is looking > for our how to help it find it. In /usr/local/lib, I have a > libboost_filesystem-mt-1_35.dylib, which I also symlinked to a > libboost_filesystem.dylib in hopes that it was just getting confused > by the name. basically the problem is that the boost libraries don't have a unique name across platforms (or even linux distros :-/). So normally the scons-addons package that we use for the build attempts a couple of popular names, but it seems that on your machine it tries just one, repeatedly... (?) Anyway, from the output my guess would be that a symlink libboost_filesystem-1_35.dylib to libboost_filesystem-mt-1_35.dylib might satisfy the search (note the version number in the symlink name). > Any thoughts would be welcome (oh, and this is a svn > checkout from last night). Hope it helps, Carsten ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users