Hi,

I have problems building osgdotnet wrappers.

To explain my problems a bit, i build osg with cmake and visual studio without 
osg_wrappers first and then built generator project for osgdotnet, 
after that i start it without debbuging and it starts to generate the files, 
but after osgterrain it just crashes.

then i thought to build osg with osg_wrappers, but now i can't build that, i 
get an error when building:

Shader.obj : error LNK2019: unresolved external symbol "public: __thiscall 
osg::Shader::PerContextShader::PerContextShader(class osg::Shader const 
*,unsigned int)" (??0percontextsha...@shader@osg@@q...@pbv12@i...@z) referenced 
in function "public: static class osgIntrospection::Value __cdecl 
osgIntrospection::ObjectInstanceCreator<class 
osg::Shader::PerContextShader>::create<class osg::Shader const *,unsigned 
int>(class osgIntrospection::Value &,class osgIntrospection::Value &)" 
(??$cre...@pbvshader@osg@@i...@?$objectinstancecreator@vpercontextsha...@shader@osg@@@osgIntrospection@@sa?avva...@1@aa...@0@Z)
3>Shader.obj : error LNK2019: unresolved external symbol "public: void 
__thiscall osg::Shader::PerContextShader::detachShader(unsigned int)const " 
(?detachsha...@percontextshader@sha...@osg@@qb...@z) referenced in function 
"public: __thiscall `anonymous namespace'::reflector224::reflector224(void)" 
(??0reflector...@?a0x30cc6a2e@@q...@xz)
3>Shader.obj : error LNK2019: unresolved external symbol "public: void 
__thiscall osg::Shader::PerContextShader::attachShader(unsigned int)const " 
(?attachsha...@percontextshader@sha...@osg@@qb...@z) referenced in function 
"public: __thiscall `anonymous namespace'::reflector224::reflector224(void)" 
(??0reflector...@?a0x30cc6a2e@@q...@xz)
3>Shader.obj : error LNK2019: unresolved external symbol "public: bool 
__thiscall osg::Shader::PerContextShader::getInfoLog(class 
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> 
> &)const " 
(?getinfo...@percontextshader@sha...@osg@@qbe_naav?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
 referenced in function "public: __thiscall `anonymous 
namespace'::reflector224::reflector224(void)" 
(??0reflector...@?a0x30cc6a2e@@q...@xz)
3>Shader.obj : error LNK2019: unresolved external symbol "public: void 
__thiscall osg::Shader::PerContextShader::compileShader(class osg::State &)" 
(?compilesha...@percontextshader@sha...@osg@@qaexaavst...@3@@Z) referenced in 
function "public: __thiscall `anonymous 
namespace'::reflector224::reflector224(void)" 
(??0reflector...@?a0x30cc6a2e@@q...@xz)
3>Shader.obj : error LNK2019: unresolved external symbol "public: void 
__thiscall osg::Shader::PerContextShader::requestCompile(void)" 
(?requestcomp...@percontextshader@sha...@osg@@QAEXXZ) referenced in function 
"public: __thiscall `anonymous namespace'::reflector224::reflector224(void)" 
(??0reflector...@?a0x30cc6a2e@@q...@xz)
3>C:\Libraries\OpenSceneGraph\bin\Release\..\..\bin\osgPlugins-2.9.8\osgwrapper_osg.dll
 : fatal error LNK1120: 6 unresolved externals

this is all under win32 release build, i have windows 7.

Thank you!

Cheers,
Vedran

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25524#25524





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to