Hi,
I had added the following libraries as additional dependencies:
OpenThreadsWin32.lib
opengl32.lib
osgDB.lib
osgUtil.lib
osg.lib
osgGA.lib
but when I want to compile my own project I get the following errors:
main.obj : error LNK2001: unresolved external symbol
""__declspec(dllimport) public: virtual void __thiscall
osg::Referenced::setThreadSafeRefUnref(bool)"
([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED])".
main.obj : error LNK2001: unresolved external symbol
""__declspec(dllimport) public: __thiscall osg::Camera::Camera(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED])".
main.obj : error LNK2001: unresolved external symbol
""__declspec(dllimport) public: virtual void __thiscall
osg::Camera::accept(class osg::NodeVisitor &)"
([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@@Z)".
main.obj : error LNK2001: unresolved external symbol
""__declspec(dllimport) public: virtual int __thiscall
osgViewer::Viewer::run(void)" ([EMAIL PROTECTED]@osgViewer@@UAEHXZ)".
.....
and some more of them.
I think there is missing a lib or more, but I don't know wich.
In my project I include <osg/Camera> and create just a new camera with
osg::Camera *camera = new osg::Camera and so on...
Thank for your help!
Thibault Genessay schrieb:
Hi Marcus
The samples in the OpenSceneGraph solution do not contain additional
dependencies because they use the built-in dependency mechanism. If
you want to build your own project based on the OSG in a separate
solution, you have to add the libraries osg[d].lib, osgDB[d].lib, and
so on to the Additional Dependencies field.
If this does not solve your problem, please paste-in the error
messages as it is easier for us to tell what is going on based on your
compiler's complaints :)
Thibault
On 5/14/07, *Marcus Fritzen* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
I am trying to implement a shadowmapping algorithem in osg. I know how
it works with openGL. Now I want to try the new osg develop
release, but
I don't know how to use it with Visual Studio 2005, because there
are no
libraries which I can additional include and so I get when compiling
linker errors for example when I want to use the new osg::camera.
Perhaps anybody can help me.
Marcus
--
----------------------------------------------------------------
Marcus Fritzen E-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
University Koblenz Mobil: +491786867360
Triererstr. 105, 56072 Koblenz,
HIWI FB4 Herr Jackel
----------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected] <mailto:[email protected]>
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
----------------------------------------------------------------
Marcus Fritzen E-mail: [EMAIL PROTECTED]
University Koblenz Mobil: +491786867360
Triererstr. 105, 56072 Koblenz,
HIWI FB4 Herr Jackel
----------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/