Trying to compile the latest SImgear from CVS in Cygwin - I have Plib, Openal,
OpenThread and OpenSceneGraph but when I configure and make in SimGear I get
the following:
Making all in environment
make[3]: Entering directory
`/usr/develop/obj/cygwin-apps/SimGear-0.3/simgear/en
vironment'
if g++ -I/usr/local/include -I/usr/include -DHAVE_CONFIG_H -I.
-I/usr/src/SimGea
r-0.3/source/simgear/environment -I../../simgear -I/usr/src/SimGear-0.3/source
-I/usr/FlightGear/include -g -O2 -D_REENTRANT -MT metar.o -MD -MP -MF
".deps/me
tar.Tpo" -c -o metar.o
/usr/src/SimGear-0.3/source/simgear/environment/metar.cxx
; \
then mv -f ".deps/metar.Tpo" ".deps/metar.Po"; else rm -f
".deps/metar.T
po"; exit 1; fi
if g++ -I/usr/local/include -I/usr/include -DHAVE_CONFIG_H -I.
-I/usr/src/SimGea
r-0.3/source/simgear/environment -I../../simgear -I/usr/src/SimGear-0.3/source
-I/usr/FlightGear/include -g -O2 -D_REENTRANT -MT visual_enviro.o -MD -MP -MF
"
deps/visual_enviro.Tpo" -c -o visual_enviro.o
/usr/src/SimGear-0.3/source/simge
ar/environment/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
/usr/src/SimGear-0.3/source/simgear/structure/SGReferenced
hxx:24,
from
/usr/src/SimGear-0.3/source/simgear/environment/visual_env
iro.cxx:27:
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx:87: warning: `align'
attribute directive ignored
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx: In member function
`
unsigned int SGAtomic::operator++()':
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx:46: error: invalid
co
nversion from `volatile long int*' to `long int*'
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx:46: error:
initiali
zing argument 1 of `LONG InterlockedIncrement(long int*)'
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx: In member function
`
unsigned int SGAtomic::operator--()':
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx:57: error: invalid
co
nversion from `volatile long int*' to `long int*'
/usr/src/SimGear-0.3/source/simgear/structure/SGAtomic.hxx:57: error:
initiali
zing argument 1 of `LONG InterlockedDecrement(long int*)'
make[3]: *** [visual_enviro.o] Error 1
make[3]: Leaving directory
`/usr/develop/obj/cygwin-apps/SimGear-0.3/simgear/env
ironment'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/develop/obj/cygwin-apps/SimGear-0.3/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/develop/obj/cygwin-apps/SimGear-0.3/simgear'
make: *** [all-recursive] Error 1
[EMAIL PROTECTED] /usr/develop/obj/cygwin-apps/SimGear-0.3
$
Any ideas how to fix
bk
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/flightgear-users