From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:54:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23BBA1065687 for ; Thu, 2 Oct 2008 14:54:23 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s13.blu0.hotmail.com (blu0-omc4-s13.blu0.hotmail.com [65.55.111.152]) by mx1.freebsd.org (Postfix) with ESMTP id DDFFC8FC0C for ; Thu, 2 Oct 2008 14:54:22 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W48 ([65.55.111.136]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Oct 2008 07:54:22 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , Date: Thu, 2 Oct 2008 14:54:22 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2008 14:54:22.0717 (UTC) FILETIME=[C188CAD0:01C9249E] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: More vbox and build troubles. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:54:23 -0000 ***** Checking libpng ***** compiling the following source file: #include #include 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/=