Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
H3D.org Feeds


Browsing this Thread:   1 Anonymous Users






VTHK linking error
#1
Not too shy to talk
Not too shy to talk


See User information
Hello,

I want to build VTHK 1.9 32bit (VS2012). I have H3DApi 2.3 installed. In my VTHK project I have following linker options:
Additional dependencies:
D:\H3D\lib32\H3DUtil_vc10.lib
D:\H3D\External\lib32\pthreadVC2.lib
D:\H3D\lib32\HAPI_vc10.lib
glu32.lib
opengl32.lib
D:\H3D\External\lib32\glew32.lib
D:\H3D\lib32\H3DAPI_vc10.lib
My PATH environment variable contains "D:\H3D\bin32" where all H3D dlls are

But I get a lot of linking errors like:
error LNK2001: unresolved external symbol "public: virtual void __thiscall H3D::MField::erase .... VectorElectroPotentialField.obj

error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall H3D::IndexedTriangleStripSet::IndexedTriangleStripSet .. StreamTubes.obj

What could be the problem?
Thanks


Posted on: 2014/12/6 12:58
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: VTHK linking error
#2
Webmaster
Webmaster


See User information
Are you listing the linker options for debug or release? If it is the former then you need to switch to release build.

Posted on: 2014/12/10 8:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: VTHK linking error
#3
Not too shy to talk
Not too shy to talk


See User information
I am using release option

Posted on: 2014/12/11 13:59
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: VTHK linking error
#4
Webmaster
Webmaster


See User information
Oh sorry, I did not read everything properly.

H3DAPI release is built with Visual studio 2010. If you do not build the lib-files yourself it probably won't link against something built with visual studio 2012.

So either build H3DAPI yourself (then you might have to build a couple of the external libraries as well since they are also built with visual studio 2010 ). Or switch to using Visual studio 2010.

Posted on: 2014/12/12 9:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top


Re: VTHK linking error
#5
Not too shy to talk
Not too shy to talk


See User information
Thanks a lot!

Posted on: 2015/2/3 18:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong Top







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]





(C) 2012 SenseGraphics AB    ---    Powered by XOOPS