Message-ID: <000d01bf92ba$09707300$36eea3c3@ervsab> From: "ervin nesimovic" To: References: <8b3k0t$dor$1 AT cubacola DOT tninet DOT se> <14549 DOT 59620 DOT 66707 DOT 252662 AT envy DOT midpec DOT com> Subject: Re: Problem with degui and allegro!? Date: Mon, 20 Mar 2000 23:17:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Reply-To: djgpp AT delorie DOT com 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? ----- Original Message ----- From: "Prashant TR" Newsgroups: comp.os.msdos.djgpp To: Sent: Monday, March 20, 2000 10:01 AM Subject: Re: Problem with degui and allegro!? > On 19 March 2000, Ervin Nesimovic wrote: > > > I have installed a c++ (djgpp) compilator and when I want to run some *.cc > > files I get an error message. Compiling goes very well, but not making *.exe > > files. I have copied files to lib and bin kataloges. I linked them in > > libraries, but it still won't work. > > Please tell us the exact commandline you used to compile your program. You > need to compile it this way. > > gpp test.cc -o test.exe > > You should get an exe file in this case. Otherwise, there could be a problem > with the installation. > > And what files are those which you copied to the bin and lib directories. > There shouldn't be a need to do this. All you need to do is unzip the > packages with the pathnames.