From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 09:10:07 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36AEA16A41F for ; Mon, 9 Jan 2006 09:10:07 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxsf26.cluster1.charter.net (mxsf26.cluster1.charter.net [209.225.28.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8EBA43D46 for ; Mon, 9 Jan 2006 09:10:06 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxip09a.cluster1.charter.net (mxip09a.cluster1.charter.net [209.225.28.139]) by mxsf26.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k099A0cD023721 for ; Mon, 9 Jan 2006 04:10:01 -0500 Received: from 24-197-117-006.dhcp.spbg.sc.charter.com (HELO [192.168.1.101]) ([24.197.117.6]) by mxip09a.cluster1.charter.net with ESMTP; 09 Jan 2006 04:10:01 -0500 X-IronPort-AV: i="3.99,345,1131339600"; d="scan'208"; a="1800165351:sNHT24769240" Message-ID: <43C22866.6070405@charter.net> Date: Mon, 09 Jan 2006 04:09:58 -0500 From: bob self User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: JD Arnold References: <43BD511F.7010403@charter.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: how do you install wx-config in FreeBSD? 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: Mon, 09 Jan 2006 09:10:07 -0000 JD Arnold wrote: .... Thanks. Things are starting to work. Now that wx-config works a couple more questions have come up about wxgtk2. I tried building the penguin sample that comes with wxWidgets. I get a link warning: /usr/bin/ld: warning: libm.so.3, needed by /usr/X11R6/lib/libGL.so.1, not found (try using -rpath or -rpath-link) When I try to run it, I get: /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by "libGL.so.1" How do I fix this problem? All of my ports are supposed to be up-to-date. Also, another issue came up when I tried to compile the mediactrl example: winmain.cpp:88:2: #error "Not all required elements are enabled. Please modify setup.h!" winmain.cpp:196: error: `wxMediaEvent' has not been declared How do you do this in FreeBSD if you use portupgrade? Is there a config file to turn on the mediactrl stuff? I'm compiling with g++ -I/usr/X11R6/include -c `wx-config --cxxflags` winmain.cpp # wx-config --cxxflags shows: -I/usr/X11R6/include/wx-2.6/gtk2-ansi-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BI TS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA Bob