Mail Archives: djgpp/2000/07/25/12:45:24
I haven't had time to try and compile it, but I think your missing gfx.c
Try
\ALLEG>redir -eo gcc demo.c gfx.c -g -Wall -o demo.exe -lalleg| more
or
\ALLEG>redir -eo gcc -c demo.c -g -Wall -lalleg| more
\ALLEG>redir -eo gcc -c gfx.c -g -Wall -lalleg| more
\ALLEG>redir -eo gcc demo.o gfx.o -g -Wall -o demo.exe -lalleg| more
Its still too early in the morning to write anything better so I hope this
works
Kevin
Waldemar Schultz <schultz AT ma DOT tum DOT de> wrote in message
news:39673AD4 DOT 5AE7D07B AT ma DOT tum DOT de...
> Evert Glebbeek schrieb:
> > Anyway, I've completed my small demo program that shows multiple
> > screen update methods. It's too long to post here, so I've uploaded it
> > to the following address:
> > http://www.science.uva.nl/~eglebbk/download/SCRNUPD.ZIP
> > it also uses the gfx_capabilities flag, so it should also illustrate
> > how to use that. If you have problems with it, feel free to ask.
>
> \ALLEG>redir -eo gcc demo.c -g -Wall -o demo.exe -lalleg| more
> c:/temp\ccCloJPr.o: In function `do_stuff':
> demo.c:25: undefined reference to `prepare_screen_update'
> demo.c:27: undefined reference to `get_screen_bmp'
> demo.c:28: undefined reference to `drect_add'
> demo.c:31: undefined reference to `get_screen_bmp'
> demo.c:32: undefined reference to `drect_add'
> demo.c:33: undefined reference to `screen_update_done'
> c:/temp\ccCloJPr.o: In function `main':
> demo.c:83: undefined reference to `set_screen_update_method'
> demo.c:85: undefined reference to `set_screen_update_method'
> demo.c:87: undefined reference to `set_screen_update_method'
> demo.c:89: undefined reference to `set_screen_update_method'
> demo.c:91: undefined reference to `set_screen_update_method'
> demo.c:114: undefined reference to `prepare_screen'
> collect2: ld returned 1 exit status
>
> Thanks for contribution.
> But help, what am I missing? (allegro WIP all3932.zip)
> Thanks
>
> --
> Gruss Waldemar Schultz.
> Technische Universität München, Zentrum Mathematik M1, D 80290 München
> Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228
- Raw text -