Hi,

just for my understanding, you build your own dll against which
your link your application ?? I assumed you link the new 
stuff into the application and not into a separate dll which 
than is linked by the app.

regards
  gerrit

On Fri, 2004-08-20 at 18:42, Daniel Walz wrote:
> Hi again,
> 
> I'm still having trouble linking against the new library, the problem
> seems to come out of the generated code, but I don't get any more specific
> hints from the linker than the "unresolved symbol" messages I wrote below.
> Removing the *_DLLMAPPING makro only increases the error number...
> Is there anything else I can try? 
> Did anyone something similar under .NET, which worked? Or had someone
> these problems already?
> 
> I need and apprechiate any hint...  thanks
> Daniel
> 
> On Fri, Aug 13, 2004 at 11:48:22PM +0800, Gerrit Voss wrote:
> > 
> > Hi,
> > 
> > On Fri, 2004-08-13 at 22:24, Daniel Walz wrote:
> > > Hi gerrit,
> > > that was the missing info, thanks a lot. the whole thing compiles now 
> > > except for 
> > > two unresolved symbols (unfortunately coming from the generated code from 
> > > fcdEdit).
> > > 
> > > The symbol is:
> > > testAudio.obj : error LNK2001: Nichtaufgeloestes externes Symbol "private:
> > > static class osg::FieldContainerType osg::AudioBase::_type" ([EMAIL 
> > > PROTECTED]@osg@@[EMAIL PROTECTED]@A)
> > > and the same in AudioSourceBase (simply two containers)
> > > I'm wondering, why specially those two symbols do not work but all others 
> > > do.
> > > moving them to public didn't work (why should it, though)
> > 
> > these symbols are a little bit tricky as we have to make sure that there
> > is only one instance of each type object throughout the whole set off
> > dll's / so's. Thats why their instantiation is controlled. Unfortunately
> > I can not easily try things right now (I'm about to head home from
> > SIGGRAPH), one first guess would be to remove the 
> > OSG_XXXLIB_DLLTMPLMAPPING from the OSGAudioBase.cpp and
> > OSGAudioSourceBase.cpp files so that you get something like
> > 
> > OSG_DLLEXPORT_SFIELD_DEF1(AudioPtr, );
> > OSG_DLLEXPORT_MFIELD_DEF1(AudioPtr, );
> > 
> > OSG_DLLEXPORT_SFIELD_DEF1(AudioSourcePtr, );
> > OSG_DLLEXPORT_MFIELD_DEF1(AudioSourcePtr, );
> >                                                                             
> >     same for the OSG_DLLEXPORT_DECL1 stuff in OSGAudioFields.h and
> > OSGAudioSourceFields.h. They than should look like 
> > 
> > OSG_DLLEXPORT_DECL1(SField, AudioPtr, )
> > OSG_DLLEXPORT_DECL1(MField, AudioPtr, )
> > 
> > OSG_DLLEXPORT_DECL1(SField, AudioBasePtr, )
> > OSG_DLLEXPORT_DECL1(MField, AudioBasePtr, )
> > 
> > If this does not help, let me know, I'm back in an office on Monday so I
> > should be able to try it myself.
> > 
> > regards,
> >   gerrit
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > Opensg-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensg-users
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to