Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by MeltingPlastic » Tue Dec 11, 2018 11:54 am
I Get the following linker error only in debug build using visual studio 2017 x64:
- Code: Select all
Severity Code Description Project File Line Suppression State
Error LNK2005 "public: void __cdecl dGearBoxJoint::SetGearRatio(float)" (?SetGearRatio@dGearBoxJoint@@QEAAXM@Z) already defined in dCustomJoints.lib(dCustomVehicleControllerManager.obj) Urho3D C:\Users\casht\Repos\greatgame\build\Urho3D\Source\Urho3D\dVehicle.lib(dVehicleVirtualJoints.obj) 1
Seems like there are 2 dGearBoxJoint classes in two different libs.
-
MeltingPlastic
-
- Posts: 237
- Joined: Fri Feb 07, 2014 11:30 pm
by Julio Jerez » Tue Dec 11, 2018 12:03 pm
I thought I have that fixed, is this the cmake build?
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by MeltingPlastic » Tue Dec 11, 2018 12:21 pm
Yeah its using cmake. granted there are a few changes to the cmake script that I have been maintaining for my project. But they are minimal and I was able to merge from latest without any problems.
what commit was the fix to this?
-
MeltingPlastic
-
- Posts: 237
- Joined: Fri Feb 07, 2014 11:30 pm
by Julio Jerez » Tue Dec 11, 2018 12:35 pm
I do not remember what commit, it was but I did see that error and I believe it was fix.
Anyway I will run the camake and see why is that, probably a define missing.
I stop on the vehicle a moment because I realiced the vehicle was re implemting functionality that was already part of the full inverse dynamic library, and that was giving me dejaboo, so I decided to re enable the animation library and move the core functionality from the vehicle to that library, and make the vehicle an application of the animation library.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Tue Dec 11, 2018 3:09 pm
I just try the cmake, and I di no get any errors.
is there some special option that you are selecting?
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 10 guests