Page 1 of 2

Error Building Codelite from Source with wxWidgets 3.1

Posted: Sun Jun 15, 2014 6:40 am
by kubanphillipay
I want to compile Codelite so I can use it on my Ubuntu computer and (hopefully) my RaspberryPi.

I downloaded the most recent wxWidgets 3.1 library and built it from source using the following options:
Gtk2, Unicode, and Static Libraries.

Now when I try to build Codelite from source, I am getting the same build error on both platforms:

Code: Select all

/usr/wx-gtk2-3.1-fpic/lib/libwxscintilla-3.1.a(wxscintilla_UniConversion.o): In function `UTF8Length(wchar_t const*, unsigned int)':
UniConversion.cxx:(.text+0x0): multiple definition of `UTF8Length(wchar_t const*, unsigned int)'
CMakeFiles/plugin.dir/globals.cpp.o:globals.cpp:(.text+0x2970): first defined here
/usr/wx-gtk2-3.1-fpic/lib/libwxscintilla-3.1.a(wxscintilla_UniConversion.o): In function `UTF8FromUTF16(wchar_t const*, unsigned int, char*, unsigned int)':
UniConversion.cxx:(.text+0x80): multiple definition of `UTF8FromUTF16(wchar_t const*, unsigned int, char*, unsigned int)'
CMakeFiles/plugin.dir/globals.cpp.o:globals.cpp:(.text+0x29f0): first defined here
/usr/wx-gtk2-3.1-fpic/lib/libwxscintilla-3.1.a(wxscintilla_UniConversion.o): In function `UTF8CharLength(unsigned char)':
UniConversion.cxx:(.text+0x200): multiple definition of `UTF8CharLength(unsigned char)'
CMakeFiles/plugin.dir/globals.cpp.o:globals.cpp:(.text+0x2b70): first defined here
/usr/wx-gtk2-3.1-fpic/lib/libwxscintilla-3.1.a(wxscintilla_UniConversion.o): In function `UTF16Length(char const*, unsigned int)':
UniConversion.cxx:(.text+0x230): multiple definition of `UTF16Length(char const*, unsigned int)'
CMakeFiles/plugin.dir/globals.cpp.o:globals.cpp:(.text+0x2ba0): first defined here
/usr/wx-gtk2-3.1-fpic/lib/libwxscintilla-3.1.a(wxscintilla_UniConversion.o): In function `UTF16FromUTF8(char const*, unsigned int, wchar_t*, unsigned int)':
UniConversion.cxx:(.text+0x290): multiple definition of `UTF16FromUTF8(char const*, unsigned int, wchar_t*, unsigned int)'
CMakeFiles/plugin.dir/globals.cpp.o:globals.cpp:(.text+0x2c00): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libplugin.so] Error 1
make[1]: *** [Plugin/CMakeFiles/plugin.dir/all] Error 2
make: *** [all] Error 2
Any ideas what could be the problem?

FYI, I even tried to build from wxWidgets3.0 source and had the same error.

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Sun Jun 15, 2014 8:58 am
by eranif
This should be fixed now, git pull and try again
Eran

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Sun Jun 15, 2014 5:49 pm
by kubanphillipay
Thanks for your help on this! I was able to get it to compile without any errors. Unfortunately I was not able to run it.

On the command line I received this error:
Floating point exception (core dumped)

Let me know if there is anything I can do to provide more info if you need it.

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Sun Jun 15, 2014 7:01 pm
by eranif
gdb <path/to/codelite>

and print the backtrace

Eran

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Sun Jun 15, 2014 7:11 pm
by kubanphillipay
Alright, I'm still a little new to linux and gdb so hopefully this helps you out:

Code: Select all

(gdb) run
Starting program: /home/kuban/C++/Libraries/codelite/build-release/bin/codelite 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGFPE, Arithmetic exception.
0x0000000000e6e465 in wxCSConv::DoCreate() const ()

Code: Select all

(gdb) backtrace
#0  0x0000000000e6e465 in wxCSConv::DoCreate() const ()
#1  0x0000000000e6f9d3 in wxCSConv::wxCSConv(wxFontEncoding) ()
#2  0x0000000000e6fa49 in wxGet_wxConvLocalPtr() ()
#3  0x00007ffff3ec9b07 in _GLOBAL__sub_I_strconv.cpp () from /usr/lib/x86_64-linux-gnu/codelite/libwxsqlite3.so
#4  0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdec8, env=env@entry=0x7fffffffded8) at dl-init.c:78
#5  0x00007ffff7dea223 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:36
#6  _dl_init (main_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffdec8, env=0x7fffffffded8) at dl-init.c:126
#7  0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#8  0x0000000000000001 in ?? ()
#9  0x00007fffffffe24f in ?? ()
#10 0x0000000000000000 in ?? ()

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Mon Jun 16, 2014 12:01 am
by eranif
To get more info, can you build codelite in debug mode?

