I would like to use the autogenerated bullet.pc file with my application but it includes libraries that are not built. I am building 2.42b on mac with jam. Other than manually editing the bullet.pc.in file is there another solution to the problem? Is there a way to get the other libraries built? Thanks for the help.
Doug
bullet pkgconfig file generation
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Which libraries are not build exactly? Is there a compile/link error? Have you tried running ./autogen.sh and/or ./configure?
Bullet jam should build all demos on Mac OS X.
You can also use CMake to autogenerate Xcode projectfiles: download cmake from cmake.org and run "cmake . -G Xcode" in the Bullet root folder.
Thanks for the feedback,
Erwin
Bullet jam should build all demos on Mac OS X.
You can also use CMake to autogenerate Xcode projectfiles: download cmake from cmake.org and run "cmake . -G Xcode" in the Bullet root folder.
Thanks for the feedback,
Erwin
-
- Posts: 6
- Joined: Tue Jan 16, 2007 10:59 pm
In the pc file these libraries are specified:
but only these libraries are built:
When I go to link using the pc file the mac compiler complains because it cannot find all the libraries. I think the jam build and sample apps all work and build fine it is just that the bullet.pc.in file seems to be out of sync with the build system.
I want to make a Portfile for MacPorts for bullet. This minor issue is the only real issue to resolve before that is complete.
Code: Select all
Libs: -L${libdir} -lbulletccdphysics -lbulletphysicsinterfacecommon -lbulletdynamics -lbullet -lbulletmath
Code: Select all
Libs: -L${libdir} -lbulletcollision -lbulletdynamics -lbulletmath
I want to make a Portfile for MacPorts for bullet. This minor issue is the only real issue to resolve before that is complete.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
-
- Posts: 6
- Joined: Tue Jan 16, 2007 10:59 pm
-
- Posts: 6
- Joined: Tue Jan 16, 2007 10:59 pm
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
-
- Posts: 6
- Joined: Wed Dec 09, 2009 5:05 pm
Re: bullet pkgconfig file generation
It seems that bullet.pc.in is again out of sync.
It specifies: "Libs: -L${libdir} -lbulletdynamics -lbulletcollision -lbulletmath"
while it should be: "Libs: -L${libdir} -lBulletDynamics -lBulletCollision -lLinearMath"
and I guess that "-lBulletSoftBody -lBulletMultiThreaded" would also need to be added.
The CamelCasy names are problematic on Unix systems, while the conversion from bulletmath to LinearMath is even worse.
It specifies: "Libs: -L${libdir} -lbulletdynamics -lbulletcollision -lbulletmath"
while it should be: "Libs: -L${libdir} -lBulletDynamics -lBulletCollision -lLinearMath"
and I guess that "-lBulletSoftBody -lBulletMultiThreaded" would also need to be added.
The CamelCasy names are problematic on Unix systems, while the conversion from bulletmath to LinearMath is even worse.