From: Peter W. <tj...@ex...> - 2006-11-08 10:44:48
|
On 2006-11-08, Davin Pearson <dav...@gm...> wrote: > When I ran "make install" it said command copy not found (I am using > Windows XP Home SP2). So I set UNIX = 1 and it installed OK. > > But when I try to compile myprog.c (copied from jpgalleg-2.5/examples/ex1.c) > it gives me the following linker error: > > cd d:/home/4-jpgalleg/ > make myprog.exe > gcc myprog.c -o myprog.exe -lalleg -ljpgal Try: gcc myprog.c -o myprog.exe -ljpgal -lalleg i.e. switch the order of the libraries. Peter |