Re: [osg-users] [osgAL] Link error in release

2008-12-17 Thread Sukender
Hi Anna,

It was so obvious that I didn't see it! Yes, adding the lib into the project 
fixed it. I was so sure that could not be so simple that I didn't even checked 
it.
Thank you very much.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

Le Wed, 17 Dec 2008 00:28:42 +0100, Anna Sokol annaso...@gmail.com a écrit:

 Hi Sukender,

 unresolved external symbol unsigned int __thiscall
 OpenThreads::Atomic::operator++()
 referenced in function osg::ref_ptrosgDB::DotOsgWrapper  
 osg::ref_ptrclass
 osgDB::DotOsgWrapper::operator=(osgDB::DotOsgWrapper *)

 The above error occurs because OpenThreads is not included in the
 library dependencies for osgAL.
 This didn't cause any errors with osg2.4 but did cause compile errors
 with osg2.6. and osg2.6.1 .
 By including OpenThreads library dependency the compile errors went
 away with osg2.6 and osg2.6.1 .
 I haven't tried to compile with osg2.7.x or the osg SVN. There might
 be additional incompatibilities there.
 I used Microsoft Visual Studio 2005 to compile.
 Hope this helps.

  - Anna
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgAL] Link error in release

2008-12-16 Thread Sukender
Hi all,

I got a very strange link error in debug but not in release:

unresolved external symbol unsigned int __thiscall 
OpenThreads::Atomic::operator++()
referenced in function osg::ref_ptrosgDB::DotOsgWrapper  osg::ref_ptrclass 
osgDB::DotOsgWrapper::operator=(osgDB::DotOsgWrapper *)

The only thing which is DotOsgWrapper related is:

RegisterDotOsgWrapperProxy OccludeCallbackProxy
(
 new osgAL::OccludeCallback,
 osgAL::OccludeCallback,
 Object osgAL::OccludeCallback,
 OccludeCallback_readLocalData,
 OccludeCallback_writeLocalData
 );

Is there something missing in osgAL::OccludeCallback? Any idea?
Thanks.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgAL] Link error in release

2008-12-16 Thread Anna Sokol
Hi Sukender,

 unresolved external symbol unsigned int __thiscall
 OpenThreads::Atomic::operator++()
 referenced in function osg::ref_ptrosgDB::DotOsgWrapper  
 osg::ref_ptrclass
 osgDB::DotOsgWrapper::operator=(osgDB::DotOsgWrapper *)

The above error occurs because OpenThreads is not included in the
library dependencies for osgAL.
This didn't cause any errors with osg2.4 but did cause compile errors
with osg2.6. and osg2.6.1 .
By including OpenThreads library dependency the compile errors went
away with osg2.6 and osg2.6.1 .
I haven't tried to compile with osg2.7.x or the osg SVN. There might
be additional incompatibilities there.
I used Microsoft Visual Studio 2005 to compile.
Hope this helps.

 - Anna
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [osgAL] Link error in release

2008-12-16 Thread Maciej Krol
Hi,

Latest trunk of osgAL compiles cleanly with OSG 2.7.7.

Regards,
Maciej

2008/12/17 Anna Sokol annaso...@gmail.com

 Hi Sukender,

  unresolved external symbol unsigned int __thiscall
  OpenThreads::Atomic::operator++()
  referenced in function osg::ref_ptrosgDB::DotOsgWrapper 
 osg::ref_ptrclass
  osgDB::DotOsgWrapper::operator=(osgDB::DotOsgWrapper *)

 The above error occurs because OpenThreads is not included in the
 library dependencies for osgAL.
 This didn't cause any errors with osg2.4 but did cause compile errors
 with osg2.6. and osg2.6.1 .
 By including OpenThreads library dependency the compile errors went
 away with osg2.6 and osg2.6.1 .
 I haven't tried to compile with osg2.7.x or the osg SVN. There might
 be additional incompatibilities there.
 I used Microsoft Visual Studio 2005 to compile.
 Hope this helps.

  - Anna
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org