A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Kai » Fri Sep 16, 2011 7:30 am
Hi,
First I want to thank Julio for his excellent work.
I use the CharacterController in my game but I want change it a bit.
The compilation of "JointLibrary.dll" don't work, but work for the static library "JointLibrary.lib".
Then I tried many things to link the static library to my project but without success.
So my question is : how can I use Newton as a static library ?
Thanks.
-
Kai
-
- Posts: 2
- Joined: Fri Sep 16, 2011 4:40 am
by Julio Jerez » Fri Sep 16, 2011 10:51 am
to compile the joint libraruy as a static library set set the preprocceros
#define JOINTLIBRARY_LIB, in VS or in your make file
you can also use:
#define _NEWTON_USE_LIB, and that will use both newton and teh joint library as static libraries
see header file ..\packages\dCustomJoints\JointLibrary.h
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest