favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

-DBT_USE_DOUBLE_PRECISION is missing in bullet.pc #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile bullet in double precision
2. Create a test program
3. compile it using cmd line : g++ `pkg-config --cflags bullet` 
bullet_server.cpp -o bullet_server -lenet `pkg-config --libs bullet`

What is the expected output? What do you see instead?
expected : a valid bin
got : undefined reference to `btStaticPlaneShape::btStaticPlaneShape(btVector3 
const&, float)' 

What version of the product are you using? On what operating system?
 - bullet svn on linux

Attached is a patch to add the -DBT_USE_DOUBLE_PRECISION flag in bullet.pc when 
building using cmake

Original issue reported on code.google.com by sig...@gmail.com on 7 Jan 2011 at 9:55

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in latest trunk. 
http://code.google.com/p/bullet/source/detail?r=2257

Thanks for the report!
Erwin

Original comment by erwin.coumans on 7 Jan 2011 at 5:52