2010/3/3 Carsten Neumann <carsten_neum...@gmx.net>
> 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?
>
**Yes the first tutorial in the openSG page:
http://www.opensg.org/wiki/Tutorial/OpenSG1/FirstApplication
and yes, I set it up myself.
**also i want to add i tried to build the source code, and i found in the
[Opensg-users] mail archive :
http://www.mail-archive.com/opensg-users@lists.sourceforge.net/msg10385.html,
that someone was trying too. I mentioned it because the answer was to see
the http://opensg.vrsource.org/trac/wiki/BuildVSScons site, but when i try
to enter it´s seems that the web is no longer there. Does any one know where
else i can find that? .Even i try to build openSG with Scons using the guide
provide in the openSG web for VS2005, but i have problems with python:
D:\Documents and
Settings\Humberto\Desktop\opensg_dailybuild.070704.win-source\
OpenSG\SConsLocal\scons-local-0.96.1\SCons\Sig\MD5.py:41:
DeprecationWarning: th
e md5 module is deprecated; use hashlib instead
md5 = imp.load_module('md5', file, name, desc)
D:\Documents and
Settings\Humberto\Desktop\opensg_dailybuild.070704.win-source\
OpenSG\SConsLocal\scons-local-0.96.1\SCons\Platform\posix.py:37:
DeprecationWarn
ing: The popen2 module is deprecated. Use the subprocess module.
import popen2
File "D:\Documents and
Settings\Humberto\Desktop\opensg_dailybuild.070704.win
-source\OpenSG\SConsLocal\scons-local-0.96.1\SCons\Tool\gas.py", line 36
import as
^
SyntaxError: invalid syntax
I try build it with python 2.6
>
> > 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.
>
> well. actualy apreciatted more if someone has the OpenSG1.8 pre-compiled
files.
Thanks Carsten,
> 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
>
------------------------------------------------------------------------------
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