When I try to compile Allegro using the command line, i type
gpp test.cpp -o test.exe -lalleg
and an error message comes up saying
'I'm the big fat dumb compiler and I can't find -lalleg'
I did everything the Readme file told me to do. Could anyone help me please?
P.S I'm using DJGPP
haha, are you serious? i'll have to try that... if you aren't then shame on you! hehe...
have you successfully compiled allegro and put the output (alleg.a, or something like that) in your djgpp subdirectories? (i forget at the moment which one it should be...) go to the directory where you unzipped allegro and type make, which uses the makefile and compiles the whole shibazz... _then_ use the command you'd use to link allegro to your source code...
other than that, you'd have to be more specific, what other steps did you do to obtain such a [strange and funny] error?
OK...I got it so that it started to compile, but now it can't find
check that you have the latest DJGPP, i think it's v2.0 with gcc 2.95... also, check your DJGPP installation as well... can you get other programs to successfully compile with it? those that link [automatically] with -lstdcxx? perhaps you should just start from scratch, your installations, that is... because then you'd know that everything was clean. it _should_ compile. when i got mine to do so, eventually, it had some strange warnings [a lot of them]... but it did in the end compile. granted, i might have an incomplete or unstable build of allegro, but nonetheless i use it... [i'm still learning more about it...] makes you wonder whether or not Shawn made it so that no warnings should have occured. ah well...
so... redo your installations, unless there's other stuff you can tell me... try to find stdcxx.a in your DJGPP zips and replace it, if you don't want to have to reset the environment variables and what not when you reinstall...
oh... www.delorie.com/djgpp , of course...
I only tried that 500 times(no offense)
well then i don't know what else to tell you... i do know, though, that it does compile and link just fine... make sure you dl-ed all the files in your DJGPP package. y'know what, if you can't get your answer here then you should've already figured to go somewhere else... my... and DJGPP does have quite a good user community...
fact is, if you did everything like it should have been, it should have worked... i don't know what else to tell you...
It's a long shot, try a compile with gpp.