From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling graphics executables, png.h Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8abto5$27q$1 AT news5 DOT svr DOT pol DOT co DOT uk> <8ad2ku$edh$1 AT ctb-nnrp1 DOT saix DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 21 X-Trace: /KiKeWX9fAZzf7iaatgl5yEKyz7nDvlFEPIL1waKg9GYBKUf59XDEZd1gpNFindJwhU0KQf0LC8x!vQ0KmEOUzHwJNhxcN6Vw5ais3tgZKrEKZ7uVq1tRV/TTOLpJhf8FQsw5+Ff2Qf0QzyWsIvU30bjs!iKPLu8U= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 11 Mar 2000 17:58:07 GMT Distribution: world Date: Sat, 11 Mar 2000 17:58:07 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 11 Mar 2000 11:05:52 +0200, "Stefan Viljoen" wrote: >> gcc *.cpp -s -O2 -o fire.exe -lstdcxx -lpng -lz >> >> "c:/djgpp/bin/ld.exe: cannot open -lpng: No such file or directory > >The problem is that you need another file too - called libpng.a - look for >this file and download it too. It'll probably be a source distribution; you'll have to `make' it (and libz.a, which it uses) yourself. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/