Bug #8820 2006-09-17 06:50
afb
contrib plugins don't compile on wxMac
"dragscroll" and "keybinder" doesn't link on wxMac: g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/sdk -I/usr/local/lib/wx/include/mac-ansi-release-2.6 -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/sdk -I../../../../src/sdk/wxscintilla/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT dragscrollcfg.lo -MD -MP -MF .deps/dragscrollcfg.Tpo -c dragscrollcfg.cpp -fno-common -DPIC -o .libs/dragscrollcfg.o /bin/sh ../../../../libtool --mode=link g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o libdragscroll.la -rpath /usr/local/share/codeblocks/plugins -module -version-info 0:1:0 -shared -no-undefined -avoid-version dragscroll.lo dragscrollcfg.lo -L/usr/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_mac-2.6 ../../../sdk/libcodeblocks.la -lpthread -ldl g++ -bundle -Wl,-bind_at_load -o .libs/libdragscroll.so .libs/dragscroll.o .libs/dragscrollcfg.o /usr/local/lib/libwx_mac-2.6.dylib -L/usr/local/lib -lwx_mac-2.6 ../../../sdk/.libs/libcodeblocks.0.0.1.dylib -lpthread -ldl ld: Undefined symbols: MyMouseEvents::OnMouseEvent(wxMouseEvent&) make[4]: *** [libdragscroll.la] Error 1 g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/sdk -I/usr/local/lib/wx/include/mac-ansi-release-2.6 -I/usr/local/include/wx-2.6 -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -I../../../../src/sdk -I../../../../src/sdk/wxscintilla/include -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT menuutils.lo -MD -MP -MF .deps/menuutils.Tpo -c menuutils.cpp -fno-common -DPIC -o .libs/menuutils.o /bin/sh ../../../../libtool --mode=link g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o libkeybinder.la -rpath /usr/local/share/codeblocks/plugins -module -version-info 0:1:0 -shared -no-undefined -avoid-version cbkeybinder.lo keybinder.lo menuutils.lo -L/usr/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -lwx_mac-2.6 ../../../sdk/libcodeblocks.la -lpthread -ldl g++ -bundle -Wl,-bind_at_load -o .libs/libkeybinder.so .libs/cbkeybinder.o .libs/keybinder.o .libs/menuutils.o /usr/local/lib/libwx_mac-2.6.dylib -L/usr/local/lib -lwx_mac-2.6 ../../../sdk/.libs/libcodeblocks.0.0.1.dylib -lpthread -ldl ld: Undefined symbols: wxMenuCmd::Update(wxMenuItem*) make[4]: *** [libkeybinder.la] Error 1 Patch: http://developer.berlios.de/patch/?func=detailpatch&patch_id=1424&group_id=5358
- Category
- Plugin::Any
- Group
- Status
- Closed
- Close date
- 2006-10-01 00:58
- Assigned to
- pecan
History
afb 2006-09-17 07:00
title says "compile", but it meant to say "link"... (oh well)
killerbot 2006-09-24 07:35
could you try again, pecan has done some changes in svn.
afb 2006-09-24 18:19
I think it should be OK now, apparently all that was needed was to make wxMac use the same version as wxGTK... ?