More vbox and build troubles.

Desmond Chapman que_deseja at
Thu Oct 2 14:54:23 UTC 2008

***** 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;
  printf(", expected version 1.2.5 or higher\n");
  return 1;
using the following command line:
g++ -O -Wall -o .tmp_out "-lpng " error: png.h: No such file or directory In function 'int main()': 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.

More information about the freebsd-questions mailing list