Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgconfig files needed for detection in some situations #8

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 6 comments
Open

Comments

@GoogleCodeExporter
Copy link

osgAudio does not create pkgconfig files to find osgAudio when using pkg-config 
under *nix based operating systems. This can cause serious issues when using 
things such as SCONS. This is a serious issue blocking use of osgAudio in the 
project I work with due to the inability to find it using scons.

Attached are some modifications and parts that I adapted from the base OSG to 
fix the issue of osgAudio not being findable under pkgconfig. This causes 
serious issues under situations such as trying to find dependencies under SCONS 
if the pkgconfig files don't exist. This should fix it.

Note that these are very heavily based off of the base OSG contents related to 
this aspect.

Original issue reported on code.google.com by th3fly...@gmail.com on 22 Nov 2010 at 3:36

Attachments:

@GoogleCodeExporter
Copy link
Author

Attaching a fixed version of the file, the first version had incorrect 
capitalization, which prevented Linux from seeing the libraries.

Original comment by th3fly...@gmail.com on 22 Nov 2010 at 3:55

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks for your patch. We will review it and see if it will fit well into the 
osgAudio CMake system.

As a general comment we have used osgAudio for the past 1 year and we used 
osgAL before that without pkgconfig files and SCons. SCons is pretty flexible 
and it is pretty straight forward to setup SCons to use osgAudio without pc 
files. Anyway, I would not let the lack of pc files get in the way of using 
osgAudio or any other library.

Original comment by mc...@iastate.edu on 22 Nov 2010 at 4:20

@GoogleCodeExporter
Copy link
Author

Alright, I wasn't aware of that not being an issue. I'm still fairly new to 
SCONS myself, so I'm not sure about some of this stuff.

Original comment by th3fly...@gmail.com on 22 Nov 2010 at 6:01

@GoogleCodeExporter
Copy link
Author

Attached a fixed version of the package config scripts. This will fix detection 
of OpenAL headers for OpenALPP during compiling of applications.

Original comment by th3fly...@gmail.com on 25 Nov 2010 at 12:15

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by SkewMat...@gmail.com on 25 Nov 2010 at 5:43

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This change conflicts with other changes on svn trunk. I'll need your help to 
resolve it.

I've committed your changes on a branch:
https://osgaudio.googlecode.com/svn/branches/pc

You simply need to merge this branch with svn trunk. The conflicts all occur in 
CMakeLists.txt, so if you can merge your changes into the trunk version of that 
file, then post it here or email it to me, then I can do the actual merge of 
the branch onto trunk using the (conflict resolved) CMakeLists.txt that you 
send me.

Original comment by SkewMat...@gmail.com on 28 Nov 2010 at 10:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant