Problem building wxFormBuilder

87 views
Skip to first unread message

Stewart Douglas

unread,
Sep 16, 2015, 12:32:54 PM9/16/15
to wx-u...@googlegroups.com
Running on Debian testing, am trying to build wxFormBuilder and get the following error at link time:

/usr/local/lib/libwx_gtk2u_stc-3.1.so: undefined reference to `Editor::CaseMapString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
collect2: error: ld returned 1 exit status

Running nm -C on the relevant library shows

                 U Editor::CaseMapString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)
000000000005df00 t Editor::CaseMapString(std::string const&, int)


Am building/linking against the latest version of wxWidgets from git (SHA1 07380ba0b54a557f7f300db607c90869fe656a89). Looking at the header file in stc/scintilla/src/Editor.h I see only one CaseMapString method which matches the later definition shown above.

I configured my wxWidgets build with the following options: --enable-stl --enable-std_containers --enable-std_iostreams --enable-std_string --enable-mediactrl

I'm having to build wxFB from source, as the Ubuntu packages I have previously used are not installing now that Debian testing has moved to gcc5 by default. I suspect that my build issue is related to this transition, rather than an issue with wxFB. Anyone had any luck building wxFB on Debian testing, or got any thoughts ?

Thanks

Stew
-- 
Stewart Douglas
sdou...@snowgold.com
http://www.snowgold.com

Stewart Douglas

unread,
Sep 17, 2015, 7:28:43 AM9/17/15
to wx-u...@googlegroups.com
A clean build of wx fixed my issues, apologies for the noise
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to wx-users+u...@googlegroups.com
or visit http://groups.google.com/group/wx-users
Reply all
Reply to author
Forward
0 new messages