***** Checking libpng *****
compiling the following source file:
#include <cstdio>
#include <png.h>
extern "C" int main(void)
{
  printf("found version %s", PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.5 or higher\n");
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpng "
.tmp_src.cc:2:17: error: png.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scope


I need the headers for this library- libpng-1.2.32. Are they in ports as part 
of another package or do I need to build them? If so, how?


_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to