>2) I got errors coming from include of missing files : osg/Config and
>OpenThreads/Config. I'm not pretty familiar with these but while looking at
>their content inside my OpenSceneGraph 2.6.1 distribution it seems that they
>are normally generated by CMake.
Since 2.7.something I guess, there are some platform specific includes
(osg/Config OpenThreads/Config) that you have to include to compile OSG
applications.
You have to set OSG_GEN_INCLUDE_DIR to Mypath/OpenScenegraph-build/include
By setting env variable OSGDIR to osg source directory and OSG_DIR to osg build
directory, CMake scripts should find everything.
Luc
Luc FRAUCIEL - BRGM
Unité Calcul, 3D et réalité virtuelle
Service Systèmes et Technologies de l'Information
3, av C. Guillemin BP 36009 - 45060 Orléans Cedex 2, France
Tél. 02 38 64 35 65
Fax 02 38 64 39 70
________________________________
De : [email protected]
[mailto:[email protected]] De la part de
Christophe.medard
Envoyé : mercredi 18 février 2009 19:10
À : [email protected]
Objet : [osg-users] OSG 2.8.0 compilation
Hi All,
While planning to test my end-user application with OpenSceneGraph
2.8.0, after having compiled the latter from the source download I have the
following issues during compilation/linking I didn't have with 2.6.1 :
1) The linking beats the record of warning numbers (approximately 4000
warnings), all being the same :
warning C4251 : [osgClass]::[_osgmember] : class 'osg::ref_ptr<T>'
needs to have dll-interface to be used by clients of [osgClass]
2) I got errors coming from include of missing files : osg/Config and
OpenThreads/Config. I'm not pretty familiar with these but while looking at
their content inside my OpenSceneGraph 2.6.1 distribution it seems that they
are normally generated by CMake.
Does anyone else have these problems ??
I'm building on WindowsXP using Visual Studio 2005.
Best,
Christophe.
**********************************************************************************************
Pensez a l'environnement avant d'imprimer ce message
Think Environment before printing
Le contenu de ce mel et de ses pieces jointes est destine a l'usage exclusif du
(des) destinataire(s) designe
(s) comme tel(s).
En cas de reception par erreur, le signaler e son expediteur et ne pas en
divulguer le contenu.
L'absence de virus a ete verifiee e l'emission, il convient neanmoins de
s'assurer de l'absence de
contamination a sa reception.
The contents of this email and any attachments are confidential. They are
intended for the named recipient
(s) only.
If you have received this email in error please notify the system manager or
the sender immediately and do
not disclose the contents to anyone or make copies.
eSafe scanned this email for viruses, vandals and malicious content.
**********************************************************************************************_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org