Newton DLL compile error

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Newton DLL compile error

Postby pHySiQuE » Mon Dec 05, 2016 8:01 pm

I'm going to try switching my engine over to use the Newton DLL so it can be debugged.

I am using the VS project found in Packages/Projects/

When I compile the 2015 project (in VS 2017 RC) I am getting these errors:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol __imp__NewtonUserJointAddLinearRow dJointLibrary C:\Leadwerks\Engine\Source\Libraries\NewtonDynamics\packages\projects\visualStudio_2015\CustomKinematicController.obj 1

Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol __imp__NewtonUserJointSetRowMinimumFriction dJointLibrary C:\Leadwerks\Engine\Source\Libraries\NewtonDynamics\packages\projects\visualStudio_2015\CustomBallAndSocket.obj 1

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol __imp__NewtonUserJointSetRowMaximumFriction referenced in function "public: virtual void * __thiscall CustomUniversalActuator::`vector deleting destructor'(unsigned int)" (??_ECustomUniversalActuator@@UAEPAXI@Z) dJointLibrary C:\Leadwerks\Engine\Source\Libraries\NewtonDynamics\packages\projects\visualStudio_2015\CustomUniversalActuator.obj 1

Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol __imp__NewtonUserJointSetRowMaximumFriction dJointLibrary C:\Leadwerks\Engine\Source\Libraries\NewtonDynamics\packages\projects\visualStudio_2015\CustomBallAndSocket.obj 1
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm

Re: Newton DLL compile error

Postby Julio Jerez » Mon Dec 05, 2016 9:21 pm

you just open project
../newton-dynamics\packages\projects\visualStudio_2015_dll\build.sln

with visual studio 2015 and should build without errors.
the make sure in you project you do not use any of he define that link to static libraries.
_NEWTON_STATIC_LIB
_CUSTOM_JOINTS_STATIC_LIB
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton DLL compile error

Postby Julio Jerez » Tue Dec 06, 2016 12:56 am

if removed the multi configurations projects for VS2013 and VS 2015.
This should make easier to select the appropriate build for you project.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Newton DLL compile error

Postby pHySiQuE » Tue Dec 06, 2016 1:19 am

Got it. :lol:
pHySiQuE
 
Posts: 608
Joined: Fri Sep 02, 2011 9:54 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 20 guests

cron