1

Temat: kompilacja gnurobbo dla win32

co prawda zachaczyłem o ten temat jellonka na privie, ale może na forum ktoś szybciej zareaguje.
prawie się udało, ale ponieważ nie jestem guru od C, a można nawet powiedzieć, że jestem zielony, więc utknąłem na tym, że wykrzacza się linker.
zmodyfikowałem tylko pliczek game.h, bo się nie chciał nawet skompilować.
a linker ryczy tak:

Kompilator: Default compiler
Building Makefile: "C:\Dev-Cpp\proggie\gnurobbo\Makefile.win"
Wykonywanie  make clean
rm -f gnurobbo-0.57/data_init.o gnurobbo-0.57/board.o gnurobbo-0.57/game.o  gnurobbo.exe

g++.exe -D__DEBUG__ -c gnurobbo-0.57/data_init.c -o gnurobbo-0.57/data_init.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"    -fexpensive-optimizations -O3 -g3 -march=i686 -mmmx

g++.exe -D__DEBUG__ -c gnurobbo-0.57/board.c -o gnurobbo-0.57/board.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"    -fexpensive-optimizations -O3 -g3 -march=i686 -mmmx

g++.exe -D__DEBUG__ -c gnurobbo-0.57/game.c -o gnurobbo-0.57/game.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"    -fexpensive-optimizations -O3 -g3 -march=i686 -mmmx

g++.exe -D__DEBUG__ gnurobbo-0.57/data_init.o gnurobbo-0.57/board.o gnurobbo-0.57/game.o  -o "gnurobbo.exe" -L"C:/Dev-Cpp/lib" -lmingw32 -lSDLmain -lSDL -lSDL_ttf -liberty  -g3 -march=i686 -mmmx 

gnurobbo-0.57/board.o: In function `Z8set_rectiiii':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:36: multiple definition of `next_rand'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:31: first defined here

gnurobbo-0.57/board.o: In function `Z8set_rectiiii':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:41: multiple definition of `level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:85: first defined here
gnurobbo-0.57/board.o: In function `Z8getpixelP11SDL_Surfaceii':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:60: multiple definition of `robbo'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:45: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:95: multiple definition of `TextRGBColor'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:100: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:80: multiple definition of `TypeBuffer'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:100: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:88: multiple definition of `TextBuffer'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:111: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:100: multiple definition of `typing_code'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:109: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:100: multiple definition of `score_was_changed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:109: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:100: multiple definition of `old_level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:110: first defined here
gnurobbo-0.57/board.o: In function `Z12load_bitmapsv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:105: multiple definition of `board_changed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:117: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `board_copy'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `board'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `event'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `offset_description'

gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `game_is_started'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `fgcolor'

gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `bgcolor'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `MenuPosition'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':

C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `icon'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `image_startscreen'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `image'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `ciphers'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `icons'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_robbo'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_bullet'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':

C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_key'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_screw'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `score_img'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `robbo_img'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here

gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `screen'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `font'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `KeyLastPressed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `KeyPressed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':

C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `amask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here

gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `bmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `gmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `rmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `path_resource_file'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/board.o: In function `Z14show_endscreenv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/board.c:650: multiple definition of `user_home_dir'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `Z15is_robbo_killedv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:31: multiple definition of `next_rand'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:31: first defined here
gnurobbo-0.57/game.o: In function `Z15is_robbo_killedv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:33: multiple definition of `level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:85: first defined here
gnurobbo-0.57/game.o: In function `Z15is_robbo_killedv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:42: multiple definition of `robbo'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:45: first defined here

gnurobbo-0.57/game.o: In function `Z8can_move6Coordsi':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:54: multiple definition of `TextRGBColor'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:100: first defined here
gnurobbo-0.57/game.o: In function `Z8can_move6Coordsi':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:54: multiple definition of `TypeBuffer'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:100: first defined here
gnurobbo-0.57/game.o: In function `Z8can_move6Coordsi':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:54: multiple definition of `TextBuffer'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:111: first defined here
gnurobbo-0.57/game.o: In function `Z19board_needs_refreshv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:68: multiple definition of `typing_code'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:109: first defined here
gnurobbo-0.57/game.o: In function `Z19board_needs_refreshv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:68: multiple definition of `score_was_changed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:109: first defined here

gnurobbo-0.57/game.o: In function `Z19board_needs_refreshv':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:68: multiple definition of `old_level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:110: first defined here

gnurobbo-0.57/game.o: In function `Z13refresh_fieldii':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:87: multiple definition of `board_changed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:117: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `board_copy'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `board'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `event'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':

C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `offset_description'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `game_is_started'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `fgcolor'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `bgcolor'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `MenuPosition'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `icon'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `image_startscreen'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `image'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `ciphers'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `icons'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_robbo'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_level'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here

gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_bullet'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_key'

gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_screw'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `score_img'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':

