Advertisement
Guest User

Setup editor cmake error

a guest
Dec 18th, 2023
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. leo@SYS-ADMIN:~/Escritorio/torcs-car-setup-editor-main$ cmake .
  2. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  3. Compatibility with CMake < 3.5 will be removed from a future version of
  4. CMake.
  5.  
  6. Update the VERSION argument <min> value or use a ...<max> suffix to tell
  7. CMake that the project does not need compatibility with older versions.
  8.  
  9.  
  10. CMake Warning (dev) at /usr/share/cmake-3.27/Modules/FindOpenGL.cmake:381 (message):
  11. Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  12. available. Run "cmake --help-policy CMP0072" for policy details. Use the
  13. cmake_policy command to set the policy and suppress this warning.
  14.  
  15. FindOpenGL found both a legacy GL library:
  16.  
  17. OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
  18.  
  19. and GLVND libraries for OpenGL and GLX:
  20.  
  21. OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
  22. OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
  23.  
  24. OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  25. compatibility with CMake 3.10 and below the legacy GL library will be used.
  26. Call Stack (most recent call first):
  27. CMakeLists.txt:7 (find_package)
  28. This warning is for project developers. Use -Wno-dev to suppress it.
  29.  
  30. -- Configuring done (0.0s)
  31. CMake Error at CMakeLists.txt:42 (add_executable):
  32. Cannot find source file:
  33.  
  34. cardatadef.h
  35.  
  36. Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  37. .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  38. .f95 .f03 .hip .ispc
  39.  
  40.  
  41. CMake Error at CMakeLists.txt:42 (add_executable):
  42. No SOURCES given to target: carsetupeditor
  43.  
  44.  
  45. CMake Generate step failed. Build files cannot be regenerated correctly.
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement