Pablo Carneiro Elias wrote:
> 
> Ok, thanks Carsten,
> 
> using the var_arch option yielded me better results... I compilation was 
> almost successful.. It has built all or
> almost all libraries.. but it is now crashing on another linkage problem 
> while trying to build a test executable.. which I thing is one of the 
> last steps of the compilation (libraries had already been created):
> 
> 
> scons: Building targets ...
> link /nologo /nodefaultlib /DEBUG 
> /OUT:build.win32.cl.8.0\type-debug--arch-ia32\test\testBackgroundLoader.exe 
> "/LIBPATH:C:\Program Files\boost\boost_1_34_0\lib"
>  /LIBPATH:build.win32.cl.8.0\instlinks\lib 
> boost_filesystem-vc80-mt-1_34.lib OSGContribBackgroundLoader_d.lib 
> OSGBase_d.lib OSGSystem_d.lib OSGDrawable_d.lib OSGUtil_d.lib 
> OSGState_d.lib OSGWindow_d.lib OSGGroup_d.lib OSGWindow_d.lib 
> OSGRenderTraversal_d.lib OSGText_d.lib OSGFileIO_d.lib 
> OSGImageFileIO_d.lib OSGWindowGLUT_d.lib opengl32.lib glu32.lib 
> gdi32.lib user32.lib kernel32.lib winmm.lib wsock32.lib oldnames.lib 
> glut32.lib MSVCPRTD.lib MSVCRTD.lib 
> build.win32.cl.8.0\type-debug--arch-ia32\Source\Contrib\BackgroundLoader\testBackgroundLoader.obj
>  
> testBackgroundLoader.obj : error LNK2001: unresolved external symbol 
> "unsigned int boost::filesystem::detail::not_found_error" 
> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@3IA)
> build.win32.cl.8.0\type-debug--arch-ia32\test\testBackgroundLoader.exe : 
> fatal error LNK1120: 1 unresolved externals scons: *** 
> [build.win32.cl.8.0\type-debug--arch-ia32\test\testBackgroundLoader.exe] 
> Error 1120
> scons: building terminated because of errors.
> 
> I understand that is a linking problem and that scons was unable to find 
> the symbol "unsigned i
> nt boost::filesystem::detail::not_found_error" which is a boos symbol of 
> the boost filesystem library. I have boost installed perfectly.. so 
> thats is a bit strange.. The boost library is being added to the linkage 
> command by scons: ... boost_filesystem-vc80-mt-1_34.lib... but the 
> symbol could not be found.
> 
> I'm almost there... any help is very welcome!

It looks as if OpenSG/SCons is linking to the wrong lib, as it is using 
the release version of boost-filesystem.dll rather than debug. (The 
debug one has 'gd' in the filename in addition to everything else.)

Fixing that would require patching the scons files.

Cheers,
/Marcus


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to