I installed the agt with gcc under cygwin and I can compile the basic tutorials for STF. I've installed the Atari MiNT GCC 4.6.4 from vincent's site.
I have some errors on compilation with more advanced tuto/demo but I'll post log after.
Can I convert the "Tutorial 3a - Getting Started" tutorial to run it on STF ?
Of course, I'm not asking to code for me. I would just like to be able to display a sprite and background on STF to begin with.
I have error messages concerning the music / sound when I compile demos(bosscore / tutor5 / h-smup).
All other examples compiles well.
To compile, I make a simple "make clean && make".
bosscore :
Code: Select all
../../agtsys/libcxx/zerolibc.cpp: In function 'int puts(const char*)':
../../agtsys/libcxx/zerolibc.cpp:67:18: warning: value computed is not used [-Wunused-value]
../../agtsys/libcxx/zerolibc.cpp:68:17: warning: value computed is not used [-Wunused-value]
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-narrowing" [enabled by default]
bosscore.cpp: In function 'void menu_vblservice()':
bosscore.cpp:248:1: warning: label 'mainloop' defined but not used [-Wunused-label]
bosscore.cpp: In function 'int AGT_EntryPoint()':
bosscore.cpp:721:1: warning: label 'restart_game' defined but not used [-Wunused-label]
bosscore.cpp: In function 'void play_fntick(entity_t*)':
bosscore.cpp:843:7: warning: variable 'snake' set but not used [-Wunused-but-set-variable]
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-narrowing" [enabled by default]
bosscore.o:bosscore.o:(.text+0x1336): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x1376): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x1390): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x139e): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x13a4): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x13ac): undefined reference to `_g_instrument_map'
bosscore.o:bosscore.o:(.text+0x13cc): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x140e): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x142c): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x143a): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x1440): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x1448): more undefined references to `_g_bmm_channel_octave_map' follow
bosscore.o:bosscore.o:(.text+0x145e): undefined reference to `_g_instrument_map'
bosscore.o:bosscore.o:(.text+0x1350): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x13be): undefined reference to `_set_channel_routing'
bosscore.o:bosscore.o:(.text+0x13e6): undefined reference to `_g_bmm_channel_octave_map'
bosscore.o:bosscore.o:(.text+0x1470): undefined reference to `_set_channel_routing'
bosscore.o:bosscore.o:(.text+0x35e6): undefined reference to `AGT_SoundOpen()'
bosscore.o:bosscore.o:(.text+0x3d2c): undefined reference to `AGT_MusicLoad(char const*)'
bosscore.o:bosscore.o:(.text+0x3d36): undefined reference to `AGT_MusicStart(int)'
collect2: ld returned 1 exit status
make: *** [../../Makerules:255: bosscore.tos] Error 1
tutor5 :
Code: Select all
../../agtsys/libcxx/zerolibc.cpp: In function 'int puts(const char*)':
../../agtsys/libcxx/zerolibc.cpp:67:18: warning: value computed is not used [-Wunused-value]
../../agtsys/libcxx/zerolibc.cpp:68:17: warning: value computed is not used [-Wunused-value]
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-narrowing" [enabled by default]
tutor5a.o:tutor5a.o:(.text+0x2cb4): undefined reference to `_BLiT_EntityDrawVisibleYM_68k'
tutor5a.o:tutor5a.o:(.text+0x327c): undefined reference to `_BLiT_EntityDrawVisibleYM_68k'
tutor5a.o:tutor5a.o:(.text+0x39a4): undefined reference to `_BLiT_EntityDrawVisibleYM_68k'
tutor5a.o:tutor5a.o:(.text+0x3b6c): undefined reference to `_BLiT_EntityDrawVisibleYM_68k'
tutor5a.o:tutor5a.o:(.text+0x3da2): undefined reference to `_BLiT_EntityDrawVisibleYM_68k'
collect2: ld returned 1 exit status
make: *** [../../Makerules:255: tutor5a.tos] Error 1