Page 2 of 2

Re: Compiling Cafu on Fedora 17 x64

Posted: 2012-09-04, 21:45
by Scorphame

Code: Select all

g++ -o Libs/build/linux2/g++/debug/SoundSystem/Common/OggVorbisStream.os -c -g -funsigned-char -Wall -Werror -Wno-char-subscripts -fPIC -DDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/debug -ILibs -IExtLibs -IExtLibs/freealut/include -IExtLibs/mpg123/src/libmpg123 -IExtLibs/libvorbis/include -IExtLibs/libogg/include -IExtLibs/openal-soft/include Libs/SoundSystem/Common/OggVorbisStream.cpp
Libs/SoundSystem/Common/MP3Stream.cpp: In function 'off_t FileSysSeek(int, off_t, int)':
Libs/SoundSystem/Common/MP3Stream.cpp:60:14: error: 'SEEK_CUR' was not declared in this scope
Libs/SoundSystem/Common/MP3Stream.cpp:61:14: error: 'SEEK_END' was not declared in this scope
scons: *** [Libs/build/linux2/g++/debug/SoundSystem/Common/MP3Stream.os] Error 1
scons: building terminated because of errors.
I haven't it but I installed it right now, the compilation progress was interrumped again because of errors :(

Re: Compiling Cafu on Fedora 17 x64

Posted: 2012-09-04, 22:08
by Carsten
Please try adding

Code: Select all

#include <cstdio>
near the top of file Libs/SoundSystem/Common/MP3Stream.cpp.

Re: Compiling Cafu on Fedora 17 x64

Posted: 2012-09-04, 22:14
by Scorphame
:O!! FINALLY IS DONE!!! \:D/ \:D/
Thanks so much for your help. As I promised I will send you the details of all modifications on the code to compile the code under c64 bits fedora linux with gcc 4.7

Re: Compiling Cafu on Fedora 17 x64

Posted: 2012-09-21, 21:38
by Carsten
Scorphame wrote::O!! FINALLY IS DONE!!! \:D/ \:D/
Thanks so much for your help. As I promised I will send you the details of all modifications on the code to compile the code under c64 bits fedora linux with gcc 4.7
Would you mind to send or post it?
It seems like sycoso was experiencing the same problems: http://www.cafu.de/forum/viewtopic.php?f=8&t=1083

:up: