Open Drapika opened 1 month ago
I wrote that because when I try to cmake, there is an error:
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- 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
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found OpenGL: /usr/lib64/libOpenGL.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindGLEW.cmake:242 (find_package_handle_standard_args)
CMakeLists.txt:29 (find_package)
OS: Fedora 40 KDE Plasma 6
I try to install dependencies using dnf install but I figured out with that:
sudo dnf install build-essential cmake libxrandr-dev libfreeimage-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev libglew-dev freeglut3-dev libsdl2-dev liblz4-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxxf86vm-dev libglm-dev libglfw3-dev libmpv-dev mpv libmpv1 libpulse-dev libpulse0
Last metadata expiration check: 5:44:07 ago on sam. 27 juil. 2024 11:07:22. No match for argument: build-essential Package cmake-3.28.2-1.fc40.x86_64 is already installed. No match for argument: libxrandr-dev No match for argument: libfreeimage-dev No match for argument: libxinerama-dev No match for argument: libxcursor-dev No match for argument: libxi-dev No match for argument: libgl-dev No match for argument: libglew-dev No match for argument: freeglut3-dev No match for argument: libsdl2-dev No match for argument: liblz4-dev No match for argument: libavcodec-dev No match for argument: libavformat-dev No match for argument: libavutil-dev No match for argument: libswscale-dev No match for argument: libxxf86vm-dev No match for argument: libglm-dev No match for argument: libglfw3-dev No match for argument: libmpv-dev No match for argument: libmpv1 No match for argument: libpulse-dev No match for argument: libpulse0 Error: Unable to find a match: build-essential libxrandr-dev libfreeimage-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev libglew-dev freeglut3-dev libsdl2-dev liblz4-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libxxf86vm-dev libglm-dev libglfw3-dev libmpv-dev libmpv1 libpulse-dev libpulse0