Created
March 5, 2020 18:34
-
-
Save Siapran/cbb728ba1f8bebfd7acab4b4d04d290b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[siapran@siapran-linux Development]$ cd lager/ | |
[siapran@siapran-linux lager]$ nix-shell | |
[nix-shell:~/Development/lager]$ mkdir build && cd build | |
[nix-shell:~/Development/lager/build]$ cmake .. | |
-- The C compiler identification is GNU 7.3.0 | |
-- The CXX compiler identification is GNU 7.3.0 | |
-- Check for working C compiler: /nix/store/cg650dmmsy2bmsbx1y5f8qqpjb5hr0g2-gcc-wrapper-7.3.0/bin/gcc | |
-- Check for working C compiler: /nix/store/cg650dmmsy2bmsbx1y5f8qqpjb5hr0g2-gcc-wrapper-7.3.0/bin/gcc -- 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: /nix/store/cg650dmmsy2bmsbx1y5f8qqpjb5hr0g2-gcc-wrapper-7.3.0/bin/g++ | |
-- Check for working CXX compiler: /nix/store/cg650dmmsy2bmsbx1y5f8qqpjb5hr0g2-gcc-wrapper-7.3.0/bin/g++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Using ccache: /nix/store/382880qb9na0ddwqi4s185wpsaww4axa-ccache-3.4.1/bin/ccache | |
-- Boost 1.56 found. | |
-- Found Boost components: | |
system | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for pthread_create | |
-- Looking for pthread_create - not found | |
-- 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 | |
-- Found libhttpserver: /nix/store/i9r6wygs192zmnmf084ip0z52kgqv4p9-libhttpserver-git-04a23c871b5358e18dd76a220ac715817934eaa9/include, /nix/store/i9r6wygs192zmnmf084ip0z52kgqv4p9-libhttpserver-git-04a23c871b5358e18dd76a220ac715817934eaa9/lib/libhttpserver.so | |
found unit test: /home/siapran/Development/lager/test/cereal/immer_array.cpp | |
found unit test: /home/siapran/Development/lager/test/cereal/immer_box.cpp | |
found unit test: /home/siapran/Development/lager/test/cereal/immer_flex_vector.cpp | |
found unit test: /home/siapran/Development/lager/test/cereal/immer_vector.cpp | |
found unit test: /home/siapran/Development/lager/test/cereal/struct.cpp | |
found unit test: /home/siapran/Development/lager/test/cereal/tuple.cpp | |
found unit test: /home/siapran/Development/lager/test/core.cpp | |
found unit test: /home/siapran/Development/lager/test/cursor.cpp | |
found unit test: /home/siapran/Development/lager/test/debug.cpp | |
found unit test: /home/siapran/Development/lager/test/deps.cpp | |
found unit test: /home/siapran/Development/lager/test/detail/nodes.cpp | |
found unit test: /home/siapran/Development/lager/test/event_loop/boost_asio.cpp | |
found unit test: /home/siapran/Development/lager/test/lenses.cpp | |
found unit test: /home/siapran/Development/lager/test/sensor.cpp | |
found unit test: /home/siapran/Development/lager/test/state.cpp | |
found unit test: /home/siapran/Development/lager/test/xformed.cpp | |
-- Looking for cbreak in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib/libncurses.so | |
-- Looking for cbreak in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib/libncurses.so - found | |
-- Found Curses: /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib/libncurses.so | |
-- Found SDL2: /nix/store/7gkqaam92jvhyz6gf2y327xipv0hczdv-SDL2-2.0.8-dev/lib/libSDL2main.a;/nix/store/f101a2p8a9y5p9vlj7p0qkkmkczkwc9d-SDL2-2.0.8/lib/libSDL2.so;-lpthread | |
-- Found SDL2_ttf: /nix/store/g4rj47iqwbjggjgf3hxpb7jxhw5rvhlg-SDL2_ttf-2.0.14/lib/libSDL2_ttf.so (found version "2.0.14") | |
-- Boost 1.56 found. | |
-- Found OpenGL: /nix/store/yxrgmcz2xlgn113wz978a91qbsy4rc8g-libGL-1.0.0/lib/libOpenGL.so | |
-- ImGui found in /nix/store/jwrw7il180y1bibnxfyj3qr9y9ya2gl8-imgui-git-6ffee0e75e8f677c5fd8280dfe544c3fcb325f45 | |
-- Configuring done | |
CMake Warning at example/CMakeLists.txt:42 (add_executable): | |
Cannot generate a safe runtime search path for target counter-ncurses-meta | |
because files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libncursesw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
runtime library [libformw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
CMake Warning at example/CMakeLists.txt:30 (add_executable): | |
Cannot generate a safe runtime search path for target counter-ncurses | |
because files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libncursesw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
runtime library [libformw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
CMake Warning at example/CMakeLists.txt:36 (add_executable): | |
Cannot generate a safe runtime search path for target counter-ncurses-tree | |
because files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libncursesw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
runtime library [libformw.so.6] in /nix/store/x5wwn5prqskwr4ld8gqqb70rdhq31x7b-ncurses-6.1/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
CMake Warning at example/CMakeLists.txt:66 (add_executable): | |
Cannot generate a safe runtime search path for target autopong because | |
files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libSDL2-2.0.so.0] in /nix/store/f101a2p8a9y5p9vlj7p0qkkmkczkwc9d-SDL2-2.0.8/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
CMake Warning at example/CMakeLists.txt:78 (add_executable): | |
Cannot generate a safe runtime search path for target autopong-debug | |
because files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libSDL2-2.0.so.0] in /nix/store/f101a2p8a9y5p9vlj7p0qkkmkczkwc9d-SDL2-2.0.8/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
CMake Warning at example/CMakeLists.txt:55 (add_executable): | |
Cannot generate a safe runtime search path for target counter-sdl2 because | |
files in some directories may conflict with libraries in implicit | |
directories: | |
runtime library [libSDL2-2.0.so.0] in /nix/store/f101a2p8a9y5p9vlj7p0qkkmkczkwc9d-SDL2-2.0.8/lib may be hidden by files in: | |
/usr/lib64 | |
Some of these libraries may not be found correctly. | |
-- Generating done | |
-- Build files have been written to: /home/siapran/Development/lager/build | |
[nix-shell:~/Development/lager/build]$ make | |
Scanning dependencies of target gui | |
[100%] Build debugger web UI | |
[100%] Built target gui | |
[nix-shell:~/Development/lager/build]$ make check | |
Scanning dependencies of target todo-imgui | |
[ 1%] Build todo-imgui emscripten example | |
[ 1%] Built target todo-imgui | |
Scanning dependencies of target counter-ncurses-meta | |
[ 3%] Building CXX object example/CMakeFiles/counter-ncurses-meta.dir/counter/ncurses/main.cpp.o | |
[ 4%] Building CXX object example/CMakeFiles/counter-ncurses-meta.dir/counter/ncurses/terminal.cpp.o | |
[ 6%] Linking CXX executable counter-ncurses-meta | |
/usr/lib64/libp11-kit.so.0: undefined reference to `fcntl64@GLIBC_2.28' | |
collect2: error: ld returned 1 exit status | |
make[3]: *** [example/CMakeFiles/counter-ncurses-meta.dir/build.make:103: example/counter-ncurses-meta] Error 1 | |
make[2]: *** [CMakeFiles/Makefile2:761: example/CMakeFiles/counter-ncurses-meta.dir/all] Error 2 | |
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/check.dir/rule] Error 2 | |
make: *** [Makefile:175: check] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment