-
Notifications
You must be signed in to change notification settings - Fork 6
Description
From [email protected] on July 14, 2011 03:13:47
After using Reloaded successfully a few times, (although with no sound -- which is strange because I have working ALSA and PortAudio setups, as proven by other apps), it would just crash immediately after bringing up its window.
So I thought I would try turning off WxWidgets to see if that fixed the crash. So I configured using --with-cli -without-wxwidget
.
However:
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/core -Wall -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-strength-reduce -finline-functions -DNDEBUG -MT libcapricecli_a-caprice_cli_routs.o -MD -MP -MF .deps/libcapricecli_a-caprice_cli_routs.Tpo -c -o libcapricecli_a-caprice_cli_routs.o test -f 'caprice_cli_routs.cpp' || echo './'caprice_cli_routs.cpp
caprice_cli_routs.cpp: In function ‘void caprice_cli_memory_disasm_quantity(int, int)’:
caprice_cli_routs.cpp:179:11: error: ‘Desass’ was not declared in this scope
make[1]: *** [libcapricecli_a-caprice_cli_routs.o] Error 1
make[1]: Leaving directory `/home/kau/zba/vrici/cpcsdk/Reloaded/src/cli'
make: *** [all-recursive] Error 1
Looking at core/Desass.h, it looks like a simple renaming error.
The attached patch fixes it.
(however, while everything then compiles, it won't link. It says
g++ -Wall -O2 -funroll-loops -ffast-math -fomit-frame-pointer -fno-strength-reduce -finline-functions -DNDEBUG -o caprice core/libcapricecore.a -lstsound -lportaudio -lrt cli/libcapricecli.a asm/libsjasm.a asm/libsjasminternal.a -ldl -lrt
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/../../../../lib/crt1.o: In function _start': (.text+0x20): undefined reference tomain'
collect2: ld returned 1 exit status
make[1]: *** [caprice] Error 1
make[1]: Leaving directory `/home/kau/zba/vrici/cpcsdk/Reloaded/src'
ie. main() is not defined.
)
Attachment: misspelling.diff
Original issue: http://code.google.com/p/cpcsdk/issues/detail?id=60