Hi, On Wed, 2009-03-18 at 13:08 +0100, Thomas Schiffer wrote: > hi, > > i updated my working copy to r1826 and executed cmake. afterwards i > tried to build OpenSG using MSVC2005 but i got linker problems > > 1>------ Build started: Project: OSGSystem, Configuration: Debug Win32 ------ > 1>Linking... > 1> Creating library > D:\tomschi\swdevel\OpenSG\opensg\build_msvc2005\bin\Debug\OSGSystem.lib and > object > D:\tomschi\swdevel\OpenSG\opensg\build_msvc2005\bin\Debug\OSGSystem.exp > 1>OSGShaderVariableVec3f.obj : error LNK2001: unresolved external > symbol "public: virtual class OSG::FieldContainer * __thiscall > OSG::FieldContainer::findNamedComponent(char const *)" > (?findnamedcompon...@fieldcontainer@OSG@@uaepa...@pbd@Z) > ... > 1>D:\tomschi\swdevel\OpenSG\opensg\build_msvc2005\bin\Debug\OSGSystem.dll : > fatal error LNK1120: 1 unresolved externals > > findNamedComponent is also missing for other libs (e.g. OSGGroup) > > i added OSGFieldContainer.cpp where findNamedComponent is defined to > OSGSystem, but then i get multiple definitions. > > has anyone an idea how to solve the problem?
add OSG_BASE_DLLMAPPING in front of the function declaration. kind regards, gerrit ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
