yyyy3531614 / bullet

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

mac os x pkgconfig do not specify framework #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The default compiled installation for mac os x have a bullet.pc
[lib/pkgconfig/bullet.pc] file that indicate -LOgreMain instead of the
framework which is in the package.

Original issue reported on code.google.com by basile.p...@gmail.com on 25 Apr 2010 at 6:57

GoogleCodeExporter commented 9 years ago
The bullet.pc should probably just be skipped when building as framework.  If 
we set -DCMAKE_INSTALL_PREFIX=/Library/Frameworks 
-DCMAKE_INSTALL_NAME_DIR=/Library/Frameworks to be able to install the 
frameworks with 'make install', it will produce 
/Library/Frameworks/lib/pkgconfig, which AFAIK pkgconfig won't be aware of 
anyway.

Original comment by ejtt...@gmail.com on 1 Jul 2010 at 1:29

GoogleCodeExporter commented 9 years ago

I'm unfamiliar with both Frameworks and bullet.pc
(Bullet is originally intended to be linked statically)

Can one of you suggest a patch for this Framework/bullet.pc issue?
Thanks a lot,
Erwin

Original comment by erwin.coumans on 3 Jul 2010 at 10:42

GoogleCodeExporter commented 9 years ago
Is this still an issue? I have no idea to fix it, or any contributions in this 
area.

There is a bullet.pc.cmake and bullet.pc.in, is there something special needed 
to support Mac OSX frameworks?

If someone has a fix, please re-open this issue.

Original comment by erwin.coumans on 15 Sep 2011 at 6:42

GoogleCodeExporter commented 9 years ago
Yeah, it's still dumping a lib/pkgconfig/bullet.pc in the Frameworks directory, 
this looks like an easy fix just to skip it.  (ideally the pkgconfig file could 
be set up to specify -framework instead of -l etc., and then figure out how to 
handle the install directory specifications to get it into /usr/local/lib, but 
I'm not feeling that dedicated...)

Original comment by ejtt...@gmail.com on 18 Sep 2011 at 1:35

Attachments:

GoogleCodeExporter commented 9 years ago
FYI, as non-admins, I don't think we have the ability to change the bug status 
to 're-open'... or did you mean just refile as a new bug?

Original comment by ejtt...@gmail.com on 18 Sep 2011 at 1:36