Hello Sebastian,

Sebastian Knödel wrote:
> It successfully compiled the libs + dlls of OSGBase, OSGCluster, 
> OSGContribBackgroundLoader, OSGContribCSM, OSGContribGui, OSGDrawable, 
> OSGFileIO, OSGGroup, OSGImageFileIO, OSGState, OSGSystem, OSGText, 
> OSGUtil, OSGWindow, OSGWindowGlut, OSGWindowWIN32,
> 
> So it seems that all the libs are there but the compiler throws an error 
> when it continues to compile the tests (testBackgroundLoader.cpp) see 
> the snippet
> 
> --
> Using prefix:  E:\Opensg-2.0\build.win32.cl.8.0\instlinks
>    Processing combo:  type:optimized, arch:default
> OSGContribGUI OSGState OSGContribCSM OSGWindow OSGFileIO OSGText 
> OSGWindowWIN32
> OSGWindowGLUT OSGGroup OSGContribBackgroundLoader OSGUtil OSGCluster 
> OSGImageFileIO OSGBase OSGSystem OSGDrawable
> scons: done reading SConscript files.
> scons: Building targets ...
> link /nologo /nodefaultlib /RELEASE 
> /OUT:build.win32.cl.8.0\type-optimized--arch-default\test\testBackgroundLoader.exe
>  
> /LIBPATH:E:\OpenSG-1.8\supportlibs\lib 
> /LIBPATH:E:\boost\boost_1_35_0\lib 
> /LIBPATH:build.win32.cl.8.0\instlinks\lib 
> /LIBPATH:E:\GLUT\glut-3.7.6-bin\lib boost_filesystem-vc80-mt-1_35.lib 
> OSGContribBackgroundLoader.lib OSGBase.lib OSGSystem.lib OSGDrawable.lib 
> OSGUtil.lib OSGState.lib OSGWindow.lib OSGGroup.lib OSGWindow.lib 
> OSGText.lib OSGFileIO.lib OSGImageFileIO.lib OSGWindowGLUT.lib 
> opengl32.lib glu32.lib gdi32.lib user32.lib kernel32.lib winmm.lib 
> wsock32.lib oldnames.lib zlib.lib libjpeg.lib tif32.lib libpng.lib 
> glut32.lib MSVCPRT.lib MSVCRT.lib 
> build.win32.cl.8.0\type-optimized--arch-default\Source\Contrib\BackgroundLoader\testBackgroundLoader.obj
> testBackgroundLoader.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) class boost::system::error_category const & 
> __cdecl boost::system::get_system_category(void)" 
> ([EMAIL PROTECTED]@boost@@[EMAIL PROTECTED]@XZ) 
> referenced in function "public: __thiscall 
> boost::system::error_code::error_code(void)" 
> ([EMAIL PROTECTED]@boost@@[EMAIL PROTECTED])
> testBackgroundLoader.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) class boost::system::error_category const & 
> __cdecl boost::system::get_posix_category(void)" 
> ([EMAIL PROTECTED]@boost@@[EMAIL PROTECTED]@XZ) 
> referenced in function "void __cdecl boost::system::`dynamic initializer 
> for 'posix_category''(void)"([EMAIL PROTECTED]@boost@@YAXXZ)
> build.win32.cl.8.0\type-optimized--arch-default\test\testBackgroundLoader.exe 
> :
> fatal error LNK1120: 2 unresolved externals
> scons: *** 
> [build.win32.cl.8.0\type-optimized--arch-default\test\testBackgroundL
> oader.exe] Error 1120
> scons: building terminated because of errors.

hm, it seems boost added a new compiled library in 1.35 (boost::system) 
and boost::filesystem has a dependency on this lib. The buildsystem does 
not know about that dependency though and therefore does not include 
boost::system as a lib to link against.

Can you try modifying the SConstruct file around line 470:

required_libs_options["boost"] = sca_opts.Boost.Boost(
         "boost", "1.31.0", libs = ["filesystem"], required = True,
         useVersion = True, allowLibNameFallbacks=True, toolset = toolset);

such that the libs argument is libs = ["system", "filesystem"] and see 
if that helps ?

        Thanks,
                Carsten


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to