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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to