yvt / openspades

Compatible client of Ace of Spades 0.75
http://openspades.yvt.jp/
GNU General Public License v3.0
1.14k stars 218 forks source link

libXextlibXext problem when using CMake? #1080

Open PauliusV0 opened 1 year ago

PauliusV0 commented 1 year ago

I'm on Windows 10 and I tried to build OpenSpades myself but in an easier way so I thought just download MSYS2 and Clone the repo and go to it, then create directory "build" and go to it and then just do cmake .. Turns out it's not that easy and for some reason I need libXext even though that's a UNIX thing


Paul@PAUL-PC MINGW64 ~
# cd openspades

Paul@PAUL-PC MINGW64 ~/openspades
# mkdir build && cd build

Paul@PAUL-PC MINGW64 ~/openspades/build
# cmake ..
-- Building for: Ninja
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - 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: C:/msys64/mingw64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found SDL2: mingw32;C:/msys64/mingw64/lib/libSDL2main.a;C:/msys64/mingw64/lib/libSDL2.dll.a
-- Found SDL2_image: C:/msys64/mingw64/lib/libSDL2_image.dll.a
-- Found OpenGL: opengl32
-- Found ZLIB: C:/msys64/mingw64/lib/libz.dll.a (found version "1.2.13")
-- Found CURL: C:/msys64/mingw64/lib/libcurl.dll.a (found version "7.88.1")
-- Found Freetype: C:/msys64/mingw64/lib/libfreetype.dll.a (found version "2.13.0")
-- Found OpusFile: C:/msys64/mingw64/lib/libopusfile.dll.a
CMake Error at CMakeLists.txt:96 (message):
  libXextlibXext, please install it (and make sure it's in your path)

-- Configuring incomplete, errors occurred!

Everything's good and all but it's just the error with libXext Is this a dependency of OpenSpades or something that it wants me to install it?