Hi Bernd, On Mon, 2004-03-01 at 07:19, Hentschel, Bernd wrote: > Hi all, > > I'm currently implementing a library that uses OpenSG and I got > some problems when building my lib or an example application using > it respectively. I'm using Visual Studio .NET 2003 and the nightly > built of OpenSG of February 27th. So here is the exact problem: When > I try to link my application I get a whole lot of unresolved > (OpenSG-related) symbols, though I included all the libs for linking. > I figured that this might have to do with some __declspec(dllimport) > stuff, so I fiddled a little with some preprocessor defines. As a result > I wasn't able to build my lib any more, the exact error message being: > c:\Programme\OpenSG-1.3-Pre\include\OpenSG\OSGBaseThread.h(430): error > C2492: 'osg::BaseWinThreadBase::_pThreadLocal' : 'thread' data may not > have dll interface > So my question is if anyone of you can help me resolve this issue, i.e. > give me some advice on the defines with which to build my lib and > application (...and also OpenSG iff necessary).
Did you base your solution on the ones for the tutorials that we use or did you build it from scratch? In general I'd strongly recommend starting with a tutorial solution, as that has all the necessary options already set. The error message sounds like there is some confusion with preprocessor symbols, but without the actual compile log it's hard to tell what's wrong. Yours Dirk ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users