C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `robbo_img'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `screen'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `font'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `KeyLastPressed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `KeyPressed'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `amask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `bmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `gmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `rmask'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `path_resource_file'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
gnurobbo-0.57/game.o: In function `SDL_main':
C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/game.c:1552: multiple definition of `user_home_dir'
gnurobbo-0.57/data_init.o:C:/Dev-Cpp/proggie/gnurobbo/gnurobbo-0.57/data_init.c:867: first defined here
collect2: ld returned 1 exit status

make.exe: *** [gnurobbo.exe] Error 1

Wykonanie zakończone

help.

Cuda wianki i nie tylko :) POKEY 4ever ;)

2

Odp: kompilacja gnurobbo dla win32

dziś pytanie, dziś odpowiedz, brakowało moim zdaniem

#ifndef _game_h_
#define _game_h_
tu deklaracje i definicje typów
#endif

ale sobie wyobraźcie, że to nie pomogło :(

Cuda wianki i nie tylko :) POKEY 4ever ;)

3

Odp: kompilacja gnurobbo dla win32

zapomniałeś chyba o extern ?! mylę się ?

STYMulator JIL ST YM2149 mjuz:k @ gnu/linux
SIUP (SIo2Usb2Pc) - SIO2PC USB Edition
PIN ready logo
3M / InD: ... na kasetach były zabezpieczenia w postaci tzw. "mikropierdnięcie" ...

4

Odp: kompilacja gnurobbo dla win32

jaśniej proszę, cepem, bo jak pisałem, guru nie jestem i na codzień w C nie programuję.

#ifndef _GAME_H_
#define _GAME_H_

#ifdef __cplusplus
   extern "C" {
#endif
.....
char *user_home_dir;
char path_resource_file[100];

static Uint32 next_time;
....
#ifdef __cplusplus
   }
#endif

#endif /* not _game_h_ */

jeśli oto chodzi, to dupa, nic z tego. znaczy nie pomogło.

Ostatnio edytowany przez sun (2005-08-18 21:47:34)

Cuda wianki i nie tylko :) POKEY 4ever ;)

5

Odp: kompilacja gnurobbo dla win32

az zaczelem sciagac zrodla i kompulator :)
pare lat go nie zaczepialem :D

moze rano, jak witrzeziweje  ;) cos obczaje...
jak tak - dam znac w tym topic-u

The UNIX Guru`s view of Sex:
unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep

6

Odp: kompilacja gnurobbo dla win32

http://tiny.pl/qctz

moge opisac co cza pozmieniac jakby ktos kcial sie dowiedziec...
jak cos nie dziala - tu zglaszac

btw. cala operacja dostosowania do windy zajela 5min.
sorry ze sie tak dlugo do tego zbieralem, ale mam kupe innej roboty
naodkladanej a i tych 15min. (m.in. na tego posta) nie powinienem
na to poswiecac...

Ostatnio edytowany przez jellonek (2005-08-22 19:15:03)

The UNIX Guru`s view of Sex:
unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep

7

Odp: kompilacja gnurobbo dla win32

Na win98se niestety nie działa. Chce jakiś plik sdl_ttf.dll. Po ściągnięciu go z netu program po uruchomieniu odrazu się wyłącza. W katalogu programu w pliku stderr.txt pojawił się napis:"Fatal signal: Segmentation Fault (SDL Parachute Deployed)".
Ale pewnie i tak niewiele już ludzi używa win98 a pozatym lepiej jest chyba robbo odpalać pod emulatorem: zawsze można dodać sobie parę kluczyków w nagłej potrzebie, albo odjąć śrubek do zebrania:D

8

Odp: kompilacja gnurobbo dla win32

hmmm... teraz pod tym liniem powinna jest wersja z tym plikiem...
czuje ze to nie w wersji windy problem... tylko w czym...
mi dziala ;)

The UNIX Guru`s view of Sex:
unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep

9

Odp: kompilacja gnurobbo dla win32

jezusmariaolaboga,  ta gra jest okropna... skrolling jakis taki nie robbowy i wszysto takie jakies sztywne... bleeee

10

Odp: kompilacja gnurobbo dla win32

Elk: ojtam nie czepiaj się, gra jest spox, przesuw pionowy może i nieco ssie, ale ogólnie fajnie że się udało przeprotować giercuna. Do jednego się za to przyczepię - gdzie jest kuna dźwęk???

I Ty zostaniesz big endianem...

11

Odp: kompilacja gnurobbo dla win32

ja to tylko kopulowalem pod winzgroze...
pytanie nalezalo by zadac autorowi portu sdl ktorym jest (za pliczkiem AUTHORS):
Arkadiusz Lipiec <alipiec@elka.pw.edu.pl>

btw. mam nadzieje ze nikt sie nie pogniewa na to ze nie dolaczylem pliku licencji ;)

The UNIX Guru`s view of Sex:
unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep

12

Odp: kompilacja gnurobbo dla win32

Hmm, a u mnie na grzybie nie poszło... ;(
Hmm, a w roboicie idzie... ciekawe... Chyba że w międzyczasie cosik dodałeś - muszę później sprawdzić... Albo Athlona nie lubi ;)

Ostatnio edytowany przez Sikor (2005-08-23 07:35:05)

Sikor umarł...

13

Odp: kompilacja gnurobbo dla win32

w miedzy czasie to bylo okolo 21.30 wczoraj... dodalem rzeczone SDL_ttf.dll
sporo mozna by w tym jeszcze poprawic, ale przyznam ze ladnie napisane...
aby sie kompilowalo poprawnie pod winda wystarczylo tylko do deklaracji main() podac prawidlowe parametry
+ jeden maly:
#ifndef WIN32
...
#endif
wokol 2 linijek...

nom - cza bylo jeszcze nieco config.h zmienic coby pthreads nie uzywal i pixmaps szukal w katalogu bierzacym...

przy okazji ododalem tylko ikonke ;)

The UNIX Guru`s view of Sex:
unzip; strip; touch; finger; mount; fsck; more; yes; umount; sleep