-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Description
Hi,
I try to compile the code
@zalman:~/C$ cmake -B build -S .
-- The C 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
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Building with OpenMP Multithreading.
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for complex.h
-- Looking for complex.h - found
-- Looking for complex
-- Looking for complex - found
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindOpenGL.cmake:305 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
graphics/CMakeLists.txt:1 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLUT: /usr/lib/x86_64-linux-gnu/libglut.so
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/a/C/build
a@zalman:~/C$ make
[ 1%] Built target test_min_printf
[ 2%] Built target malloc_dbg
[ 2%] Built target test_malloc_dbg
[ 3%] Built target hash_xor8
[ 4%] Built target hash_sdbm
[ 4%] Built target hash_djb2
[ 5%] Built target hash_crc32
[ 5%] Built target hash_adler32
[ 5%] Built target union_find
[ 6%] Built target tower_of_hanoi
[ 7%] Built target sudoku_solver
[ 7%] Built target strong_number
[ 7%] Built target factorial_trailing_zeroes
[ 7%] Built target gcd
[ 7%] Built target factorial
[ 7%] Built target armstrong_number
[ 8%] Built target fibonacci_dp
[ 9%] Built target demonetization
[ 9%] Built target cartesian_to_polar
[ 10%] Built target cantor_set
[ 11%] Built target fibonacci
[ 11%] Built target fibonacci_fast
[ 12%] Built target is_armstrong
[ 13%] Built target pid
[ 13%] Built target large_factorials
[ 14%] Built target lcm
[ 15%] Built target collatz
[ 15%] Built target mirror
[ 16%] Built target factorial_large_number
[ 17%] Built target rselect
[ 18%] Built target palindrome
[ 19%] Built target poly_add
[ 19%] Built target lexicographic_permutations
[ 19%] Built target postfix_evaluation
[ 20%] Built target prime
[ 21%] Built target catalan
[ 22%] Built target quartile
[ 22%] Built target longest_subsequence
[ 23%] Built target prime_factoriziation
[ 24%] Built target lerp
[ 24%] Built target prime_seive
[ 24%] Built target tic_tac_toe
[ 24%] Built target naval_battle
[ 25%] Built target alaw
[ 26%] Built target stooge_sort
[ 27%] Built target shaker_sort
[ 28%] Built target bucket_sort
[ 28%] Built target cycle_sort
[ 28%] Built target radix_sort
[ 28%] Built target shell_sort
[ 29%] Built target bubble_sort_recursion
[ 30%] Built target counting_sort
[ 30%] Built target bubble_sort_2
[ 30%] Built target heap_sort
[ 31%] Built target shell_sort2
[ 31%] Built target partition_sort
[ 32%] Built target gnome_sort
[ 32%] Built target cocktail_sort
[ 33%] Built target bubble_sort
[ 33%] Built target bogo_sort
[ 33%] Built target binary_insertion_sort
[ 34%] Built target pancake_sort
[ 35%] Built target bead_sort
[ 36%] Built target heap_sort_2
[ 37%] Built target multikey_quick_sort
[ 38%] Built target random_quick_sort
[ 38%] Built target comb_sort
[ 38%] Built target merge_sort
[ 38%] Built target insertion_sort_recursive
[ 39%] Built target merge_sort_nr
[ 39%] Built target odd_even_sort
[ 39%] Built target pigeonhole_sort
[ 40%] Built target quick_sort
[ 41%] Built target selection_sort_recursive
[ 42%] Built target insertion_sort
[ 43%] Built target radix_sort_2
[ 43%] Built target selection_sort
[ 44%] Built target vectors_3d
[ 44%] Built target quaternions
graphics/CMakeFiles/spirograph.dir/build.make:77: CMakeFiles/spirograph.dir/flags.make: Nie ma takiego pliku ani katalogu
make[2]: *** Brak reguł do wykonania obiektu 'CMakeFiles/spirograph.dir/flags.make'. Stop.
make[1]: *** [CMakeFiles/Makefile2:2834: graphics/CMakeFiles/spirograph.dir/all] Błąd 2
make: *** [Makefile:171: all] Błąd 2
Expected behavior
compil
Actual behavior
failed compilation
Possible fix
No response
Steps to reproduce
cmake -B build -S .
make
Context
simple compilation
Additional information
No response