yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

Had to disable HACD in order to build successfully #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go through steps to build Bulletsharp (r555) for 2012
2. Build the Generic Release version.

What is the expected output? What do you see instead?

A LNK1104 error comes up saying it can't find the HACD library. I had to 
disable both the HACD and the Serialize options in order to build successfully. 
I really need the convex decomposition.

What version of the product are you using? On what operating system?

r555, Windows 7, VS2012

Original issue reported on code.google.com by daniel.h...@meshconsultants.ca on 11 Nov 2013 at 3:17

GoogleCodeExporter commented 8 years ago
Did Bullet compile successfully? Does HACD_MinsizeRel.lib exist in 
bullet\msvc\2012\lib\MinSizeRel? Is USE_MSVC_RUNTIME_LIBRARY_DLL checked in 
CMake?

Original comment by andres.traks on 12 Nov 2013 at 3:28

GoogleCodeExporter commented 8 years ago
No, the HACD_MinsizeRel.lib is not there (probably why the linker can't find 
it...!). I thought that bullet would build this automatically.

Yes, USE_MSVC_RUNTIME_LIBRARY_DLL is checked, and yes Bullet and BulletSharp 
compiled successfully. I'm getting some strange errors with this BulletSharp 
build for the x64 Multithreaded components, but that's another issue.

Original comment by daniel.h...@meshconsultants.ca on 13 Nov 2013 at 2:17

GoogleCodeExporter commented 8 years ago
Sorry, recent months have been busy...
Are you sure all of the Bullet components compiled (including HACD)?
In some configurations (with VS2012) I've had to add "#include <algorithm>" to 
the top of bullet\Extras\HACD\hacdICHull.cpp to fix errors about missing 
std::max or something like that.

Original comment by andres.traks on 22 Nov 2013 at 11:58

GoogleCodeExporter commented 8 years ago
So, it turns out that checking out the latest bullet revision (and rebuilding 
everything from scratch) fixes this problem.

Original comment by daniel.h...@meshconsultants.ca on 23 Nov 2013 at 7:57

GoogleCodeExporter commented 8 years ago
Ok, cool!

I haven't tested the x64 builds much, but you can make another issue if you 
find any bugs.

Original comment by andres.traks on 23 Nov 2013 at 11:36