From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Problem with degui and allegro!? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8b3k0t$dor$1 AT cubacola DOT tninet DOT se> <14549 DOT 59620 DOT 66707 DOT 252662 AT envy DOT midpec DOT com> <000d01bf92ba$09707300$36eea3c3 AT ervsab> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 48 X-Trace: +rUPLthuGTlBb9PLUH5ODqvSzOzo5g2+w0e/QJSUB548D8R4ysXs5UX3cI/Y7eCZau2oPlwu7ugJ!CJfITGz0/E4tmqfHxEOtuxkF5Q8OAKHsdb3imUebAO8f7AOhpAdZlzvq/oeHwtZixq43ZTnRI987!TXx+HQI= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 20 Mar 2000 23:54:23 GMT Distribution: world Date: Mon, 20 Mar 2000 23:54:23 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 20 Mar 2000 23:17:09 +0100, "ervin nesimovic" wrote: >Here is what I had typed: > >#include >void initieraGrafik(); > >int main() >{ > initieraGrafik(); > textout_centre(screen,font,"Hello World",160,100,2); > readkey(); > return 0; >} >END_OF_MAIN(); > >void initieraGrafik() >{ > allegro_init(); > install_keyboard(); > set_gfx_mode(GFX_VGA,320,200,0,0); > return; >} >And answer I get >error: grafika.o: In function 'main': >Error:grafika.cc(.text+0x2f): undefined reference to 'font' >same for 'screen' and 'texout_center' and 'readkey'. >There is allso an Error for : undefined reference to 'install_allegro' and >'install_keyboard' and 'set_gfx_mode' > >So I wander can it be with my installation. I have copied libdegui.a to lib >and builder.exe to bin and made a link in libraries for emu, alleg and >degui! >Can you help me now? It's not picking up -lalleg for some reason. When you built Allegro, did you forget to C:\DJGPP\Allegro>make install -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/