include/AL is one of the path suffixes in FindOpenAL.cmake, so I'm not sure why
CMake isn't finding the header. Do you have OPENALDIR or OPENAL_PATH set
incorrectly in your environment?
On a tangential note, CMake ships with a FindOpenAL.cmake, so I'm not sure we
need our own local copy. Ours does appear to contain some (osgAL-era) mods not
found in the CMake version, but IMO the CMake version should be fixed if it's
broken, and osgAudio should just use the stock CMake scripts when possible.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
Sorry, did I misunderstand you? I assumed you meant CMake couldn't find the
headers, but now I'm starting you think that CMake found the header OK, but the
compiler failed to find the header when building openalpp...? If the latter,
then this would have to be a CMake fix, I'd think.
I like the idea of switching out scripts.
Doug
Comparing osgAL's AudioBase header to osgAudio's AudioBase.h header shows they
both use "#include <al.h>", indicating osgAL has the same -I requirement as
osgAudio. This leads me to believe something is screwed up on your side.
-Paul
I am not really an expert in CPack or pkgconfig, but my understanding is that
CPack provides a superset of packaging support; it eliminates the need for a
pkgconfig file. For this reason, before we proceed with adding a pkgconfig file
to the osgAudio project, I think we should have a discussion on the best way to
provide this functionality. What would a pkgconfig file provide that could not
be provided by proper CPack support, for example?
Thanks,
-Paul
Doug
> --
> You received this message because you are subscribed to the Google Groups "osgAudio-users" group.
> To post to this group, send email to osgaudi...@googlegroups.com.
> To unsubscribe from this group, send email to osgaudio-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/osgaudio-users?hl=en.
>
Thanks for the info. With this in mind, I've attempted to integrate these
changes. However, they conflict with the recent CMake changes from issue 7,
which predate this issue 8.
I've checked in the pkgconfig changes on a branch:
http://osgaudio.googlecode.com/svn/branches/pc
and I've asked th3flyboy to send me a merged version of CMakeLists.txt, which
I'll then use to reintegrate that branch into trunk. Then I'll delete the branch.