Hi all,

I am planning to use FlightGear for an academic research project. Hence, 
I need to compile the source code of FlightGear.

I was able to compile and install the following successfully:
plib (plib-1.8.4)
freeglut (freeglut-2.2.0)
openal (openal-0.0.8)

However, I am running into problems compiling freealut-1.1.0. I got the 
source package from the website http://www.openal.org/downloads.html
After running the configuration utility, I get the following error when 
I start the compilation using 'make' (I am aware that it requires openal 
which is installed in the right place: /usr/local/lib)
----------
In file included from alutBufferData.c:1:
alutInternal.h:46:21: AL/alut.h: No such file or directory
In file included from alutBufferData.c:1:
alutInternal.h:64: syntax error before '*' token
alutInternal.h:64: syntax error before '*' token
alutInternal.h:65: warning: type defaults to `int' in declaration of `Codec'
alutInternal.h:65: ISO C forbids data definition with no type or storage 
class
alutInternal.h:66: syntax error before "_alutCodecLinear"
...
alutBufferData.c: In function `_alutGetFormat':
alutBufferData.c:87: `bufferData' undeclared (first use in this function)
alutBufferData.c:87: `format' undeclared (first use in this function)
alutBufferData.c:89: `ALUT_ERROR_UNSUPPORTED_FILE_SUBTYPE' undeclared 
(first use in this function)
...
-----------

I am unable to pinpoint the source of the error after much trying. For 
example, the folder AL with the header file al.h is installed in the 
right place /usr/local/include/AL.

It seems like what should be a routine compilation is unnecessary giving 
errors.

Any help on this matter would be greatly appreciated. I am really 
looking forward to using FlightGear in my research project.

Thanks
Prashant

-- 
-------------------------------
Prashant Doshi
Assistant Professor,
Dept. of Computer Science
University of Georgia
http://www.cs.uga.edu/~pdoshi
-------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to