Date: Thu, 2 Oct 2008 14:54:22 +0000 From: Desmond Chapman <que_deseja@hotmail.com> To: <freebsd-questions@freebsd.org>, <vbox-dev@virtualbox.org> Subject: More vbox and build troubles. Message-ID: <BLU126-W48A10167A066B5601F1ABEED3D0@phx.gbl>
next in thread | raw e-mail | index | archive | help
***** Checking libpng ***** compiling the following source file: #include <cstdio> #include <png.h> extern "C" int main(void) { printf("found version %s"=2C PNG_LIBPNG_VER_STRING)=3B #if PNG_LIBPNG_VER >=3D 10205 printf("=2C OK.\n")=3B return 0=3B #else printf("=2C expected version 1.2.5 or higher\n")=3B return 1=3B #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 scop= e I need the headers for this library- libpng-1.2.32. Are they in ports as pa= rt of another package or do I need to build them? If so=2C how? _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU126-W48A10167A066B5601F1ABEED3D0>