News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 23 October 2007 build (4553) is out.

Started by killerbot, October 23, 2007, 07:56:30 PM

Previous topic - Next topic

Tornado

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



stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]