[Flightgear-devel] compiling Simgear...
I get an error now compiling Simgear . I cant cut and paste from the terminal but make stops at : [visual_enviro.o]Error 1 Has anyone run across this before? I'm not sure if your error is my error, but I saw an error in simgear's visual_enviro on mac os x (and fixed it by installing the latest openal from www.openal.org). i think I might have needed to do a make clean of simgear too, I don't remember, sorry. I have a similar problem with building SimGear under cygwin. I am unable to get a cygwin version of openal (openal_cyg.tgz of a few days ago isn't working). The error is that there's no AL/alut.h found. I have removed all old versions of openal from my system that I could find. Making install in environment make[3]: Entering directory `/cygdrive/s/flightgear/fgdev9.9/src/simgear/simgear/environment' if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/cygdrive/s/flightgear/fgdev9.9/include -g -O2 -D_REENTRANT - MT visual_enviro.o -MD -MP -MF .deps/visual_enviro.Tpo -c -o visual_enviro.o visual_enviro.cxx; \ then mv -f .deps/visual_enviro.Tpo .deps/visual_enviro.Po; else rm -f .deps/visual_enviro.Tpo; exit 1; fi In file included from ../../simgear/sound/soundmgr_openal.hxx:53, from visual_enviro.cxx:33: ../../simgear/sound/sample_openal.hxx:50:22: AL/alut.h: No such file or directory visual_enviro.cxx: In member function `void SGEnviro::drawRain(double, double, double, double, double)': visual_enviro.cxx:422: warning: converting to `int' from `double' visual_enviro.cxx: In member function `void SGLightning::lt_build_tree_branch(int, Point3D, float, int, float)': visual_enviro.cxx:503: warning: passing `float' for converting 4 of `void SGLightning::lt_build_tree_branch(int, Point3D , float, int, float)' make[3]: *** [visual_enviro.o] Error 1 make[3]: Leaving directory `/cygdrive/s/flightgear/fgdev9.9/src/simgear/simgear/environment' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/cygdrive/s/flightgear/fgdev9.9/src/simgear/simgear' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/cygdrive/s/flightgear/fgdev9.9/src/simgear' make: *** [sginstall] Error 2 I tryed download from openal cvs (as outlined on www.openal.org), and was able to build and install the openal/linux directory correctly. However, I am getting an error building the openal/alut directory after the make install of the openal/linux directory succeeds. I get a lot of warnings from the aclocal process (shown below as there's many). Then creating libs/libalut.dll.a I get a large number of undefined references as shown here: gcc -shared .libs/libalut_la-alutBufferData.o .libs/libalut_la-alutCodec.o .libs/libalut_la-alutError.o .libs/libalut_l a-alutInit.o .libs/libalut_la-alutInputStream.o .libs/libalut_la-alutLoader.o .libs/libalut_la-alutUtil.o .libs/libalut_ la-alutVersion.o .libs/libalut_la-alutWaveform.o -o .libs/cygalut-0.dll -Wl,--enable-auto-image-base -Wl,--out-implib, .libs/libalut.dll.a Creating library file: .libs/libalut.dll.a .libs/libalut_la-alutBufferData.o: In function `_alutPassBufferData': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:119: undefined reference to `_alGenBuffers' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:120: undefined reference to `_alGetError' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:136: undefined reference to `_alBufferData' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:139: undefined reference to `_alGetError' .libs/libalut_la-alutInit.o: In function `_alutSanityCheck': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:27: undefined reference to `_alcGetCurrentContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:34: undefined reference to `_alGetError' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:40: undefined reference to `_alcGetContextsDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:40: undefined reference to `_alcGetError' .libs/libalut_la-alutInit.o: In function `alutInit': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:67: undefined reference to `_alcOpenDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:74: undefined reference to `_alcCreateContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:82: undefined reference to `_alcMakeContextCurrent' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:84: undefined reference to `_alcDestroyContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:85: undefined reference to `_alcCloseDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:77: undefined reference to `_alcCloseDevice' .libs/libalut_la-alutInit.o: In function `alutExit': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:130: undefined reference to `_alcMakeContextCurrent'
Re: [Flightgear-devel] compiling Simgear...
However, I am getting an error building the openal/alut directory after the make install of the openal/linux directory succeeds. I get a lot of warnings from the aclocal process (shown below as there's many). Then creating libs/libalut.dll.a I get a large number of undefined references as shown here: gcc -shared .libs/libalut_la-alutBufferData.o .libs/libalut_la-alutCodec.o .libs/libalut_la-alutError.o .libs/libalut_l a-alutInit.o .libs/libalut_la-alutInputStream.o .libs/libalut_la-alutLoader.o .libs/libalut_la-alutUtil.o .libs/libalut_ la-alutVersion.o .libs/libalut_la-alutWaveform.o -o .libs/cygalut-0.dll -Wl,--enable-auto-image-base -Wl,--out-implib, .libs/libalut.dll.a Creating library file: .libs/libalut.dll.a .libs/libalut_la-alutBufferData.o: In function `_alutPassBufferData': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:119: undefined reference to `_alGenBuffers' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:120: undefined reference to `_alGetError' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:136: undefined reference to `_alBufferData' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutBufferData.c:139: undefined reference to `_alGetError' .libs/libalut_la-alutInit.o: In function `_alutSanityCheck': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:27: undefined reference to `_alcGetCurrentContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:34: undefined reference to `_alGetError' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:40: undefined reference to `_alcGetContextsDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:40: undefined reference to `_alcGetError' .libs/libalut_la-alutInit.o: In function `alutInit': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:67: undefined reference to `_alcOpenDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:74: undefined reference to `_alcCreateContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:82: undefined reference to `_alcMakeContextCurrent' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:84: undefined reference to `_alcDestroyContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:85: undefined reference to `_alcCloseDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:77: undefined reference to `_alcCloseDevice' .libs/libalut_la-alutInit.o: In function `alutExit': /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:130: undefined reference to `_alcMakeContextCurrent' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:136: undefined reference to `_alcGetContextsDevice' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:137: undefined reference to `_alcDestroyContext' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:138: undefined reference to `_alcGetError' /cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src/alutInit.c:144: undefined reference to `_alcCloseDevice' collect2: ld returned 1 exit status make[2]: *** [libalut.la] Error 1 make[2]: Leaving directory `/cygdrive/s/flightgear/fgdev9.9/src/openal/alut/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/s/flightgear/fgdev9.9/src/openal/alut' make: *** [all] Error 2 I'm not sure what to do at this point. Ideas anyone on how to get working openal (including alut) on cygwin? I have the latest cygwin, including cygwin versions of automake/autoconf, etc. I'm seeing the similar errors while linking in MSVC. Grateful for any help. Thanks! ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] compiling Simgear...
Hi all ... Had some problems with latest CVS ... so I wiped out and downloaded simgear and flightgear again from CVS. I get an error now compiling Simgear . I cant cut and paste from the terminal but make stops at : [visual_enviro.o]Error 1 Has anyone run across this before? ... I get so much email I may have missed the solution if it was posted previously . Thanks . I'll send another update for the B1900D today hopefully , but I want to compile and test from the latest CVS files first. plus Im having a little trouble with a certain nasal file for the GPS , so still a lot of work to do . Havent figured out nasal's undefined symbol at line 1 error yet :) ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] compiling SimGear-0.0.17 under RedHat 7.2
Hello, I am trying to build FlightGear under Linux. I would like to know do I need to do extra steps to get running the compilation/installation for FlighGear ? What I did: 1. Installed plib 2. Compiling SimGear-0.0.17 which ends with an error: make[3]: Entering directory `/home/stefan/SIMS/SimGear-0.0.17/simgear/xgl' gcc -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/usr/local/include -I/usr/X11R6/include -g -O2 -D_REENTRANT -c xgl.c gcc -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -I/usr/local/include -I/usr/X11R6/include -g -O2 -D_REENTRANT -c xglUtils.c xglUtils.c:109: `GL_COLOR_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:109: initializer element is not constant xglUtils.c:109: (near initialization for `glenum_string[61].val') xglUtils.c:174: `GL_EDGE_FLAG_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:174: initializer element is not constant xglUtils.c:174: (near initialization for `glenum_string[117].val') xglUtils.c:218: `GL_INDEX_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:218: initializer element is not constant xglUtils.c:218: (near initialization for `glenum_string[157].val') xglUtils.c:335: `GL_NORMAL_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:335: initializer element is not constant xglUtils.c:335: (near initialization for `glenum_string[268].val') xglUtils.c:471: `GL_TEXTURE_COORD_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:471: initializer element is not constant xglUtils.c:471: (near initialization for `glenum_string[396].val') xglUtils.c:509: `GL_VERTEX_ARRAY_COUNT_EXT' undeclared here (not in a function) xglUtils.c:509: initializer element is not constant xglUtils.c:509: (near initialization for `glenum_string[432].val') make[3]: *** [xglUtils.o] Error 1 make[3]: Leaving directory `/home/stefan/SIMS/SimGear-0.0.17/simgear/xgl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stefan/SIMS/SimGear-0.0.17/simgear' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/stefan/SIMS/SimGear-0.0.17/simgear' make: *** [all-recursive] Error 1 Something wrong with my configs ? I just configured with ./configure make Thank you, stefan ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel