On 11/14/05, Geoff Air [EMAIL PROTECTED] wrote:
Hi WIN32 developers,
I too have had BIG PROBLEMS with compiling OpenAL
CVS with MSVC7.1 - maybe this will eventually be cleared
up by the OpenAL developer group ... maybe NOT ;=((
Part of the problem, is that for no particular good
reason that I see, in WIN32 they, the OpenAL group,
decided to implement these as DLLs, rather than
Static libraries, as they are in other environments ...
Meantime, to get FlightGear LINKED, I downloaded, and
installed the OpenAL (WIN32) SDK 1.1 binaries, and used
those for the SimGear/FlightGear COMPILE and LINK ...
This presented a small problem, in that, in this SDK,
which will install in C:\Program Files\OpenAL 1.1 SDK\
by default, the 3 headers needed, al.h, alc.h, alut.h
have been placed in an 'include' directory, whereas
SimGear expects them to be in an 'AL' directory ...
it uses #include AL/al.h and AL/alut.h ...
Ok, so I created an AL directory, in the SDK folder,
and copied them into there ... simple ...
That nearly works ... unfortunately alut.h also
includes al.h by just using #include al.h
You could probably modify this to al.h, then MSVC
would do a 'local' search ... al.h only searches
'include' directories ...
This meant I had to provide BOTH 'additional include'
folders, namely 'C:\Program Files\OpenAL 1.1 SDK' and
'C:\Program Files\OpenAL 1.1 SDK\AL' to the SimGear
compile ... but, Bob's your uncle ... I got a CLEAN
LINK of SG and FG ...
A little more can be read about this on my page -
http://geoffmclane.com/fg/fgfs-018.htm
Down at the bottom, under 'Some other details:'
I have given the additional dependencies, and
directories of FG AND SG that I used ...
Regards,
Geoff.
_
View 1000s of pictures, profiles and more now at Lavalife
http://lavalife.com.au
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
Hi Geoff,
Thank you very much for your guide. I followed it and finally...
...finally... Flightgear 0.9.9 compiled for me. Thank you very much
for your guide...
And thank you very much to the entire flightgear team for such a great
simulator. It looks GREAT!! Thank you very much!!
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d