From: <DAV...@st...> - 2000-10-31 19:30:09
|
Hello, I'm fairly new to Linux, and I've a problem. I installed allegro with the rpm. I _can_ run the examples when I'm `root=B4 and when I'm a normal user. Now, I copied the `exhello.c=B4 example to another place and compiled it as explained in a readme (gcc exhello.c -o exhello `allegro-config --libs --cflags`). No problems so far. I also do this : `chmod 4770 exhello` as explained in a readme. When I try to run the program as normal user -- in a xterm -- I receive the error: "Fatal error: unable to activate the Allegro system. Unable to find a usable VT". When I'm `root=B4 the program works just fine. I think I missed a step somewhere.... Can someone explain me what I did wrong? Thanks in advance, David >From <all...@ca...> Tue Oct 31 11:50:47 2000 Received: from blr.vsnl.net.in [202.54.12.6] by canvaslink.com (SMTPD32-6.05) id A8657D00D2; Tue, 31 Oct 2000 11:50:45 -0500 Received: from blr (PPP-191-199.bng.vsnl.net.in [203.197.191.199]) by blr.vsnl.net.in (Postfix) with SMTP id B0F5D5E3AF for <al...@ca...>; Tue, 31 Oct 2000 22:14:55 +0530 (IST) Message-ID: <001b01c0435a$f47e2800$c7b...@vs...> From: "Karthik" <ma...@vs...> To: <al...@ca...> References: <001901c04338$25d32cc0$592a1bd4@frd> <000d01c0433e$ddc0b040$81b...@vs...> <001301c0434b$29d4e440$0101bfbf@f9c6f0> Date: Tue, 31 Oct 2000 22:22:28 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: Re: [AL] differences between... Precedence: bulk Sender: all...@ca... Reply-To: al...@ca... X-UIDL: 273528972 Status: O Content-Length: 2288 Lines: 77 argh - my mistake - my mind must have been eslewhere :) ----- Original Message ----- From: "Matthew Smith" <ma...@th...> To: <al...@ca...> Sent: Tuesday, October 31, 2000 8:29 PM Subject: Re: [AL] differences between... > VC usually keeps 2 parallel projects called Release and Debug and > you select which one you build via a box on the menu bar. > > In the project--> settings are seperate lists of lib files for the two > builds > you should put alld.lib on the debug one and alleg.lib on the release one. > allp.lib is a special version for profiling (working out where your program > spends it's time) which I haven't used but I think you use it in the Debug > build. > > the static librarys are for when you compile for use *WITHOUT* the DLLs > > > ----- Original Message ----- > From: Karthik <ma...@vs...> > To: <al...@ca...> > Sent: Tuesday, October 31, 2000 1:31 PM > Subject: Re: [AL] differences between... > > > > alleg.lib is the optimized Allegro library which you should use when you > are > > compiling for a release > > alld.lib will add extra debug info into your programs - useful to find out > > where your program crashed or simply to debug it ( names of functions are > > seen). Useful while developing a program > > allp.lib is used when you want to profile your program - i.e. measure the > > speeds of various function calls > > > > I haven't used alld.lib and allp.lib under Windows , but I guess it holds > > good for Vc 6 .. > > btw, if you want to use the *.dll , you must link with the static library > > (s_alleg.lib - I'm not sure of the exact filename) and not alleg.lib > > hth, > > Karthik > > ----- Original Message ----- > > From: "Frédéric Drouillon" <fd...@fr...> > > To: <al...@ca...> > > Sent: Tuesday, October 31, 2000 6:12 PM > > Subject: [AL] differences between... > > > > > > > > > > hello, > > > what are the different use between alld.lib alleg.lib allp.lib (allegro > > 3932 > > > compiled) ? > > > I use alleg.lib because "all3932.dll" is smaller. > > > i work with VC 6 so may be i could use the others for good reasons. > > > > > > Could somebody explain me what are the differences between them under > VC6 > > ? > > > > > > Thank > > > frédéric > > > > > > > > > > > > |