User forums > Using Code::Blocks

Linux releases or compiling on Linux

<< < (2/2)

Anonymous:
Well, just tried to build it, and it seems that its not finding a specific file that is included, "wx/stc/stc.h" I am going to have to check which verison of WxWidgets I am using, I might be behind or something.

mandrav:
This thread was about three months old, so the information it contains is outdated.
Here are some *rough* instructions to build Code::Blocks under Linux.

Either checkout a CVS copy or download the source package of the latest version.
Before building, you will have to have wxWidgets development packages installed (or build it yourself - it's straightforward).
You will also need contrib/xrc and contrib/stc from the wxWidgets distribution (the wx/stc/stc.h file you can't find is in there).
Then check the top of the file Makefile.unix and, possibly, adjust for your environment.
Last step is to issue "make -f Makefile.unix" followed by a "make -f Makefile.unix update".

I have tested it under Debian and Gentoo. I got alsoe reports of succesful compiling under Fedora Core 2 and Ubuntu. It compiles correctly but only *works* when wxGTK is compiled against gtk2. With gtk1, although it compiles fine, it segfaults and the program doesn't run. I haven't found out why yet.

As the makefile does not contain a "install" target, you will have to create a shell script under src/output.
Paste the following lines in a file called src/output/run.sh and make it executable.

--- Code: ---
#!/bin/sh

# adjust the following line
# e.g. if you have the sources in /home/user/cvs/codeblocks, then
# make it APP_DIR=/home/user/cvs/codeblocks/src/output
APP_DIR=<insert_full_path_to_dir_with_codeblocks.exe>

export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
$APP_DIR/codeblocks.exe --prefix=$APP_DIR

--- End code ---

You can then launch Code::Blocks by running src/output/run.sh
Shell script creation has been integrated in the Makefile.unix but it's only in CVS...

HTH,
Yiannis.

Anonymous:
Compiling sdk/msvc7loader.cpp...
In file included from sdk/projectbuildtarget.h:5,
                 from sdk/cbproject.h:9,
                 from sdk/msvc7loader.cpp:6:
sdk/globals.h:60: error: default argument for `const wxString&separator' has
   type `const char[2]'
sdk/globals.h:61: error: default argument for `const wxString&separator' has
   type `const char[2]'
In file included from sdk/msvc7loader.h:4,
                 from sdk/msvc7loader.cpp:8:
sdk/ibaseloader.h: In member function `wxString IBaseLoader::FixEntities(const
   wxString&)':
sdk/ibaseloader.h:21: error: no matching function for call to `wxString::
   Replace(const char[2], const char[7])'
/usr/local/include/wx-2.5/wx/string.h:1047: error: candidates are: size_t
   wxString::Replace(const wxChar*, const wxChar*, bool)
sdk/msvc7loader.cpp: In member function `virtual bool MSVC7Loader::Open(const
   wxString&)':
sdk/msvc7loader.cpp:35: error: no matching function for call to `TiXmlDocument
   ::TiXmlDocument(const wxChar*)'
sdk/tinyxml/tinyxml.h:984: error: candidates are:
   TiXmlDocument::TiXmlDocument(const TiXmlDocument&)
sdk/tinyxml/tinyxml.h:989: error:
   TiXmlDocument::TiXmlDocument(const char*)
sdk/tinyxml/tinyxml.h:987: error:
   TiXmlDocument::TiXmlDocument()
sdk/msvc7loader.cpp:39: error: no matching function for call to `MessageManager
   ::DebugLog(const char[24])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:45: error: no matching function for call to `MessageManager
   ::DebugLog(const char[45])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:50: error: no matching function for call to `MessageManager
   ::DebugLog(const char[29])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:60: error: conversion from `const char*' to `const wxString
   ' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp: In member function `bool
   MSVC7Loader::DoSelectConfiguration(TiXmlElement*)':
sdk/msvc7loader.cpp:76: error: no matching function for call to `MessageManager
   ::DebugLog(const char[28])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:83: error: no matching function for call to `MessageManager
   ::DebugLog(const char[27])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:91: error: conversion from `const char*' to `const wxString
   ' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:109: error: no matching function for call to `
   MessageManager::DebugLog(const char[12])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp: In member function `bool
   MSVC7Loader::DoImport(TiXmlElement*)':
sdk/msvc7loader.cpp:130: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:131: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:133: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:134: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:136: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:138: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:140: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:144: error: conversion from `const char[4]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:149: error: no matching function for call to `
   MessageManager::DebugLog(const char[18])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:158: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:159: error: invalid initialization of reference of type '
   const wxString&' from expression of type 'const char*'
sdk/globals.h:61: error: in passing argument 2 of `wxArrayString
   GetArrayFromString(const wxString&, const wxString&)'
sdk/msvc7loader.cpp:165: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:166: error: invalid initialization of reference of type '
   const wxString&' from expression of type 'const char*'
sdk/globals.h:61: error: in passing argument 2 of `wxArrayString
   GetArrayFromString(const wxString&, const wxString&)'
sdk/msvc7loader.cpp:170: error: ambiguous overload for 'operator+' in '"-D" +
   (&arr)->wxArrayString::operator[](i)'
/usr/local/include/wx-2.5/wx/string.h:1513: error: candidates are: wxString
   operator+(const wxString&, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1514: error:                 wxString
   operator+(const wxString&, wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:1515: error:                 wxString
   operator+(wchar_t, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1516: error:                 wxString
   operator+(const wxString&, const wxChar*) <near match>
/usr/local/include/wx-2.5/wx/string.h:1525: error:                 wxString
   operator+(const wxWCharBuffer&, const wxString&) <near match>
sdk/msvc7loader.cpp:172: error: ambiguous overload for 'operator+' in '"/D" +
   (&arr)->wxArrayString::operator[](i)'
/usr/local/include/wx-2.5/wx/string.h:1513: error: candidates are: wxString
   operator+(const wxString&, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1514: error:                 wxString
   operator+(const wxString&, wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:1515: error:                 wxString
   operator+(wchar_t, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1516: error:                 wxString
   operator+(const wxString&, const wxChar*) <near match>
/usr/local/include/wx-2.5/wx/string.h:1525: error:                 wxString
   operator+(const wxWCharBuffer&, const wxString&) <near match>
sdk/msvc7loader.cpp:175: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:178: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:179: error: conversion from `const char[3]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:180: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:180: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:180: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:181: error: conversion from `const char[3]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:182: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:183: error: conversion from `const char[6]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:187: error: ambiguous overload for 'operator+' in '"/W" +
   tmp'
/usr/local/include/wx-2.5/wx/string.h:1513: error: candidates are: wxString
   operator+(const wxString&, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1514: error:                 wxString
   operator+(const wxString&, wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:1515: error:                 wxString
   operator+(wchar_t, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1516: error:                 wxString
   operator+(const wxString&, const wxChar*) <near match>
/usr/local/include/wx-2.5/wx/string.h:1525: error:                 wxString
   operator+(const wxWCharBuffer&, const wxString&) <near match>
sdk/msvc7loader.cpp:192: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("Detect64BitPortabilityProblems")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:193: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:194: error: conversion from `const char[6]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:196: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("MinimalRebuild")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:197: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:198: error: conversion from `const char[4]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:202: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("RuntimeTypeInfo")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:203: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:204: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:208: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("SuppressStartupBanner")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:209: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:210: error: conversion from `const char[8]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:217: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:218: error: invalid initialization of reference of type '
   const wxString&' from expression of type 'const char*'
sdk/globals.h:61: error: in passing argument 2 of `wxArrayString
   GetArrayFromString(const wxString&, const wxString&)'
sdk/msvc7loader.cpp:224: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:225: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:226: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:230: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("SuppressStartupBanner")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:231: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:232: error: conversion from `const char[8]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:235: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("OutputFile")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:236: error: no matching function for call to `wxString::
   Replace(const char[10], wxString&)'
/usr/local/include/wx-2.5/wx/string.h:1047: error: candidates are: size_t
   wxString::Replace(const wxChar*, const wxChar*, bool)
sdk/msvc7loader.cpp:239: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:240: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:241: error: conversion from `const char*' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:243: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("LinkIncremental")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:244: error: no matching function for call to `wxString::
   Matches(const char[2])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:245: error: conversion from `const char[13]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:247: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("GenerateDebugInformation")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:248: error: no matching function for call to `wxString::
   Matches(const char[5])'
/usr/local/include/wx-2.5/wx/string.h:1050: error: candidates are: bool
   wxString::Matches(const wxChar*) const
sdk/msvc7loader.cpp:249: error: conversion from `const char[7]' to `const
   wxString' is ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
sdk/msvc7loader.cpp:251: error: ambiguous overload for 'operator=' in 'tmp =
   tool->TiXmlElement::Attribute("ProgramDatabaseFile")'
/usr/local/include/wx-2.5/wx/string.h:643: error: candidates are: wxString&
   wxString::operator=(int) <near match>
/usr/local/include/wx-2.5/wx/string.h:857: error:                 wxString&
   wxString::operator=(wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:864: error:                 wxString&
   wxString::operator=(const wxWCharBuffer&) <near match>
/usr/local/include/wx-2.5/wx/string.h:919: error:                 wxString&
   wxString::operator=(const wxString&) <near match>
sdk/msvc7loader.cpp:254: error: no matching function for call to `wxString::
   Replace(const char[10], wxString&)'
/usr/local/include/wx-2.5/wx/string.h:1047: error: candidates are: size_t
   wxString::Replace(const wxChar*, const wxChar*, bool)
sdk/msvc7loader.cpp:255: error: ambiguous overload for 'operator+' in '"/pdb:"
   + UnixFilename(const wxString&)()'
/usr/local/include/wx-2.5/wx/string.h:1513: error: candidates are: wxString
   operator+(const wxString&, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1514: error:                 wxString
   operator+(const wxString&, wchar_t) <near match>
/usr/local/include/wx-2.5/wx/string.h:1515: error:                 wxString
   operator+(wchar_t, const wxString&) <near match>
/usr/local/include/wx-2.5/wx/string.h:1516: error:                 wxString
   operator+(const wxString&, const wxChar*) <near match>
/usr/local/include/wx-2.5/wx/string.h:1525: error:                 wxString
   operator+(const wxWCharBuffer&, const wxString&) <near match>
sdk/msvc7loader.cpp: In member function `bool
   MSVC7Loader::DoImportFiles(TiXmlElement*)':
sdk/msvc7loader.cpp:269: error: no matching function for call to `
   MessageManager::DebugLog(const char[19])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:276: error: no matching function for call to `
   MessageManager::DebugLog(const char[20])'
sdk/messagemanager.h:33: error: candidates are: void
   MessageManager::DebugLog(const wxChar*, ...)
sdk/msvc7loader.cpp:285: error: conversion from `const char*' to `wxString' is
   ambiguous
/usr/local/include/wx-2.5/wx/string.h:660: error: candidates are:
   wxString::wxString(wchar_t, unsigned int) <near match>
/usr/local/include/wx-2.5/wx/string.h:649: error:
   wxString::wxString(int) <near match>
make: *** [sdk/.objs/msvc7loader.o] Error 1
lrm@linux:~/Devel/CodeBlocks-1.0-beta5>

wxWidgets 2.5.3
SuSE 9.2

???.

Anonymous:
OK, try compiling vs. wxWidgets 2.42 - with NO unicode support

So far we haven't been able to compile vs. wxWidgets 2.5, and there's lots of non-unicode code in CodeBlocks that would make the program either fail-to-compile, or crash.

Anonymous:
Thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version