SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to build this on current as a dependency for another program. I get all the way to 95% complete before it errors out. Not sure if I'm missing a cmake option for this to work or if there is something else wrong.
This is what I get. Any help would be appreciated. Thanks.
5.3 is what I got installed, but it's using an internal version. The build says 5.1. Also using wxGTK3
Code:
cmake -S . -B build \
> -DCMAKE_CXX_FLAGS="-DwxLUA_USE_wxTranslations=0"
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- * ---------------------------------------------------------------------------
-- * 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.
-- * ---------------------------------------------------------------------------
--
-- * No build type was specified, using default 'Debug'
--
-- *****************************************************************************
-- * BUILD TYPE: Debug
-- * BUILD_SHARED_LIBS: TRUE
-- *****************************************************************************
-- * System is 32-bit FALSE, is 64-bit TRUE
-- *****************************************************************************
-- * CMAKE_SOURCE_DIR = /tmp/4/wxlua/wxLua
-- * CMAKE_BINARY_DIR = /tmp/4/wxlua/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
-- * ---------------------------------------------------------------------------
--
-- * WARNING : Unable to find '/include/wx/version.h'
-- * Please set wxWidgets_CONFIG_EXECUTABLE to point to wx-config script.
-- * Note: wxWidgets libs; Removing 'propgrid' lib from wxWidgets_COMPONENTS since it didn't exit in wx < 2.9
-- * Using these wxWidgets components: gl;xrc;xml;net;media;richtext;aui;stc;html;adv;core;base
-- Found wxWidgets: -L/usr/lib64;-pthread;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_gtk3u_media-3.0;-lwx_gtk3u_richtext-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_stc-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0 (found version "3.0.5")
-- *
-- * Found wxWidgets :
-- * - wxWidgets_VERSION = = ..
-- * - wxWidgets_COMPONENTS = gl;xrc;xml;net;media;richtext;aui;stc;html;adv;core;base
-- * - wxWidgets_INCLUDE_DIRS = /usr/lib64/wx/include/gtk3-unicode-3.0;/usr/include/wx-3.0
-- * - wxWidgets_LIBRARY_DIRS =
-- * - wxWidgets_LIBRARIES = -L/usr/lib64;-pthread;;;-lwx_gtk3u_gl-3.0;-lwx_gtk3u_xrc-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_gtk3u_media-3.0;-lwx_gtk3u_richtext-3.0;-lwx_gtk3u_aui-3.0;-lwx_gtk3u_stc-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu-3.0
-- * - wxWidgets_CXX_FLAGS = -pthread
-- * - wxWidgets_DEFINITIONS = _FILE_OFFSET_BITS=64;__WXGTK__
-- * - wxWidgets_DEFINITIONS_DEBUG =
-- * - wxWidgets_PORTNAME = gtk3
-- * - wxWidgets_UNIVNAME =
-- * - wxWidgets_UNICODEFLAG = u
-- * - wxWidgets_DEBUGFLAG =
-- *
-- * WARNING: Specified wxLuaBinding lib 'webview' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * WARNING: Specified wxLuaBinding lib 'propgrid' in variable wxLuaBind_COMPONENTS is missing from wxWidgets_COMPONENTS so it will not be compiled.
-- * wxLua using built-in Lua 5.1 library
-- * WARNING: cppcheck NOT found, NOT generating ADD_CPPCHECK_TEST() tests
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.2") found components: doxygen missing components: dot
-- * Doxygen found, run $make wxLua_doxygen to generate documentation in build folder.
CMake Deprecation Warning at bindings/CMakeLists.txt:17 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/4/wxlua/wxLua/build
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.