delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/10/18:40:42

From: "David" <david AT coneySpamdale DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling graphics executables, png.h
Date: Fri, 10 Mar 2000 22:40:35 -0000
Organization: Customer of Planet Online
Lines: 19
Message-ID: <8abto5$27q$1@news5.svr.pol.co.uk>
NNTP-Posting-Host: modem-140.algae-blennie.dialup.pol.co.uk
X-Trace: news5.svr.pol.co.uk 952728133 2298 62.136.222.140 (10 Mar 2000 22:42:13 GMT)
NNTP-Posting-Date: 10 Mar 2000 22:42:13 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

hi C/++ gurus,
I downloaded an excellent set to articles on graphics (mainly h13 stuff)
from flipcode (www.flipcode.com/demomaking). All the articles come with
source code that loads .png files and puts them through filters etc... well,
in the code, the djgpp arguments it lists to compile are:
gcc *.cpp -s -O2 -o fire.exe -lstdcxx -lpng -lz

First I got an error about not having png.h so I went off and downloaded
that and loads of other .h files it needed, but even now it fails wit the
error:
"c:/djgpp/bin/ld.exe: cannot open -lpng: No such file or directory <ENOENT>
collect2: ld returned 1 exit status"

Can you help me sort this out, believe me I've tried, and can't. So please
help!!
Cheers,
Dave


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019