Author Topic: The 23 October 2007 build (4553) is out.  (Read 21668 times)

Offline Tornado

  • Single posting newcomer
  • *
  • Posts: 4
Re: The 23 October 2007 build (4553) is out.
« Reply #15 on: October 27, 2007, 08:09:21 am »
I build both with Debian and Fedora 7, lately, that is the last couple of SVN releases I have tried to compile on Fedora 7, and have failed. Debian has no probelms. Below is the error I'm recieving, does someone have a quick answer to this problem, before I go on a three day find the bug mission :)

 g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/wxFlatNotebook/include -I../../src/include/propgrid/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT filemanager.lo -MD -MP -MF .deps/filemanager.Tpo -c filemanager.cpp  -fPIC -DPIC -o .libs/filemanager.o
filemanager.cpp: In function 'bool WriteWxStringToFile(wxFile&, const wxString&, wxFontEncoding, bool)':
filemanager.cpp:204: error: no matching function for call to 'wxCSConv::cWC2MB(const wxChar*, size_t&, size_t*)'
/usr/local/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/usr/local/include/wx-2.8/wx/strconv.h:106: note:                 const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
make[3]: *** [filemanager.lo] Error 1
make[3]: Leaving directory `/codeblocks/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/codeblocks/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/codeblocks/src'
make: *** [all-recursive] Error 1

Compiler version:
g++ (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)

Thanks in advance

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7190
    • My Best Post
Re: The 23 October 2007 build (4553) is out.
« Reply #16 on: October 27, 2007, 08:56:32 am »

Try wxGTK 2.8.4 Unicode Release NOT ANSI release.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
When in doubt, read the CB WiKi FAQ.