Hello Jose,

jose humberto partida wrote:
> 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/.

hm, have you tried contacting the open5 mailing list? I don't think 
there is necessarily a problem with the prebuilt libraries, but perhaps 
with the project file to build the tutorial. The open5 folks might have 
project files to get started with their codebase that are configured 
correctly.

> I tried to compile the first example in the openSG tutorial.
> At first i have next error:

is this one of the tutorials that come with open5 or one that comes with 
OpenSG? Where does the project file to build it come from, i.e. did you 
set it up yourself or do you use one that comes with one of the packages?

> 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:

these defines are normally set on the compiler command line.

> 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.

open5 seems to be OpenSG 1.x based which unfortunately made building 
applications on windows a bit tricky by requiring a bunch of defines on 
the compiler command line. I don't have ready made project files to 
build OpenSG 1.x applications on windows, but maybe somebody else on 
this list does?

        Cheers,
                Carsten

------------------------------------------------------------------------------
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