Skip to content

Instantly share code, notes, and snippets.

@Verdagon
Created January 24, 2023 17:46
Show Gist options
  • Save Verdagon/5c9330ac68b7900f342ee5a99cc21e5a to your computer and use it in GitHub Desktop.
Save Verdagon/5c9330ac68b7900f342ee5a99cc21e5a to your computer and use it in GitHub Desktop.
valerian@ubuntu:~/core/build$ cmake -DOPTION_BUILD_LOADERS_C=ON -DOPTION_BUILD_LOADERS_RS=ON ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.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
-- Target Operative System: Linux
-- Target OS Family: unix
-- Linux x86_64 64bit detected
CMake Warning at CMakeLists.txt:164 (message):
clang-format executable not found
-- Lib version
-- Performing Test PIC_C_FLAG
-- Performing Test PIC_C_FLAG - Success
-- Performing Test STACK_PROTECTOR_STRONG_C_FLAG
-- Performing Test STACK_PROTECTOR_STRONG_C_FLAG - Success
-- Performing Test FORTIFY_SOURCE_C_FLAG
-- Performing Test FORTIFY_SOURCE_C_FLAG - Success
-- Performing Test PIC_CXX_FLAG
-- Performing Test PIC_CXX_FLAG - Success
-- Performing Test STACK_PROTECTOR_STRONG_CXX_FLAG
-- Performing Test STACK_PROTECTOR_STRONG_CXX_FLAG - Success
-- Performing Test FORTIFY_SOURCE_CXX_FLAG
-- Performing Test FORTIFY_SOURCE_CXX_FLAG - Success
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Lib preprocessor
-- Lib environment
-- Lib format
-- Lib log
-- Lib memory
-- Lib portability
-- Lib threading
-- Lib adt
-- Lib filesystem
-- Lib dynlink
-- Lib plugin
-- Lib detour
-- Lib reflect
-- Lib serial
-- Lib configuration
-- Lib loader
-- Lib metacall
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Could NOT find LibFFI (missing: LIBFFI_LIBRARY LIBFFI_INCLUDE_DIR)
CMake Error at source/loaders/c_loader/CMakeLists.txt:13 (message):
Foreing Function Interface library not found
CMake Error at source/loaders/c_loader/CMakeLists.txt:14 (set):
set given invalid arguments for CACHE mode.
-- Plugin ext_loader
-- Plugin mock_loader
-- Found Rust: /home/valerian/.cargo/bin/cargo (found version "1.59.0-nightly")
-- Plugin rs_loader_impl
-- Plugin rs_loader
-- Serial metacall_serial
-- Installing RapidJSON v232389d
-- Serial rapid_json_serial
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Detour funchook_detour
-- Extension plugin_extension
-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR)
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR)
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR LIBELF_LIBRARY LIBELF_INCLUDE_DIR)
-- Found Backward: /home/valerian/core/build/_deps/backwardcpp-src
-- Could NOT find libdw (missing: LIBDW_LIBRARY LIBDW_INCLUDE_DIR)
-- Could NOT find libbfd (missing: LIBBFD_LIBRARY LIBBFD_INCLUDE_DIR)
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR LIBELF_LIBRARY LIBELF_INCLUDE_DIR)
-- Plugin backtrace_plugin
-- Script compiled
-- Script ffi
-- Script cbks
-- Script libloadtest
-- Script sum_extension
-- Script basic
-- Script package_basic
-- Script package_class
-- Script cargo_melody
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) (Required is at least version "1.11.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Install Google Test v1.11.0
-- Test preprocessor-test
-- Test environment-test
-- Test log-test
-- Test log-custom-test
-- Test adt-set-test
-- Test adt-trie-test
-- Test adt-vector-test
-- Test adt-map-test
-- Test reflect-value-cast-test
-- Test reflect-function-test
-- Test reflect-object-class-test
-- Test reflect-scope-test
-- Test reflect-metadata-test
-- Test dynlink-test
-- Test detour-test
-- Test serial-test
-- Test configuration-test
-- Test portability-path-test
-- Test metacall-logs-test
-- Test metacall-load-memory-test
-- Test metacall-load-configuration-test
-- Test metacall-handle-export-test
-- Test metacall-test
-- Test metacall-distributable-test
-- Test metacall-ducktype-test
-- Test metacall-inspect-test
-- Test metacall-map-test
-- Test metacall-initialize-test
-- Test metacall-initialize-ex-test
-- Test metacall-reinitialize-test
-- Test metacall-initialize-destroy-multiple-test
-- Test metacall-invalid-loader-test
-- Test metacall-fork-test
-- Test metacall-rust-test
-- Test metacall-rust-load-from-memory-test
-- Test metacall-rust-load-from-package-test
-- Test metacall-rust-load-from-package-dep-test
-- Test metacall-rust-load-from-package-class-test
-- Test metacall-rust-class-test
-- Test metacall-c-test
-- Test metacall-version-test
-- Test metacall-dynlink-path-test
-- Test metacall-library-path-without-env-vars-test
-- Test metacall-ext-test
-- Test metacall-plugin-extension-destroy-order-test
-- Test metacall-backtrace-plugin-test
-- CLI metacallcli
-- Plugin cli_core_plugin
-- Example metacalllog
-- Installing git hooks at /home/valerian/core
-- Configuring incomplete, errors occurred!
See also "/home/valerian/core/build/CMakeFiles/CMakeOutput.log".
See also "/home/valerian/core/build/CMakeFiles/CMakeError.log".
valerian@ubuntu:~/core/build$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment