Hi Gerrit,

I compile it as a lib of its own: WindowFOXLib
Do you have an idea where this error comes from? It is very similar to WindowGLUTLib
for example.

Thanks,
Christoph


Gerrit Voss wrote:
Hi,

one short question are you compiling this as part of the contrib lib
or as a lib on its own.

If the first could you try to replace OSG_COMPILEWINDOWFOXLIB in
OSGWindowFOXDef.h by OSG_COMPILECONTRIBLIB. As I currently do not
have access to a Windows machine I can not try it myself.

regards,
  gerrit


On Fri, 2004-01-23 at 22:14, Christoph Fuenfzig wrote:
  
Hi,

I am just trying to compile a FieldContainer with .NET2003 and always 
have this problem

OSGFOXWindowBase.cpp
g:\OpenSG\Source\WindowFOX\OSGFOXWindowBase.cpp(76) : error C2949: 
'osg::MField<
FieldTypeT>' : explicit instantiation; cannot use 'auto' and 'extern' on 
the sam
e template-class specialization
        with
        [
            FieldTypeT=osg::FOXWindowPtr
        ]

Strange enough this is issued on the second line (the first is ok)

OSG_DLLEXPORT_SFIELD_DEF1(FOXWindowPtr, OSG_WINDOWFOXLIB_DLLTMPLMAPPING);
OSG_DLLEXPORT_MFIELD_DEF1(FOXWindowPtr, OSG_WINDOWFOXLIB_DLLTMPLMAPPING);

Any hints appreciated,
Christoph





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
    



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
  

Reply via email to