Hi:

Thanks for advance

My problem is this: I have the pre-compiled files of openSG for visual
studio 2008. I download it from the open5 project:
http://open5.sourceforge.net/.

I tried to compile the first example in the openSG tutorial.

At first i have next error:


1>.\main.cpp(71) : error C2065: 'GLUTWindowPtr' : identificador no
declarado, identifiar unknow

1>.\main.cpp(71) : error C2146: error de sintaxis : falta ';' delante del
identificador 'gwin'

1>.\main.cpp(71) : error C2065: 'gwin' : identificador no declarado

1>.\main.cpp(71) : error C2653: 'GLUTWindow' : no es un nombre de clase o
espacio de nombres

1>.\main.cpp(71) : error C3861: 'create': no se encontr el identificador

1>.\main.cpp(73) : error C2065: 'gwin' : identificador no declarado

1>.\main.cpp(73) : error C2227: el operando izquierdo de '->setId' debe
sealar al tipo class/struct/union/generic

1> el tipo es ''unknown-type''

1>.\main.cpp(75) : error C2065: 'gwin' : identificador no declarado

1>.\main.cpp(75) : error C2227: el operando izquierdo de '->init' debe
sealar al tipo class/struct/union/generic

1> el tipo es ''unknown-type''

1>.\main.cpp(89) : error C2065: 'gwin' : identificador no declarado

Sorry i have my VS2008  in spanish.

The main error i found is that the OSG_WITH_GLUT in the OSGGLUTWindow.h
wasn´t declare or define.

I tried to fix it writing: #define OSG_WITH_GLUT in the  file. It seems that
it´s fixed, but when i compile again now i have the next linker errors:

Extern simbol= simbolo externo (sorry again for the language)

1>main.obj : error LNK2001: smbolo externo "public: static unsigned short
const osg::FieldContainerPtrBase::InvalidParentEPos"
(?invalidparente...@fieldcontainerptrbase@osg@@2GB) sin resolver

1>main.obj : error LNK2001: smbolo externo "class osg::NullFieldContainerPtr
const osg::NullFC" (?nul...@osg@@3vnullfieldcontainer...@1@B) sin resolver

1>main.obj : error LNK2001: smbolo externo "private: static class
osg::FieldContainerType osg::GLUTWindowBase::_type" (?_t...@glutwindowbase
@osg@@0vfieldcontainert...@2@A) sin resolver

I have no idea what´s wrong if someone could tell me if the correction i
made in the OSGGLUTWindow.h for the directive #define OSG_WITH_GLUT. is
alright or how i can fix this.

thanks for you time

PD: if someone has the pre-compiled files for VS2008 and can shared them
with me i really apreciatted that.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to