Hi,

On Mon, 2009-02-09 at 16:10 +0100, Christoph Schäfer wrote:
> Hi,
> 
> Gerrit Voss schrieb:
> > Hi,
> >
> > On Mon, 2009-02-09 at 15:42 +0100, Christoph Schäfer wrote:
> >   
> >> Hi,
> >>
> >> I'm still working  on this but currently I have an odd problem involving 
> >> template code generation.
> >>
> >> Right now I can compile the ported classes but somehow the compiler 
> >> doesn't seem to generate code for the SField template specialization. 
> >> The linker complains about a missing external symbol:
> >>
> >> "public: static class OSG::FieldType const & __cdecl OSG::SField<class 
> >> OSG::OSGQGLWidget *,0>::getClassType(void)" 
> >> (?getclasst...@?$sfield@pavosgqglwid...@osg@@$0A@@OSG@@saabvfieldt...@2@XZ)"
> >>  
> >> in Funktion ""protected: static void __cdecl 
> >> OSG::QTWindowBase::classDescInserter(class OSG::FieldContainerType &)" 
> >> (?classdescinser...@qtwindowbase@OSG@@kaxaavfieldcontainert...@2@@Z)".
> >>
> >
> >   
> I tried to stick with OSGWIN32WindowDataFields.* from th 2.0 but ended 
> up with the first mentioned linker error above. For me it looks like the 
> compiler simply doen't generate the code for the template specialization 
> and I have no idea how to solve this issue - that's why I tried to look 
> on 1.8 and how it was accomplished there. The external declarations 
> looked promising to me ;-)

looking at your patch you only have OSGQT4WindowDataFields.h but
not OSGQT4WindowDataFields.cpp. If the cpp is not just missing
from the patch that would at least be a good first guess as to
why symbols are missing.

kind regards,
  gerrit



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to