Code: Select all

mkdir build-debug
cd build-debug
cmake .. -DCMAKE_BUILD_TYPE=Debug -DPREFIX=/home/kuban/install
make -j8
make install

gdb /home/kuban/install/bin/codelite
Thanks
Eran

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Mon Jun 16, 2014 3:12 am
by kubanphillipay
Well, now I am not sure if this is a problem with code lite or my wxWidgets build. I build codelite in debug mode and received the exact same output. Then I build wxwidgets in debug mode and then rebuild codelite and received the following output:

Code: Select all

(gdb) run
Starting program: /home/kuban/C++/Libraries/codelite/build-debug/bin/codelite 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.1.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 3.0),
and wxCore used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8).

Program received signal SIGABRT, Aborted.
0x00007ffff11aef79 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.


(gdb) backtrace
#0  0x00007ffff11aef79 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff11b2388 in __GI_abort () at abort.c:89
#2  0x0000000001037c8a in wxAbort () at ./src/common/appbase.cpp:1029
#3  0x0000000001099963 in wxLog::OnLog (level=0, msg=..., info=...)
    at ./src/common/log.cpp:353
#4  0x0000000000953194 in wxLogger::DoCallOnLog (this=0x7fffffffdde0, level=0, 
    format=..., argptr=0x7fffffffdb68)
    at /usr/wx3.1-gtk2-d/include/wx-3.1/wx/log.h:1162
#5  0x00000000009531f3 in wxLogger::DoCallOnLog (this=0x7fffffffdde0, 
    format=..., argptr=0x7fffffffdb68)
    at /usr/wx3.1-gtk2-d/include/wx-3.1/wx/log.h:1167
#6  0x000000000095310d in wxLogger::DoLog (this=0x7fffffffdde0, 
    format=0x19d7ac8 L"Mismatch between the program and library build versions detected.\nThe library used 3.1.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 3.0),\nand wxCore used 3.0 (wchar_t,compiler w"...)
    at /usr/wx3.1-gtk2-d/include/wx-3.1/wx/log.h:1027
#7  0x0000000000953047 in wxLogger::Log (this=0x7fffffffdde0, f1=...)
    at /usr/wx3.1-gtk2-d/include/wx-3.1/wx/log.h:961
#8  0x000000000103709b in wxAppConsoleBase::CheckBuildOptions (
    optionsSignature=0x7ffff41e11f8 "3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8)", componentName=0x7ffff41e11ee "wxCore")
    at ./src/common/appbase.cpp:760
---Type <return> to continue, or q <return> to quit---
#9  0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=1, 
    argv=argv@entry=0x7fffffffded8, env=env@entry=0x7fffffffdee8)
    at dl-init.c:78
#10 0x00007ffff7dea223 in call_init (env=<optimized out>, 
    argv=<optimized out>, argc=<optimized out>, l=<optimized out>)
    at dl-init.c:36
#11 _dl_init (main_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffded8, 
    env=0x7fffffffdee8) at dl-init.c:126
#12 0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#13 0x0000000000000001 in ?? ()
#14 0x00007fffffffe253 in ?? ()
#15 0x0000000000000000 in ?? ()
Any idea where I might start to fix this? Thanks for your continued help on this!

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Mon Jun 16, 2014 7:10 am
by kubanphillipay
Ok, so I figured it may because I am building static libraries that this isn't running. I tried to build shared libaries of wxWidgets instead and then rebuild codelite. I am running into a new issue when trying to compile.

I don't think it can find the library libwx_gtk2u_html-3.1.so.0. I checked my build and make sure it was there (I had to pass -enable-html to ./configure). I am guessing that this library is not loaded in the CMakeLists.txt file. Is there any way to pass that in?

Code: Select all

