Re: [PDCurses] PDCurses compilations problems

2007-02-25 Thread William McBrine
On Fri, 23 Feb 2007, Gareth Brown wrote: I've been racking my head for hours trying to compile PDCurses programs on my Mac OS X installation, and Linux. I'm in a dire need of help. What I'm trying todo is compile the demos included separately using the following; $ gcc firework.c

Re: [PDCurses] PDCurses compilations problems

2007-02-23 Thread Robert Zaleski
Hey Gareth, To help ld find the library, assuming it's not somewhere like /usr/lib, you need to either add a -L path/to/pdcurses/lib so it can find the library. I believe you can also do -l /path/to/pdcurses/lib/libpdcurses.a and it will work correctly as well. I hope that helps.