delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/25/12:45:24

From: "Kevin Rutten" <krutten AT bbr DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <395e61e0_2 AT spamkiller DOT newsfeeds DOT com> <395fcb12_1 AT spamkiller DOT newsfeeds DOT com> <39622a8e DOT 1248934 AT news DOT wins DOT uva DOT nl> <39626821_2 AT spamkiller DOT newsfeeds DOT com> <39635adf DOT 1264089 AT news DOT wins DOT uva DOT nl> <3963b310_1 AT spamkiller DOT newsfeeds DOT com> <39648ccb DOT 16302165 AT news DOT wins DOT uva DOT nl> <39650011_4 AT spamkiller DOT newsfeeds DOT com> <3965e613 DOT 16882830 AT news DOT wins DOT uva DOT nl> <3966aa33_1 AT spamkiller DOT newsfeeds DOT com> <396723f6 DOT 6882204 AT news DOT wins DOT uva DOT nl> <39673AD4 DOT 5AE7D07B AT ma DOT tum DOT de>
Subject: Re: Using (page-flipping) to speed up a program
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <8ojf5.7343$47.154908@news.bc.tac.net>
Date: Tue, 25 Jul 2000 09:38:21 -0700
NNTP-Posting-Host: 216.232.53.46
X-Complaints-To: news AT bctel DOT net
X-Trace: news.bc.tac.net 964543108 216.232.53.46 (Tue, 25 Jul 2000 09:38:28 PDT)
NNTP-Posting-Date: Tue, 25 Jul 2000 09:38:28 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019