Author Topic: Linux releases or compiling on Linux  (Read 12165 times)

Anonymous

  • Guest
Linux releases or compiling on Linux
« on: October 22, 2004, 01:55:45 am »
Are there any Linux releases or has anyone successfully compiled CodeBlocks for Linux?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Linux releases or compiling on Linux
« Reply #1 on: October 22, 2004, 04:49:58 pm »
Hi there.

As far as Linux binaries are concerned, there are no Linux releases and I don't think there will ever be.
To use Code::Blocks under Linux (or any other wxWidgets-supported platform) you should grab the source code from CVS and build it.
That's the theory.

Now for the bad news: I haven't succeeded in building a working Code::Blocks under Linux. It's been some time since my last attempt and I shall give it another try one of these days.
The problem is that when a spawned proccess finishes (like gcc, for example) the IDE hangs. IIRC it had something to do with the pipe being blocked forever, as it couldn't understand the end of stream...
Anyway, this is the only showstopper for now, as far as portability is concerned.

If anyone wants to help in resolving this, feel free to start a new thread here to discuss it.

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Linux releases or compiling on Linux
« Reply #2 on: October 23, 2004, 04:29:29 pm »
Could I download the source code of beta 3? Then I will try to give it a shot :)

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Linux releases or compiling on Linux
« Reply #3 on: October 23, 2004, 04:35:04 pm »
Quote from: Anonymous
Could I download the source code of beta 3? Then I will try to give it a shot :)

I wrote this one, I thought: "lets register, I want to help" ;)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Linux releases or compiling on Linux
« Reply #4 on: October 24, 2004, 05:52:27 pm »
You can grab the source code from CVS. Look here for info on how to setup WinCVS or here for the command line client setup.
If you don't know/want to use CVS, in the next few days I 'll make a tarball of the source code that will be downloadable.

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Linux releases or compiling on Linux
« Reply #5 on: January 09, 2005, 08:09:33 am »
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Linux releases or compiling on Linux
« Reply #6 on: January 09, 2005, 12:42:50 pm »
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

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.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Linux releases or compiling on Linux
« Reply #7 on: February 01, 2005, 03:24:32 am »
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

  • Guest
Linux releases or compiling on Linux
« Reply #8 on: April 16, 2005, 01:04:01 am »
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

  • Guest
Linux releases or compiling on Linux
« Reply #9 on: April 16, 2005, 03:30:19 am »
Thanks!