I'm still running version v5.0.6213-92-g59b1379 as I haven't been able to compile a newer version for quite some time now.
let's get the cmake part out of the way first:
Code: Select all
hugin@blackbird ~/projects/codelite/build-release $ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DWITH_WX_CONFIG=/usr/bin/wx-config-2.9 -DENABLE_CLANG=1 -DWITH_PCH=0 ..
-- BUILD_DIRECTORY is set to /home/hugin/projects/codelite/build-release
-- OS name Linux
-- wx-config used is: /usr/bin/wx-config-2.9
-- wxWidgets version is: 2.9.5
-- LIBSSH_LIB is set to /usr/lib64/libssh.so
-- Building in Release mode
-- Executables will be written into /home/hugin/projects/codelite/build-release/bin
-- Shared Objects will be written into /home/hugin/projects/codelite/build-release/lib
-- Adding -DNDEBUG to definitions
-- CPACK_SYSTEM_NAME --x86_64
-- ARCH 64
-- ARCH_NAME x86_64
-- clang link line -L/home/hugin/projects/codelite/sdk/clang/Linux/x86_64/lib -lclang
-- clang include path /home/hugin/projects/codelite/sdk/clang/Linux/x86_64/include
-- clang binary /home/hugin/projects/codelite/sdk/clang/Linux/x86_64/lib/libclang.so
-- CL_SRC_ROOT is set to => /home/hugin/projects/codelite
-- PREFIX is set to => /usr
-- PREFIX/LIB_DIR is set to => /usr/lib64
-- PLUGINS_DIR is set to => /usr/lib64/codelite
-- wx-config is set to => /usr/bin/wx-config-2.9
-- Found wxWidgets: TRUE
-- libcodelite.so is using RPATH set to /usr/lib64/codelite
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.5.0")
-- Found GTK2_GTK: /usr/lib64/libgtk-x11-2.0.so
-- libplugin.so is using RPATH set to /usr/lib64/codelite
-- Generating desktop file...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hugin/projects/codelite/build-release
Code: Select all
hugin@blackbird ~/projects/codelite/build-release $ make
Scanning dependencies of target sqlite3lib
[ 1%] Building C object sqlite3/CMakeFiles/sqlite3lib.dir/sqlite3.c.o
Linking C static library ../lib/libsqlite3lib.a
[ 1%] Built target sqlite3lib
Scanning dependencies of target wxsqlite3
[ 2%] Building CXX object sdk/wxsqlite3/CMakeFiles/wxsqlite3.dir/src/wxsqlite3.cpp.o
Linking CXX shared library ../../lib/libwxsqlite3.so
[ 2%] Built target wxsqlite3
Scanning dependencies of target wxshapeframework
[ 2%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/EllipseShape.cpp.o
[ 2%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ArrowBase.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeCanvas.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/PolygonShapeXml.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/FixedRectShape.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ControlShape.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RoundRectShape.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/BitmapShapeXml.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/Thumbnail.cpp.o
[ 3%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/OrthoShape.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/GridShape.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RectShape.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CanvasHistory.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeDataObject.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/MultiSelRect.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/SFEvents.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeHandle.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiagramManager.cpp.o
[ 4%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiamondShape.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/AutoLayout.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/Printout.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/LineShape.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CircleArrow.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CanvasState.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/TextShape.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/DiamondArrow.cpp.o
[ 5%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/BitmapShape.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CircleShape.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CommonFcn.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ScaledDC.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/CurveShape.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wx_pch.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeBase.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/FlexGridShape.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/RoundOrthoShape.cpp.o
[ 6%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeBaseXml.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/OpenArrow.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/ShapeDockpoint.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/PolygonShape.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/TextShapeXml.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/SolidArrow.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/EditTextShape.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wxxmlserializer/XmlSerializer.cpp.o
[ 7%] Building CXX object sdk/wxshapeframework/CMakeFiles/wxshapeframework.dir/src/wxxmlserializer/PropertyIO.cpp.o
Linking CXX shared library ../../lib/libwxshapeframework.so
[ 7%] Built target wxshapeframework
Scanning dependencies of target databaselayersqlite
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteResultSet.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteResultSetMetaData.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqliteDatabaseLayer.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/SqlitePreparedStatement.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseResultSet.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseErrorReporter.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseStringConverter.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseLayer.cpp.o
[ 8%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/DatabaseQueryParser.cpp.o
[ 9%] Building CXX object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/dblayer/PreparedStatement.cpp.o
[ 9%] Building C object sdk/databaselayer/CMakeFiles/databaselayersqlite.dir/src/sqlite3/sqlite3.c.o
Linking CXX shared library ../../lib/libdatabaselayersqlite.so
[ 9%] Built target databaselayersqlite
Scanning dependencies of target libcodelite
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/entry.cpp.o
In file included from /home/hugin/projects/codelite/CodeLite/tags_options_data.h:31:0,
from /home/hugin/projects/codelite/CodeLite/ctags_manager.h:41,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:26:
/home/hugin/projects/codelite/CodeLite/cl_config.h:50:41: error: conversion from 'const char [14]' to 'const wxString' is ambiguous
clConfig(const wxString& filename = "codelite.conf");
^
/home/hugin/projects/codelite/CodeLite/cl_config.h:50:41: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [14]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [14]' to 'int'
In file included from /home/hugin/projects/codelite/CodeLite/ctags_manager.h:41:0,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:26:
/home/hugin/projects/codelite/CodeLite/tags_options_data.h: In member function 'void TagsOptionsData::SetClangSearchPaths(const wxString&)':
/home/hugin/projects/codelite/CodeLite/tags_options_data.h:148:95: error: conversion from 'const char [3]' to 'const wxString' is ambiguous
this->m_clangSearchPaths = ::wxStringTokenize(clangSearchPaths, "\r\n", wxTOKEN_STRTOK);
^
/home/hugin/projects/codelite/CodeLite/tags_options_data.h:148:95: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [3]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [3]' to 'int'
In file included from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:73:0,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/tokenzr.h:131:1: error: initializing argument 2 of 'wxArrayString wxStringTokenize(const wxString&, const wxString&, wxStringTokenizerMode)'
wxStringTokenize(const wxString& str,
^
In file included from /home/hugin/projects/codelite/CodeLite/ctags_manager.h:41:0,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:26:
/home/hugin/projects/codelite/CodeLite/tags_options_data.h: In member function 'void TagsOptionsData::SetTypes(const wxString&)':
/home/hugin/projects/codelite/CodeLite/tags_options_data.h:203:73: error: conversion from 'const char [3]' to 'const wxString' is ambiguous
this->m_types = ::wxStringTokenize(types, "\r\n", wxTOKEN_STRTOK);
^
/home/hugin/projects/codelite/CodeLite/tags_options_data.h:203:73: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [3]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [3]' to 'int'
In file included from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:73:0,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/tokenzr.h:131:1: error: initializing argument 2 of 'wxArrayString wxStringTokenize(const wxString&, const wxString&, wxStringTokenizerMode)'
wxStringTokenize(const wxString& str,
^
/home/hugin/projects/codelite/CodeLite/entry.cpp: At global scope:
/home/hugin/projects/codelite/CodeLite/entry.cpp:35:39: error: conversion from 'const char [6]' to 'wxString' is ambiguous
wxString TagEntry::KIND_CLASS = "class";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:35:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [6]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [6]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:36:39: error: conversion from 'const char [5]' to 'wxString' is ambiguous
wxString TagEntry::KIND_ENUM = "enum";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:36:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [5]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [5]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:37:39: error: conversion from 'const char [11]' to 'wxString' is ambiguous
wxString TagEntry::KIND_ENUMERATOR = "enumerator";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:37:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [11]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [11]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:38:39: error: conversion from 'const char [9]' to 'wxString' is ambiguous
wxString TagEntry::KIND_FUNCTION = "function";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:38:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [9]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [9]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:39:39: error: conversion from 'const char [10]' to 'wxString' is ambiguous
wxString TagEntry::KIND_PROTOTYPE = "prototype";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:39:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [10]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [10]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:40:39: error: conversion from 'const char [7]' to 'wxString' is ambiguous
wxString TagEntry::KIND_MEMBER = "member";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:40:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [7]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [7]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:41:39: error: conversion from 'const char [10]' to 'wxString' is ambiguous
wxString TagEntry::KIND_NAMESPACE = "namespace";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:41:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [10]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [10]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:42:39: error: conversion from 'const char [9]' to 'wxString' is ambiguous
wxString TagEntry::KIND_VARIABLE = "variable";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:42:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [9]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [9]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:43:39: error: conversion from 'const char [6]' to 'wxString' is ambiguous
wxString TagEntry::KIND_UNION = "union";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:43:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [6]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [6]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:44:39: error: conversion from 'const char [8]' to 'wxString' is ambiguous
wxString TagEntry::KIND_TYPEDEF = "typedef";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:44:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [8]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [8]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:45:39: error: conversion from 'const char [6]' to 'wxString' is ambiguous
wxString TagEntry::KIND_MACRO = "macro";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:45:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [6]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [6]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:46:39: error: conversion from 'const char [7]' to 'wxString' is ambiguous
wxString TagEntry::KIND_STRUCT = "struct";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:46:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [7]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [7]' to 'int'
/home/hugin/projects/codelite/CodeLite/entry.cpp:47:39: error: conversion from 'const char [5]' to 'wxString' is ambiguous
wxString TagEntry::KIND_FILE = "file";
^
/home/hugin/projects/codelite/CodeLite/entry.cpp:47:39: note: candidates are:
In file included from /usr/include/wx-2.8/wx/memory.h:16:0,
from /usr/include/wx-2.8/wx/object.h:20,
from /usr/include/wx-2.8/wx/wx.h:16,
from /home/hugin/projects/codelite/CodeLite/../PCH/precompiled_header_release.h:31,
from /home/hugin/projects/codelite/CodeLite/precompiled_header.h:7,
from /home/hugin/projects/codelite/CodeLite/entry.cpp:25:
/usr/include/wx-2.8/wx/string.h:692:3: note: wxString::wxString(wxChar, size_t) <near match>
wxString(wxChar ch, size_t nRepeat = 1)
^
/usr/include/wx-2.8/wx/string.h:692:3: note: no known conversion for argument 1 from 'const char [5]' to 'wxChar {aka wchar_t}'
/usr/include/wx-2.8/wx/string.h:682:3: note: wxString::wxString(int) <near match>
wxString(int);
^
/usr/include/wx-2.8/wx/string.h:682:3: note: no known conversion for argument 1 from 'const char [5]' to 'int'
make[2]: *** [CodeLite/CMakeFiles/libcodelite.dir/entry.cpp.o] Error 1
make[1]: *** [CodeLite/CMakeFiles/libcodelite.dir/all] Error 2
make: *** [all] Error 2
Unfortunately when I do so a second error shows up, somehow the include paths seem to be messed up:
Code: Select all
hugin@blackbird ~/projects/codelite/build-release $ make
[ 1%] Built target sqlite3lib
[ 2%] Built target wxsqlite3
[ 7%] Built target wxshapeframework
[ 9%] Built target databaselayersqlite
Scanning dependencies of target libcodelite
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/entry.cpp.o
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/var_parser.cpp.o
/home/hugin/projects/codelite/CodeLite/var_parser.cpp: In function 'int cl_var_parse()':
/home/hugin/projects/codelite/CodeLite/var_parser.cpp:814:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("syntax error");
^
/home/hugin/projects/codelite/CodeLite/var_parser.cpp:1432:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("yacc stack overflow");
^
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/cpp_expr_parser.cpp.o
/home/hugin/projects/codelite/CodeLite/cpp_expr_parser.cpp: In function 'int cl_expr_parse()':
/home/hugin/projects/codelite/CodeLite/cpp_expr_parser.cpp:596:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("syntax error");
^
/home/hugin/projects/codelite/CodeLite/cpp_expr_parser.cpp:969:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("yacc stack overflow");
^
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/progress_dialog.cpp.o
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/cpp_func_parser.cpp.o
/home/hugin/projects/codelite/CodeLite/cpp_func_parser.cpp: In function 'int cl_func_parse()':
/home/hugin/projects/codelite/CodeLite/cpp_func_parser.cpp:690:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("syntax error");
^
/home/hugin/projects/codelite/CodeLite/cpp_func_parser.cpp:1039:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
yyerror("yacc stack overflow");
^
[ 10%] Building CXX object CodeLite/CMakeFiles/libcodelite.dir/cpptoken.cpp.o
/home/hugin/projects/codelite/CodeLite/cpptoken.cpp:26:20: fatal error: wx/crt.h: No such file or directory
#include <wx/crt.h>
^
compilation terminated.
make[2]: *** [CodeLite/CMakeFiles/libcodelite.dir/cpptoken.cpp.o] Error 1
make[1]: *** [CodeLite/CMakeFiles/libcodelite.dir/all] Error 2
make: *** [all] Error 2
when I hardcoded that path the headers included in that header couldn't be found
and yes, of course I checked, the files do exist in /usr/include/wx-2.9/wx/
Need any additional info?