|
From: Philipp Ü. <mu...@tu...> - 2014-06-20 13:18:06
|
Hi there,
I tried to build wxLua from SVN (r239) with wxGTK 3.0.1 and got an
error. You'll find a rather complete output at the end of this mail.
Regards,
Philipp
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- * ---------------------------------------------------------------------------
-- * CMake command line options and tips specific to this project
-- *
-- * In the CMake GUI you can set values and press configure a few times
-- * and until there are no more red items, then press generate.
-- *
-- * Usage: cmake -D[OPTION_NAME]=[OPTION_VALUE] /path/to/CMakeLists.txt/
-- * ---------------------------------------------------------------------------
-- * -DHELP=TRUE
-- * Show this help message and exit, no files will be generated.
-- * -DCMAKE_BUILD_TYPE=[Debug, Release, RelWithDebInfo, MinSizeRel] : (Default Debug)
-- * Makefiles : You must set the build type to Debug, Release...
-- * MSVC GUI : No need to set this since you can choose it in the GUI.
-- * -DBUILD_SHARED_LIBS=[TRUE, FALSE] : (Default static in MSW, shared in Linux)
-- * Build shared (.DLL or .so) or static (.lib or .a) libraries.
-- * ---------------------------------------------------------------------------
--
--
-- *****************************************************************************
-- * BUILD TYPE: Release
-- * BUILD_SHARED_LIBS: TRUE
-- *****************************************************************************
-- * System is 32-bit TRUE, is 64-bit FALSE
-- *****************************************************************************
-- * CMAKE_SOURCE_DIR = /home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua
-- * CMAKE_BINARY_DIR = /home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/build
-- *****************************************************************************
--
-- * ---------------------------------------------------------------------------
-- * wxWidgets library settings :
-- *
-- * Note that ONLY an all shared (DLL) or all static build is supported.
-- * I.E. If you choose shared you must link to shared wxWidgets libs.
-- * Set -DBUILD_SHARED_LIBS=[TRUE, FALSE] to control shared/static lib.
-- *
-- * Finding wxWidgets for MSW and MSVC
-- * -DwxWidgets_ROOT_DIR=[path] : (e.g. /path/to/wxWidgets/)
-- * Path to the root of the wxWidgets build, must at least set this.
-- * -DwxWidgets_LIB_DIR=[path] : (e.g. /path/to/wxWidgets/lib/vc_lib/)
-- * Path to the wxWidgets lib dir also set this if libs can't be found.
-- * -DwxWidgets_CONFIGURATION=[configuration] :
-- * Set wxWidgets configuration; e.g. msw, mswu, mswunivu...
-- * Where 'u' = unicode and 'd' = debug.
-- * MSVC GUI : You need only choose msw, mswu, mswuniv, mswunivu since
-- * release or debug mode is chosen in the GUI.
-- * -DwxWidgets_COMPONENTS=[...stc;html;adv;core;base or mono] :
-- * For non-monolithic builds choose the wxWidgets libs to link to.
-- * xrc;xml;gl;net;media;propgrid;richtext;aui;stc;html;adv;core;base
-- * For monolithic builds choose mono and the contribs libs.
-- * stc;mono
-- * The extra decorations, e.g. wxmsw28ud_adv.lib, will be searched for.
-- * Libs that cannot be found will be printed below, please fix/remove
-- * them to be able to build this project.
-- * You will get compilation/linker errors if wxWidgets is not found.
-- *
-- * Finding wxWidgets for GCC and Unix type systems
-- * -DwxWidgets_CONFIG_EXECUTABLE=[path/to/wx-config] :
-- * Specify path to wx-config script for GCC and Unix type builds
-- * ---------------------------------------------------------------------------
--
-- * Using these wxWidgets components: stc;webview;gl;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base
-- Found wxWidgets: TRUE
-- *
-- * Found wxWidgets :
-- * - wxWidgets_VERSION = 3.0.1 = 3.0.1
-- * - wxWidgets_COMPONENTS = stc;webview;gl;xrc;xml;net;media;propgrid;richtext;aui;html;adv;core;base
-- * - wxWidgets_INCLUDE_DIRS = /usr/lib/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0
-- * - wxWidgets_LIBRARY_DIRS =
-- * - wxWidgets_LIBRARIES = -pthread;;;-lwx_gtk2u_stc-3.0;-lwx_gtk2u_webview-3.0;-lwx_gtk2u_gl-3.0;-lwx_gtk2u_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_gtk2u_media-3.0;-lwx_gtk2u_propgrid-3.0;-lwx_gtk2u_richtext-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0
-- * - wxWidgets_CXX_FLAGS = -pthread
-- * - wxWidgets_DEFINITIONS = _FILE_OFFSET_BITS=64;__WXGTK__
-- * - wxWidgets_DEFINITIONS_DEBUG =
-- * - wxWidgets_PORTNAME = gtk2
-- * - wxWidgets_UNIVNAME =
-- * - wxWidgets_UNICODEFLAG = u
-- * - wxWidgets_DEBUGFLAG =
-- *
-- * wxLua using external/system Lua library :
-- * - include dir : /usr/include
-- * - library : /usr/lib/liblua.so.5.2
-- * WARNING: cppcheck NOT found, NOT generating ADD_CPPCHECK_TEST() tests
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- * WARNING: Doxygen NOT found, wxLua_doxygen target will not be generated.
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- * WARNING: Doxygen NOT found, wxStEdit_doxygen target will not be generated.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/build
Scanning dependencies of target wxStEditLib
[ 1%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/precomp.cpp.o
[ 2%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/steart.cpp.o
[ 3%] Building CXX object modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedit.cpp.o
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp: In member function ‘virtual bool wxSTEditor::StartAutoCompleteWord(bool, bool)’:
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:2909:54: error: no matching function for call to ‘wxSTEditor::DoGetAutoCompleteKeyWords(wxString&, wxSortedArrayString&)’
DoGetAutoCompleteKeyWords(root, wordsNear);
^
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:2909:54: note: candidate is:
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:2769:8: note: virtual size_t wxSTEditor::DoGetAutoCompleteKeyWords(const wxString&, wxArrayString&)
size_t wxSTEditor::DoGetAutoCompleteKeyWords(const wxString& root, wxArrayString& wordArray)
^
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:2769:8: note: no known conversion for argument 2 from ‘wxSortedArrayString’ to ‘wxArrayString&’
In file included from /usr/include/wx-3.0/wx/filefn.h:15:0,
from /usr/include/wx-3.0/wx/utils.h:20,
from /usr/include/wx-3.0/wx/cursor.h:69,
from /usr/include/wx-3.0/wx/event.h:21,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/menu.h:23,
from /home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/precomp.h:10,
from /home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:40:
/usr/include/wx-3.0/wx/arrstr.h:96:10: error: ‘void wxSortedArrayString::Sort()’ is private
void Sort()
^
/home/murks/cower/wxlua-svn/src/wxlua-svn-build/wxLua/modules/wxstedit/src/stedit.cpp:2910:28: error: within this context
wordsNear.Sort();
^
modules/wxstedit/CMakeFiles/wxStEditLib.dir/build.make:100: recipe for target 'modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedit.cpp.o' failed
make[2]: *** [modules/wxstedit/CMakeFiles/wxStEditLib.dir/src/stedit.cpp.o] Error 1
CMakeFiles/Makefile2:112: recipe for target 'modules/wxstedit/CMakeFiles/wxStEditLib.dir/all' failed
make[1]: *** [modules/wxstedit/CMakeFiles/wxStEditLib.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
|