controlloniente debug...niente -wall
Spoiler:
g++ -c -O2 -Wpointer-arith -Werror -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ONScripterLabel_command.cpp
ONScripterLabel_command.cpp: In member function ‘int ONScripterLabel::savescreenshotCommand()’:
ONScripterLabel_command.cpp:1093: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [ONScripterLabel_command.o] Error 1
non parlo del MBR, parlo di tutto il resto al seguito: MFT, user journal, file di configurazione![]()
prova a levare -Werror![]()
Hai seguito questa procedura?
./configure
make
sudo make install
![]()
./configure
Spoiler:
Configuring ONScripter-En 20080823
Checking platform type... Linux
Checking C compiler... gcc
Checking C++ compiler... g++
Checking for GNU make... make
Checking for system SDL... yes
Checking for system SDL_image... yes
Checking for system SDL_mixer... no MP3
Checking for system Ogg Vorbis libs... yes
Checking for system libbzip2... no
Checking for system libsmpeg... no
Checking for system Freetype... yes
Checking for system SDL_ttf... yes
Writing Makefile... done
Now run "make" to build ONScripter-En.
make (without -wall e -werror)
Spoiler:
Configuring internal smpeg...
Building internal smpeg...
MPEG.cpp: In member function 'void MPEG::Init(SDL_RWops*, bool)':
MPEG.cpp:112: warning: deprecated conversion from string constant to 'char*'
MPEGsystem.cpp: In constructor 'MPEGsystem::MPEGsystem(SDL_RWops*)':
MPEGsystem.cpp:437: warning: deprecated conversion from string constant to 'char*'
MPEGsystem.cpp: In member function 'virtual void MPEGsystem::Start()':
MPEGsystem.cpp:1245: warning: deprecated conversion from string constant to 'char*'
MPEGsystem.cpp: In static member function 'static bool MPEGsystem::SystemLoop(MPEGsystem*)':
MPEGsystem.cpp:1326: warning: deprecated conversion from string constant to 'char*'
smpeg.cpp: In function 'char* SMPEG_error(SMPEG*)':
smpeg.cpp:374: warning: deprecated conversion from string constant to 'char*'
video/MPEGvideo.cpp: In constructor 'MPEGvideo::MPEGvideo(MPEGstream*)':
video/MPEGvideo.cpp:178: warning: deprecated conversion from string constant to 'char*'
video/MPEGvideo.cpp: In member function 'virtual bool MPEGvideo::SetDisplay(SDL_Surface*, SDL_mutex*, void (*)(SDL_Surface*, int, int, unsigned int, unsigned int))':
video/MPEGvideo.cpp:467: warning: deprecated conversion from string constant to 'char*'
video/video.cpp: In function 'VidStream* mpegVidRsrc(TimeStamp, VidStream*, int)':
video/video.cpp:1058: warning: deprecated conversion from string constant to 'char*'
Configuring internal SDL_mixer...
Building internal SDL_mixer...
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/blocksort.o extlib/src/bzip2-1.0.4/blocksort.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/huffman.o extlib/src/bzip2-1.0.4/huffman.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/crctable.o extlib/src/bzip2-1.0.4/crctable.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/randtable.o extlib/src/bzip2-1.0.4/randtable.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/compress.o extlib/src/bzip2-1.0.4/compress.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/decompress.o extlib/src/bzip2-1.0.4/decompress.c
gcc -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -c -o extlib/src/bzip2-1.0.4/bzlib.o extlib/src/bzip2-1.0.4/bzlib.c
rm -f extlib/lib/libbz2.a
ar cq extlib/lib/libbz2.a extlib/src/bzip2-1.0.4/blocksort.o extlib/src/bzip2-1.0.4/huffman.o extlib/src/bzip2-1.0.4/crctable.o extlib/src/bzip2-1.0.4/randtable.o extlib/src/bzip2-1.0.4/compress.o extlib/src/bzip2-1.0.4/decompress.o extlib/src/bzip2-1.0.4/bzlib.o
cp extlib/src/bzip2-1.0.4/bzlib.h extlib/include/bzlib.h
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH onscripter.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH DirectReader.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH SarReader.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH NsaReader.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ScriptHandler.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ScriptParser.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ScriptParser_command.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ONScripterLabel.cpp
g++ -c -O2 -Wpointer-arith -fomit-frame-pointer -pipe -Iextlib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include -I/home/gimli/Scrivania/onscripter-en-20080823/extlib/include/smpeg -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -Iextlib/include/SDL -DLINUX -DUSE_OGG_VORBIS -DENABLE_1BYTE_CHAR -DINSANI -DHAELETH ONScripterLabel_command.cpp
ONScripterLabel_command.cpp: In member function ‘int ONScripterLabel::savescreenshotCommand()’:
ONScripterLabel_command.cpp:1093: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [ONScripterLabel_command.o] Error 1
è andato più avanti di prima...![]()
rinuncia
Checking for system SDL_mixer... no MP3
Checking for system libbzip2... no
Checking for system libsmpeg... no
tra l'altro non hai 3 librerie
dovrebbero essere incluse nel pacchetto che ho scaricato... dice source code with dependancies... ma probabilmente dovendo compilare anche le dipendenze mancanti gli errori si accumulano. Ovviamente le dipendenze mancanti nei repository di fedora un se trovano...![]()
A me aveva dato problemi su Windows con i caratteri jap...![]()
A me qui dice che ONScripter è nei repo.dovrebbero essere incluse nel pacchetto che ho scaricato... dice source code with dependancies... ma probabilmente dovendo compilare anche le dipendenze mancanti gli errori si accumulano. Ovviamente le dipendenze mancanti nei repository di fedora un se trovano...
Vedo se su Windows con gcc riesco a compilarlo spe![]()
wine hai provato?![]()
@ tutti:
Da dove viene questo, dai dvd?
Spoiler:![]()
in b4 "gtfo linux nabz"![]()
niente su winzozz mi serve per forza cygwin, provo sul netbook
in quel caso però controlla bene quella storia dell'accettazione dei caratteri unicode, che l'installazione si impalla a prescindere se non gli è permesso di visualizzare correttamente i caratteri giap![]()
ok, non me lo compila manco su eeebuntu![]()