> 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'
/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.
Thanks!
Ima
------
$ ./autogen.sh && ./configure && make
configure.ac:26: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/general.m4:219: AC_HELP_STRING is expanded from...
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
aclocal.m4:1857: AC_ENABLE_SHARED is expanded from...
configure.ac:26: AC_ENABLE_SHARED is required by...
aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
configure.ac:26: AC_LIBTOOL_SETUP is required by...
aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
configure.ac:26: _AC_PROG_LIBTOOL is required by...
aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
configure.ac:26: the top level
aclocal.m4:1896: AC_ENABLE_STATIC is expanded from...
configure.ac:26: AC_ENABLE_STATIC is required by...
aclocal.m4:1935: AC_ENABLE_FAST_INSTALL is expanded from...
configure.ac:26: AC_ENABLE_FAST_INSTALL is required by...
autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
aclocal.m4:2132: AC_PROG_LD is expanded from...
configure.ac:26: AC_PROG_LD is required by...
configure.ac:26: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
aclocal.m4:594: _LT_AC_LOCK is expanded from...
configure.ac:26: _LT_AC_LOCK is required by...
aclocal.m4:1061: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
aclocal.m4:2664: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2564: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
configure.ac:26: warning: back quotes and double quotes must not be escaped in:
$as_me:$LINENO: error: tag name \"$tagn
me\" already exists
configure.ac:26: warning: back quotes and double quotes must not be escaped in:
$as_me: error: tag name \"$tagname\" al
eady exists
configure.ac:26: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:26: warning: instead of using `AC_LANG', `AC_LANG_SAVE',
configure.ac:26: and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and
`AC_LANG_POP'.
configure.ac:26: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
Putting files in AC_CONFIG_AUX_DIR, `admin'.
configure.ac:26: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/general.m4:219: AC_HELP_STRING is expanded from...
autoconf/general.m4:1303: AC_ARG_ENABLE is expanded from...
aclocal.m4:1857: AC_ENABLE_SHARED is expanded from...
configure.ac:26: AC_ENABLE_SHARED is required by...
aclocal.m4:225: AC_LIBTOOL_SETUP is expanded from...
configure.ac:26: AC_LIBTOOL_SETUP is required by...
aclocal.m4:81: _AC_PROG_LIBTOOL is expanded from...
configure.ac:26: _AC_PROG_LIBTOOL is required by...
aclocal.m4:61: AC_PROG_LIBTOOL is expanded from...
configure.ac:26: the top level
aclocal.m4:1896: AC_ENABLE_STATIC is expanded from...
configure.ac:26: AC_ENABLE_STATIC is required by...
aclocal.m4:1935: AC_ENABLE_FAST_INSTALL is expanded from...
configure.ac:26: AC_ENABLE_FAST_INSTALL is required by...
autoconf/general.m4:1331: AC_ARG_WITH is expanded from...
aclocal.m4:2132: AC_PROG_LD is expanded from...
configure.ac:26: AC_PROG_LD is required by...
configure.ac:26: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/general.m4:2223: AC_TRY_LINK is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
aclocal.m4:594: _LT_AC_LOCK is expanded from...
configure.ac:26: _LT_AC_LOCK is required by...
aclocal.m4:1061: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
aclocal.m4:2664: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2564: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:1811: _LT_AC_TAGCONFIG is expanded from...
configure.ac:26: warning: back quotes and double quotes must not be escaped in:
$as_me:$LINENO: error: tag name \"$tagn
me\" already exists
configure.ac:26: warning: back quotes and double quotes must not be escaped in:
$as_me: error: tag name \"$tagname\" al
eady exists
configure.ac:26: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/lang.m4:166: AC_LANG_SAVE is expanded from...
aclocal.m4:3925: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:3875: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.ac:26: warning: instead of using `AC_LANG', `AC_LANG_SAVE',
configure.ac:26: and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and
`AC_LANG_POP'.
configure.ac:26: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:26: You should run autoupdate.
autoconf/lang.m4:172: AC_LANG_RESTORE is expanded from...
aclocal.m4:3969: _LT_AC_LANG_RC_CONFIG is expanded from...
aclocal.m4:3933: AC_LIBTOOL_LANG_RC_CONFIG is expanded from...
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d