IRC logs for #opendune on OFTC at 2019-03-03
⏴ go to previous day
06:11:27 *** peter is now known as Guest2280
06:11:42 <Guest2280> i pulled the opendune code down from the github repo onto a linux machine
06:11:50 <Guest2280> looked at the README
06:12:08 <Guest2280> not clear now i make the opendune binary
06:12:43 <Guest2280> was wondering if i am going abuot this the wrong way
16:58:59 <Guest2280> [SRC] Compiling animation.c ~/git/OpenDUNE/src/animation.c:3:10: fatal error: assert.h: No such file or directory #include <assert.h> ^~~~~~~~~~compilation terminated.
16:59:52 <Guest2280> i don't see the assert.h header in the source code ( master branch )
17:01:15 <Guest2280> ahh.. maybe this is a linux thing
17:26:14 <Guest2280> i think i have my build-essential packages figured out
17:27:01 <Guest2280> opendune.o: In function `PrepareEnd':
17:27:01 <Guest2280> opendune.c:(.text+0x69f): undefined reference to `Video_Uninit'
17:27:01 <Guest2280> opendune.o: In function `main':
17:27:01 <Guest2280> opendune.c:(.text.startup+0x1ca): undefined reference to `Video_Init'
17:27:01 <Guest2280> opendune.c:(.text.startup+0x20a): undefined reference to `Video_Tick'
17:27:03 <Guest2280> opendune.c:(.text.startup+0x3bf): undefined reference to `Video_SetPalette'
17:27:04 <Guest2280> explosion.o: In function `Explosion_Tick':
17:27:06 <Guest2280> explosion.c:(.text+0x310): undefined reference to `Video_SetOffset'
17:27:08 <Guest2280> explosion.c:(.text+0x321): undefined reference to `Video_SetOffset'
17:27:10 <Guest2280> explosion.c:(.text+0x335): undefined reference to `Video_SetOffset'
17:27:12 <Guest2280> explosion.c:(.text+0x346): undefined reference to `Video_SetOffset'
17:27:14 <Guest2280> gfx.o: In function `GFX_Init':
17:27:18 <Guest2280> gfx.c:(.text+0x1d4): undefined reference to `Video_GetFrameBuffer'
17:27:20 <Guest2280> gfx.o: In function `GFX_SetPalette':
17:27:22 <Guest2280> gfx.c:(.text+0xa8f): undefined reference to `Video_SetPalette'
17:27:24 <Guest2280> gui/gui.o: In function `GUI_Mouse_SetPosition':
17:27:26 <Guest2280> gui.c:(.text+0x54c8): undefined reference to `Video_Mouse_SetPosition'
17:27:28 <Guest2280> input/mouse.o: In function `Mouse_Init':
17:27:30 <Guest2280> mouse.c:(.text+0x59): undefined reference to `Video_Mouse_SetPosition'
17:27:32 <Guest2280> input/mouse.o: In function `Mouse_SetRegion':
17:27:34 <Guest2280> mouse.c:(.text+0xd6): undefined reference to `Video_Mouse_SetRegion'
17:27:36 <Guest2280> collect2: error: ld returned 1 exit status
17:33:50 <glx> you need one video/video_XXX.c file to be compiled and linked
17:35:10 <Guest2280> find . -name "video*.c"
17:35:10 <Guest2280> ./src/video/video_sdl.c
17:35:10 <Guest2280> ./src/video/video_osxppc.c
17:35:10 <Guest2280> ./src/video/video_dos.c
17:35:11 <Guest2280> ./src/video/video_fps.c
17:35:13 <Guest2280> ./src/video/video_sdl2.c
17:35:17 <Guest2280> ./src/video/video_win32.c
17:35:19 <Guest2280> ./src/video/video_atari.c
17:36:12 <Guest2280> apologies, but i'm not clear what specific commands you are suggesting i execute to compile and link one of these files
17:37:04 <glx> selection is done in source.list
17:37:58 <Guest2280> ahh.. all of these are commented out
17:38:23 <glx> if you add a new platform you may need to write your own video_XXX.c :)
17:39:06 <Guest2280> any chance linux land would be supported by.. this one? src/video/video_sdl.c
17:39:21 <Guest2280> src/video/video_sdl2.c
17:39:43 <glx> those are the usual linux video backends
17:42:11 <glx> if the dev package of SDL or SDL2 is present
17:47:52 <Guest2280> i'm assuming sdl2 is better than sdl?
continue to next day ⏵