Codelite on RPi4/Ubuntu
Posted: Sun Sep 27, 2020 11:49 pm
Hello,
I am trying to build codelite 14 from sources on a RPi4 running 64 bit Ubuntu 18.04 LTS. I followed the instructions given in the wiki (https://wiki.codelite.org/pmwiki.php/Developers/Linux) . I installed the listed packages, built and installed wxWidgets with gtk3 and tried building codelite.
However, cmake is giving error. The full log is below. I would appreciate any help very much.
cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SQLITE3_INCLUDE_DIR: /usr/include
-- SQLITE3_LIBRARY: /usr/lib/aarch64-linux-gnu/libsqlite3.so
-- BUILD_DIRECTORY is set to /home/dev/codelite2/codelite-14.0/build-release
-- OS name Linux
-- wx-config used is: /usr/local/bin/wx-config
-- wxWidgets version is: 3.1.4
-- gtk version is: 3
-- LIBSSH_LIB is set to LIBSSH_LIB-NOTFOUND
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.22.30
-- Checking for module 'gdk-pixbuf-2.0'
-- Found gdk-pixbuf-2.0, version 2.36.11
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/aarch64-linux-gnu/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Checking for module 'pango'
-- Found pango, version 1.40.14
-- Checking for module 'atk'
-- Found atk, version 2.28.1
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
-- PLUGINS_DIR is set to /usr/lib/x86_64-linux-gnu/codelite
-- Using wxAuiNotebook class is disabled
-- Building in Release mode
-- CMAKE_INSTALL_DO_STRIP is TRUE
-- Executables will be written into /home/dev/codelite2/codelite-14.0/build-release/bin
-- Shared Objects will be written into /home/dev/codelite2/codelite-14.0/build-release/lib
-- Adding -DNDEBUG to definitions
-- CPACK_SYSTEM_NAME ubuntu-bionic-aarch64
-- OS_CODENAME is set to bionic
-- ARCH 64
-- ARCH_NAME x86_64
-- USE_SFTP is set to 1
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Flex support is disabled
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
**
** NOTICE ** Could not locate libhunspell. SpellChecker plugin will not be build
** NOTICE ** Try installing libhunspell-dev package
**
**** NOTICE: lldb is not available. You could try installing the lldb-3.4-dev (or equivalent) package
-- Internal Web Browser is disabled
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_baseu-3.1;-lwx_gtk3u_core-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_baseu_xml-3.1;-lwx_gtk3u_xrc-3.1;-lwx_baseu_net-3.1;-lwx_gtk3u_stc-3.1 (found version "3.1.4")
-- CL_SRC_ROOT is set to /home/dev/codelite2/codelite-14.0
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Adding Valgrind Plugin
-- Building wxCrafter as codelite plugin
-- Generating makefile for wxCrafter
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- wxlibsdir is: /usr/local/lib
-- will copy
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Release build, will not include UnitTest build
-- Including plugin.cmake module
-- CMAKE_SOURCE_DIR is set to /home/dev/codelite2/codelite-14.0
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CAIRO_LIBRARY
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
GDK3_LIBRARY
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
GTK3_LIBRARY (ADVANCED)
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
LIBSSH_LIB
linked by target "libcodelite" in directory /home/dev/codelite2/codelite-14.0/CodeLite
-- Configuring incomplete, errors occurred!
See also "/home/dev/codelite2/codelite-14.0/build-release/CMakeFiles/CMakeOutput.log".
See also "/home/dev/codelite2/codelite-14.0/build-release/CMakeFiles/CMakeError.log".
I am trying to build codelite 14 from sources on a RPi4 running 64 bit Ubuntu 18.04 LTS. I followed the instructions given in the wiki (https://wiki.codelite.org/pmwiki.php/Developers/Linux) . I installed the listed packages, built and installed wxWidgets with gtk3 and tried building codelite.
However, cmake is giving error. The full log is below. I would appreciate any help very much.
cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- SQLITE3_INCLUDE_DIR: /usr/include
-- SQLITE3_LIBRARY: /usr/lib/aarch64-linux-gnu/libsqlite3.so
-- BUILD_DIRECTORY is set to /home/dev/codelite2/codelite-14.0/build-release
-- OS name Linux
-- wx-config used is: /usr/local/bin/wx-config
-- wxWidgets version is: 3.1.4
-- gtk version is: 3
-- LIBSSH_LIB is set to LIBSSH_LIB-NOTFOUND
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gtk+-3.0'
-- Found gtk+-3.0, version 3.22.30
-- Checking for module 'gdk-pixbuf-2.0'
-- Found gdk-pixbuf-2.0, version 2.36.11
-- Checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/aarch64-linux-gnu/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Checking for module 'pango'
-- Found pango, version 1.40.14
-- Checking for module 'atk'
-- Found atk, version 2.28.1
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
-- PLUGINS_DIR is set to /usr/lib/x86_64-linux-gnu/codelite
-- Using wxAuiNotebook class is disabled
-- Building in Release mode
-- CMAKE_INSTALL_DO_STRIP is TRUE
-- Executables will be written into /home/dev/codelite2/codelite-14.0/build-release/bin
-- Shared Objects will be written into /home/dev/codelite2/codelite-14.0/build-release/lib
-- Adding -DNDEBUG to definitions
-- CPACK_SYSTEM_NAME ubuntu-bionic-aarch64
-- OS_CODENAME is set to bionic
-- ARCH 64
-- ARCH_NAME x86_64
-- USE_SFTP is set to 1
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Flex support is disabled
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
-- Could NOT find GTK3 (missing: GTK3_LIBRARY)
**
** NOTICE ** Could not locate libhunspell. SpellChecker plugin will not be build
** NOTICE ** Try installing libhunspell-dev package
**
**** NOTICE: lldb is not available. You could try installing the lldb-3.4-dev (or equivalent) package
-- Internal Web Browser is disabled
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_baseu-3.1;-lwx_gtk3u_core-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_baseu_xml-3.1;-lwx_gtk3u_xrc-3.1;-lwx_baseu_net-3.1;-lwx_gtk3u_stc-3.1 (found version "3.1.4")
-- CL_SRC_ROOT is set to /home/dev/codelite2/codelite-14.0
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Adding Valgrind Plugin
-- Building wxCrafter as codelite plugin
-- Generating makefile for wxCrafter
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_propgrid-3.1;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_ribbon-3.1;-lwx_gtk3u_richtext-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- wxlibsdir is: /usr/local/lib
-- will copy
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_stc-3.1;-lwx_gtk3u_aui-3.1;-lwx_gtk3u_xrc-3.1;-lwx_gtk3u_html-3.1;-lwx_gtk3u_qa-3.1;-lwx_gtk3u_core-3.1;-lwx_baseu_xml-3.1;-lwx_baseu_net-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Found wxWidgets: -L/usr/local/lib;-pthread;;;-lwx_gtk3u_core-3.1;-lwx_baseu-3.1 (found version "3.1.4")
-- Release build, will not include UnitTest build
-- Including plugin.cmake module
-- CMAKE_SOURCE_DIR is set to /home/dev/codelite2/codelite-14.0
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CAIRO_LIBRARY
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
GDK3_LIBRARY
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
GTK3_LIBRARY (ADVANCED)
linked by target "plugin" in directory /home/dev/codelite2/codelite-14.0/Plugin
linked by target "DatabaseExplorer" in directory /home/dev/codelite2/codelite-14.0/DatabaseExplorer
linked by target "codelite" in directory /home/dev/codelite2/codelite-14.0/LiteEditor
LIBSSH_LIB
linked by target "libcodelite" in directory /home/dev/codelite2/codelite-14.0/CodeLite
-- Configuring incomplete, errors occurred!
See also "/home/dev/codelite2/codelite-14.0/build-release/CMakeFiles/CMakeOutput.log".
See also "/home/dev/codelite2/codelite-14.0/build-release/CMakeFiles/CMakeError.log".