Thanks for the feed back. I tried the new CMakeList.txt file provided without much luck. I changed it back and then double checked that I was using the release version (the version without the d's at the end) and that is correct. I have the precompiled version for win x64 and my environment variable OSG_ROOT points to c:\osg
My bin lib and include files are c:\osg\bin, c:\osg\lib, and c:\osg\include respectively. Now I am getting a new error however. Code: 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osgDB::Options const *)" (__imp_?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBVOptions@1@@Z) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class osgDB::Options * __thiscall osgDB::Registry::getOptions(void)" (__imp_?getOptions@Registry@osgDB@@QAEPAVOptions@2@XZ) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class osgDB::Registry * __cdecl osgDB::Registry::instance(bool)" (__imp_?instance@Registry@osgDB@@SAPAV12@_N@Z) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ) referenced in function "public: __thiscall osg::ref_ptr<class osg::Node>::ref_ptr<class osg::Node>(class osg::Node *)" (??0?$ref_ptr@VNode@osg@@@osg@@QAE@PAVNode@1@@Z) 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall osg::Referenced::unref(void)const " (__imp_?unref@Referenced@osg@@QBEHXZ) referenced in function "public: __thiscall osg::ref_ptr<class osg::Node>::~ref_ptr<class osg::Node>(void)" (??1?$ref_ptr@VNode@osg@@@osg@@QAE@XZ) 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall osgViewer::Viewer::`vbase destructor'(void)" (__imp_??_DViewer@osgViewer@@QAEXXZ) referenced in function __unwindfunclet$_main$0 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall osg::Object::~Object(void)" (__imp_??1Object@osg@@MAE@XZ) referenced in function _main 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall osgViewer::Viewer::~Viewer(void)" (__imp_??1Viewer@osgViewer@@UAE@XZ) referenced in function _main 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual int __thiscall osgViewer::Viewer::run(void)" (__imp_?run@Viewer@osgViewer@@UAEHXZ) referenced in function _main 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall osgViewer::Viewer::setSceneData(class osg::Node *)" (__imp_?setSceneData@Viewer@osgViewer@@UAEXPAVNode@osg@@@Z) referenced in function _main 2>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgViewer::Viewer::Viewer(void)" (__imp_??0Viewer@osgViewer@@QAE@XZ) referenced in function _main Do I need a special envrionment variable for the dll's? I've tried to put them into the Working Directory under Debugging in the properties but that doesn't help. Cheers, Seth[/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50902#50902 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org