What does this error mean?

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 3:48 pm

confuration debugDLL link to Newton_d.dll
confuration releaseDLL link to Newton.dll

confuration debug link to Newton_d.lib
confuration release link to Newton.lib


I need to change the project name, but I do not have a better name
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 3:52 pm

So I must build newton in debugDLL(newotn.sln) and build.sln in debug. Right? :D
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 3:56 pm

debug lib apend _d to teh outlibraries, so debug link wit debug, and release link with release.
if you open the build, solution, you can build the set of all libraries for each configuartions.
also synk to SVN I just checked in the comprehensive continue collision.



now I am going to add the player respond to dynamics bopdies and kenemaytci bodies with not zero velocity.
This will allow for player you jump on platform or moving vehicles.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:08 pm

Doesnt work.
NewtonBuild settings:
Attachments
Newton.PNG
Newton build settings
Newton.PNG (25.49 KiB) Viewed 228165 times
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:08 pm

JointLibary and others:
Attachments
build.PNG
Build.sln build settings
build.PNG (29.9 KiB) Viewed 228165 times
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:11 pm

I used these libs:
\coreLibrary_300\projects\windows\project_vs2010\Win32\newton\debugDll: newton_d.dll and newton_d.lib
packages\projects\visualStudio_2010\Win32\dJointLibrary\debug: dJointLibary_d.lib
packages\projects\visualStudio_2010\Win32\dContainers\debug: dContainers_d.lib
packages\projects\visualStudio_2010\Win32\dMath\debug: dMath_d.lib
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 4:35 pm

how did you get that? this is what is chek in
when usin newtondll, you use joingdll
here:
project.png
project.png (65.18 KiB) Viewed 228157 times
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:36 pm

Oh you meant only in release as static libary? Sorry :)
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 4:41 pm

In debug as well, it should be teh same except the name is debug, and debugDll

JoinfDll is a static library that use newton.DLL, because you can not have a static lib linking of a static lib to anoteh static library, if that other library is use as dll in the same project.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:45 pm

So i try it out. Now i get just a dJointLibary.lib and no dll. When i compile with it i get 15 Linker errors. One of it:
Code: Select all
unresolved external symbol ""__declspec(dllimport) protected: virtual void __thiscall CustomControllerManager<class CustomPlayerController>::PreUpdate(float)" (__imp_?PreUpdate@?$CustomControllerManager@VCustomPlayerController@@@@MAEXM@Z)".

Somthing is there what i dont get :D

That are my release libs i use:
Attachments
Libs.png
Libs.png (12.18 KiB) Viewed 228155 times
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 4:50 pm

this is the debug config
project.png
project.png (69.99 KiB) Viewed 228154 times
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 4:54 pm

I do not kwno wher is getting thsi form, the calsses do no have any import export delclation
Code: Select all
unresolved external symbol ""__declspec(dllimport) protected: virtual void __thiscall CustomControllerManager<class CustomPlayerController>::PreUpdate(float)" (__imp_?PreUpdate@?$CustomControllerManager@VCustomPlayerController@@@@MAEXM@Z)".

if you are not making your project dependent on the jointlibrary, you need to adde to ad a external dependecy. just like you do wit dContatiner or dMath
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 4:58 pm

I have tried it in debug mode.

I link following libaries:
\coreLibrary_300\projects\windows\project_vs2010\Win32\newton\debugDll: newton_d.dll and newton_d.lib
packages\projects\visualStudio_2010\Win32\dJointLibrary\debug: dJointLibary_d.lib
packages\projects\visualStudio_2010\Win32\dContainers\debug: dContainers_d.lib
packages\projects\visualStudio_2010\Win32\dMath\debug: dMath_d.lib

My configuration is exact like yours.
I still get 2 Linker errors in debug mode and 15 linker errors in release mode.
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

Re: What does this error mean?

Postby Julio Jerez » Sun Nov 18, 2012 5:01 pm

the only think I can think of is that your are still using the wrong pthat to the library
..\packages\projects\visualStudio_2010\Win32\dJointLibrary\debug: dJointLibary_d.lib

it should be
..\packages\projects\visualStudio_2010\Win32\dJointLibrary\debugDll\dJointLibary_d.lib

I just make the sand box project dependent on those libraries and it link fine.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: What does this error mean?

Postby FSA » Sun Nov 18, 2012 5:03 pm

Sorry I meant debugDLL.
User avatar
FSA
 
Posts: 318
Joined: Wed Dec 21, 2011 9:47 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 46 guests