Andreas Halm wrote:
>> Is there an  #include "OSGAtom.h" in OSGResidue.h?
> 
> I had only included "OSGAtomFields.h" which seemed to work. Including
> "OSGAtom.h" instead does not make a difference. Additionally,
> "OSGAtomFields.h" is also already included in "OSGResidueBase.h"
> automatically through the fcd.

yes, but OSGAtomFields.h is not enough in all cases (e.g. if the 
compiler needs to know that Atom is derived from FieldContainer).

Anyway, if including OSGAtom.h does not help, I'm wondering if there is 
perhaps some problem with the dllimport/dllexport decoration. Both your 
types live in MyLib, does the compiler get the OSG_COMPILEMYLIB define 
passed on the command line? Is the OSGMyLibDef.h file correctly setting 
up the dllimport/dllexport defines?

        Cheers,
                Carsten

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to