#12 0.7.0 fails to compile on linux

v0.7.x
open-fixed
CJP
5
2007-05-31
2007-02-26
Anonymous
No

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../shared -I../simulation -I../graphics -I /opt/gcc34/include -finput-charset=ISO-8859-1 -fexec-charset=ISO-8859-1 -Wall -O -march=pentium4 -pipe -DPIC -fPIC -O3 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT sndsample.o -MD -MP -MF ".deps/sndsample.Tpo" -c -o sndsample.o sndsample.cpp; \ then mv -f ".deps/sndsample.Tpo" ".deps/sndsample.Po"; else rm -f ".deps/sndsample.Tpo"; exit 1; fi
sndsample.cpp: In member function `virtual bool CSndSample::load(const CString&, const CParamList&)':
sndsample.cpp:106: error: invalid conversion from `const char*' to `const ALubyte*'
sndsample.cpp:106: error: initializing argument 1 of `void* alGetProcAddress(const ALubyte*)'
sndsample.cpp:110: error: invalid conversion from `const char*' to `const ALubyte*'
sndsample.cpp:110: error: initializing argument 1 of `void* alGetProcAddress(const ALubyte*)'
sndsample.cpp:144: error: `alutCreateBufferFromFile' was not declared in this scope
sndsample.cpp:149: error: `alutGetError' was not declared in this scope
sndsample.cpp:149: error: `alutGetErrorString' was not declared in this scope
sndsample.cpp:149: warning: unused variable 'alutGetError'
sndsample.cpp:149: warning: unused variable 'alutGetErrorString'
sndsample.cpp:144: warning: unused variable 'alutCreateBufferFromFile'
make[2]: *** [sndsample.o] Error 1
make[2]: Leaving directory `/usr/src/ultimatestunts-srcdata-0701/ultimatestunts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ultimatestunts-srcdata-0701'
make: *** [all] Error 2

Discussion

  • Logged In: NO

    ups, it's 0.7.0.1, not 0.7.1

     
  • CJP
    CJP
    2007-05-31

    • milestone: --> v0.7.x
    • assigned_to: nobody --> cornware-cjp
    • summary: 0.7.1 fails to compile on linux --> 0.7.0 fails to compile on linux
    • status: open --> open-fixed