Re: [Flightgear-devel] Compiling CVS on SuSE 10.0

2005-11-19 Thread Curtis L. Olson
This looks very much like you do not have the matching version of 
simgear compiled/installed, or you have multiple versions on your system 
and the compiler is finding the wrong one.


Regards,

Curt.


Steve Knoblock wrote:


I checked out the CVS base lat night and tried to compile with an older
tarball source, which failed. I received advice through FG irc that I
should check the latest FG source out from CVS. I did that tonight and
the configure seemed to go normally, but the make failed:

Making all in ATC
make[2]: Entering directory
`/usr/local/source/FlightGear-CVS/source/src/ATC'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X 11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
ATC.o -MD -MP -MF .d eps/ATC.Tpo -c -o ATC.o ATC.cxx; \
then mv -f .deps/ATC.Tpo .deps/ATC.Po; else rm -f .deps/ATC.Tpo;
exit 1; f i
ATC.cxx: In member function ‘void FGATC::Render(std::string, const
std::string , bool)’:
ATC.cxx:230: error: invalid conversion from ‘unsigned char*’ to ‘const
char*’
ATC.cxx:230: error:   initializing argument 1 of
‘SGSoundSample::SGSoundSample(c onst char*, const char*, bool)’
ATC.cxx:230: error: invalid conversion from ‘int’ to ‘const char*’
ATC.cxx:230: error:   initializing argument 2 of
‘SGSoundSample::SGSoundSample(c onst char*, const char*, bool)’
make[2]: *** [ATC.o] Error 1
make[2]: Leaving directory
`/usr/local/source/FlightGear-CVS/source/src/ATC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/source/FlightGear-CVS/source/src'
make: *** [all-recursive] Error 1
linux:/usr/local/source/FlightGear-CVS/source #

Advice appreciated.

Steve



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
 




--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Compiling CVS on SuSE 10.0

2005-11-18 Thread Steve Knoblock
I checked out the CVS base lat night and tried to compile with an older
tarball source, which failed. I received advice through FG irc that I
should check the latest FG source out from CVS. I did that tonight and
the configure seemed to go normally, but the make failed:

Making all in ATC
make[2]: Entering directory
`/usr/local/source/FlightGear-CVS/source/src/ATC'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/X 11R6/include -I/usr/local/include  -g -O2 -D_REENTRANT -MT
ATC.o -MD -MP -MF .d eps/ATC.Tpo -c -o ATC.o ATC.cxx; \
then mv -f .deps/ATC.Tpo .deps/ATC.Po; else rm -f .deps/ATC.Tpo;
exit 1; f i
ATC.cxx: In member function ‘void FGATC::Render(std::string, const
std::string , bool)’:
ATC.cxx:230: error: invalid conversion from ‘unsigned char*’ to ‘const
char*’
ATC.cxx:230: error:   initializing argument 1 of
‘SGSoundSample::SGSoundSample(c onst char*, const char*, bool)’
ATC.cxx:230: error: invalid conversion from ‘int’ to ‘const char*’
ATC.cxx:230: error:   initializing argument 2 of
‘SGSoundSample::SGSoundSample(c onst char*, const char*, bool)’
make[2]: *** [ATC.o] Error 1
make[2]: Leaving directory
`/usr/local/source/FlightGear-CVS/source/src/ATC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/source/FlightGear-CVS/source/src'
make: *** [all-recursive] Error 1
linux:/usr/local/source/FlightGear-CVS/source #

Advice appreciated.

Steve



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d