chibitracker icon indicating copy to clipboard operation
chibitracker copied to clipboard

xubuntu 14.04 64-bit compilation problem

Open freemanfromgodotengine opened this issue 9 years ago • 1 comments

scons: Reading SConscript files ...
1.2.15
libSDL Detected
1.0.27.2
ALSA not detected.

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/dark/Software/chibitracker-master/SConstruct", line 85, in <module>
scons: done reading SConscript files.
scons: Building targets ...
g++ -o drivers/file_access.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/file_access.cpp
g++ -o drivers/mempool_malloc.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/mempool_malloc.cpp
g++ -o drivers/sound_driver_sdl.o -c -g3 -Wall -DANSIC_LIBS_ENABLED -DPOSIX_ENABLED -DSDL_ENABLED -fno-exceptions -D_GNU_SOURCE=1 -D_REENTRANT -Iglobals -Igui -I. -I/usr/include/SDL drivers/sound_driver_sdl.cpp
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from drivers/sound_driver_sdl.h:18,
                 from drivers/sound_driver_sdl.cpp:15:
/usr/include/SDL/SDL_stdinc.h:106:18: error: conflicting declaration ‘typedef int64_t Sint64’
 typedef int64_t  Sint64;
                  ^
In file included from ./mixer/sound_driver.h:15:0,
                 from drivers/sound_driver_sdl.h:17,
                 from drivers/sound_driver_sdl.cpp:15:
./globals/config.h:81:26: error: ‘Sint64’ has a previous declaration as ‘typedef long long int Sint64’
 typedef signed long long Sint64;
                          ^
In file included from /usr/include/SDL/SDL_main.h:26:0,
                 from /usr/include/SDL/SDL.h:30,
                 from drivers/sound_driver_sdl.h:18,
                 from drivers/sound_driver_sdl.cpp:15:
/usr/include/SDL/SDL_stdinc.h:108:18: error: conflicting declaration ‘typedef uint64_t Uint64’
 typedef uint64_t Uint64;
                  ^
In file included from ./mixer/sound_driver.h:15:0,
                 from drivers/sound_driver_sdl.h:17,
                 from drivers/sound_driver_sdl.cpp:15:
./globals/config.h:82:28: error: ‘Uint64’ has a previous declaration as ‘typedef long long unsigned int Uint64’
 typedef unsigned long long Uint64;
                            ^
drivers/sound_driver_sdl.cpp: In member function ‘void SoundDriverSDL::process(Uint8*, int)’:
drivers/sound_driver_sdl.cpp:89:55: warning: operation on ‘mixdown’ may be undefined [-Wsequence-point]
      *data++ = (*(mixdown++)>>17) + (*(mixdown++)>>17);;
                                                       ^
drivers/sound_driver_sdl.cpp:127:53: warning: operation on ‘mixdown’ may be undefined [-Wsequence-point]
      *data++ = (*(mixdown++)>>9) + (*(mixdown++)>>9);
                                                     ^
scons: *** [drivers/sound_driver_sdl.o] Error 1
scons: building terminated because of errors.

freemanfromgodotengine avatar Apr 06 '15 13:04 freemanfromgodotengine

http://sid.ethz.ch/debian/chibitracker/

meanwhile you can also easily install fasttracker2 clone, protracker, hivelytracker, schismtracker, milkytracker, goattracker, cheesecutter.

alexmyczko avatar Dec 08 '18 12:12 alexmyczko