Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2006 04:09:58 -0500
From:      bob self <bobself@charter.net>
To:        JD Arnold <jdarnold@buddydog.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how do you install wx-config in FreeBSD?
Message-ID:  <43C22866.6070405@charter.net>
In-Reply-To: <dpse1q$rl2$1@sea.gmane.org>
References:  <43BD511F.7010403@charter.net> <dpse1q$rl2$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C22866.6070405>