I'd really like to try Code::Blocks, but so far I'm unable to compile it. I get
cbprofilerexec.cpp: In member function `void CBProfilerExecDlg::WriteToFile(wxCommandEvent&)':
cbprofilerexec.cpp:286: error: no matching function for call to `wxFFile::wxFFile(const wxChar*, const wchar_t[2])'
I used the ebuild and patch at http://bugs.gentoo.org/show_bug.cgi?id=89533 (http://bugs.gentoo.org/show_bug.cgi?id=89533). I also posted a detailed output of the error at the same bug, but it's been days and nobody has answered yet, so I'm hoping I'd get more feedback here...
could you please post the output of:
# wx-config --version-full
# wx-config-2.6 --version-full
and tell me which use flags you used for wxGTK:
# emerge -vp wxGTK
`wx-config-2.6 --version-full` returns 2.6.2.1 and `wx-config --version` returns 2.4.2 (--version-full was not a valid parameter for wx-config).
My x11-libs/wxGTK-2.6.2-r1 is compiled with USE="X joystick opengl sdl unicode -debug -doc -gnome -odbc".
When you want to compile the svn version you need wxGTK 2.6. You installed it, but ./configure uses wx-config by default. The problem is that wx-config is symlinked to wxGTK 2.4.2.
You can do one (or more) of these things to solve the problem:
1. change the symlink, so that wx-config points to wx-config-2.6
2. you run ./configure with --with-wx-config=/path/to/wx-config-2.6
3. perhaps removing wxGTK 2.4.2, if also installed could do the same
Daniel
You were right, it used the wx-config from 2.4.x. I thought the ebuild checked that but it was only the svn ebuild that did it correctly. Anyway I uploaded the fix to the bug, if anyone's interested.
Thanks.