[ 68%] Building CXX object LLDBDebugger/CMakeFiles/LLDBDebugger.dir/FolderMappingDlg.cpp.o
Linking CXX executable ../bin/codelite-make
/usr/bin/ld: warning: libwx_gtk2u_html-3.1.so.0, needed by //usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0, not found (try using -rpath or -rpath-link)
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnInternalIdle()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshAll()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLBackgroundImage(wxBitmap const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLBackgroundColour(wxColour const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetSelectedTextColour(wxColour const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLWindowTitle(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxSimpleHtmlListBox::ms_classInfo@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnHTMLLinkClicked(wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::~wxHtmlListBox()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::OnHTMLLinkClicked(wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLBackgroundColour() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::OnCellClicked(wxHtmlCell*, int, int, wxMouseEvent const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshAll()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::wxHtmlListBox()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::Init()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxHtmlWindowMouseHelper@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundColour(wxColour const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLWindowTitle(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxHtmlWindow@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetHTMLStatusText(wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetClassInfo() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindow::ms_classInfo@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLBackgroundImage(wxBitmap const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnLinkClicked(unsigned long, wxHtmlLinkInfo const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnMeasureItem(unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxSimpleHtmlListBox::Create(wxWindow*, int, wxPoint const&, wxSize const&, wxArrayString const&, long, wxValidator const&, wxString const&)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnDrawBackground(wxDC&, wxRect const&, unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshRow(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::RefreshRows(unsigned long, unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `typeinfo for wxHtmlListBox@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType, wxString const&, wxString*) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `vtable for wxSimpleHtmlListBox@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshRows(unsigned long, unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::HTMLCoordsToWindow(wxHtmlCell*, wxPoint const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetEventTable() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::SetItemCount(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::RefreshRow(unsigned long)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLBackgroundColour() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetEventHashTable() const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLWindow()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetSelectedTextBgColour(wxColour const&) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::OnCellMouseHover(wxHtmlCell*, int, int)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::GetHTMLWindow()@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnGetItemMarkup(unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlListBox::OnDrawItem(wxDC&, wxRect const&, unsigned long) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `wxHtmlWindowMouseHelper::wxHtmlWindowMouseHelper(wxHtmlWindowInterface*)@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::GetHTMLCursor(wxHtmlWindowInterface::HTMLCursor) const@WXU_3.1'
//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0: undefined reference to `non-virtual thunk to wxHtmlListBox::SetHTMLStatusText(wxString const&)@WXU_3.1'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/codelite-make] Error 1
make[1]: *** [codelite_make/CMakeFiles/codelite-make.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Edit:
I checked the CMakeCache.txt file and noticed that lwx_gtk2u_html-3.1 was listed. Now I'm not sure what the problem is. Also, I tried this with 3.0 and 3.1 libraries and had the same result.

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Mon Jun 16, 2014 9:11 am
by eranif
kubanphillipay wrote:Ok, so I figured it may because I am building static libraries that this isn't running
Yes. CodeLite can not run with static build of wxWidgets

Code: Select all

//usr/wx3.1-gtk2-sd/lib/libwx_gtk2u_xrc-3.1.so.0
This is a very unusual path for a library.

How did you build your wxWidgets?

Eran

Re: Error Building Codelite from Source with wxWidgets 3.1

Posted: Mon Jun 16, 2014 9:53 pm
by kubanphillipay
Ok, managed to solve my build issues. Still not sure exactly where I went wrong but it's working now...

However, I still can't launch codelite. Similar issue as before:

Code: Select all

(gdb) run
Starting program: /home/kuban/C++/Libraries/codelite-build-debug-3.1/bin/codelite
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGFPE, Arithmetic exception.
0x00007ffff51050e0 in wxEncodingNameCache_wxImplementation_HashTable::GetNode (this=0x7ffff54478c0 <gs_nameCache>,
    key=@0x7fffffffe3e0: wxFONTENCODING_UTF8) at ./src/common/strconv.cpp:2985
2985    WX_DECLARE_HASH_MAP( wxFontEncoding, wxString, wxIntegerHash, wxIntegerEqual,
(gdb) backtrace
#0  0x00007ffff51050e0 in wxEncodingNameCache_wxImplementation_HashTable::GetNode (this=0x7ffff54478c0 <gs_nameCache>,
    key=@0x7fffffffe3e0: wxFONTENCODING_UTF8) at ./src/common/strconv.cpp:2985
#1  0x00007ffff51052fc in wxEncodingNameCache::find (this=0x7ffff54478c0 <gs_nameCache>, key=@0x7fffffffe3e0: wxFONTENCODING_UTF8)
    at ./src/common/strconv.cpp:2985
#2  0x00007ffff5102e9a in wxCSConv::DoCreate (this=0x7ffff5447980 <wxGet_wxConvLocalPtr()::wxConvLocalObj>) at ./src/common/strconv.cpp:3042
#3  0x00007ffff51029ba in wxCSConv::wxCSConv (this=0x7ffff5447980 <wxGet_wxConvLocalPtr()::wxConvLocalObj>, encoding=wxFONTENCODING_SYSTEM)
    at ./src/common/strconv.cpp:2938
#4  0x00007ffff5103cbc in wxGet_wxConvLocalPtr () at ./src/common/strconv.cpp:3352
#5  0x00007ffff364ab07 in _GLOBAL__sub_I_strconv.cpp () from /usr/lib/x86_64-linux-gnu/codelite/libwxsqlite3.so
#6  0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe5b8, env=env@entry=0x7fffffffe5c8)
    at dl-init.c:78
#7  0x00007ffff7dea223 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:36
#8  _dl_init (main_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffe5b8, env=0x7fffffffe5c8) at dl-init.c:126
#9  0x00007ffff7ddb30a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#10 0x0000000000000001 in ?? ()
#11 0x00007fffffffe7dd in ?? ()
#12 0x0000000000000000 in ?? ()
I am using wxwidgets3.1 with GTk2, unicode, shared libraries, and debug enabled. I built codelite with Debug enabled.