Compiling Cafu on Fedora 17 x64

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
User avatar
Scorphame
Posts:60
Joined:2010-09-02, 03:39
Location:Chillan Chile
Contact:
Re: Compiling Cafu on Fedora 17 x64

Post by Scorphame » 2012-09-04, 21:45

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 :(
Simón Carreño AKA Scorphame.
Leader & Game Designer at HeXentic Games
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: Compiling Cafu on Fedora 17 x64

Post by Carsten » 2012-09-04, 22:08

Please try adding

Code: Select all

#include <cstdio>
near the top of file Libs/SoundSystem/Common/MP3Stream.cpp.
Best regards,
Carsten
User avatar
Scorphame
Posts:60
Joined:2010-09-02, 03:39
Location:Chillan Chile
Contact:

Re: Compiling Cafu on Fedora 17 x64

Post by Scorphame » 2012-09-04, 22:14

: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
Simón Carreño AKA Scorphame.
Leader & Game Designer at HeXentic Games
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: Compiling Cafu on Fedora 17 x64

Post by Carsten » 2012-09-21, 21:38

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:
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests