Partage
  • Partager sur Facebook
  • Partager sur Twitter

compilation cmake librairie manquante ?

Sujet résolu
    2 juillet 2018 à 16:35:53

    Salut a tous,
    alors avant tout je vient d'installer linux mint et je ne suis encore pas bien a l'aise avec la console.
    Donc je voulait installer un jeu auquel je jouai sous window : (qui a également un version linux)  https://springrts.com/

    J'ai tenté une installation via le gestionnaire de logiciel, sauf qu'il n'y a, a priori, pas de config toute faite pour mint, le jeu tourne plutôt bien mais je me retrouve avec des problèmes de raccourci impactant assez fortement le gameplay.

    Je me tourne vers une installation manuel et ça bloque ;  je ne peut accéder aux dépôts ppa:spring/ppa ''Ce PPA ne prend pas en charge xenial''
    J'ai donc tout récupérer avec :
    git clone -b master git://github.com/spring/spring.git


    Sauf que la encore il me manque des librairies (je suppose!)
    mais je ne trouve pas de quoi il s'agit
    adiz@ad1 ~/spring $ cmake .
    -- The C compiler identification is GNU 5.4.0
    -- The CXX compiler identification is GNU 5.4.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- gcc 5.4.0 detected
    -- Checking to see if CXX compiler accepts flag -fvisibility=hidden
    -- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
    -- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden
    -- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden - yes
    -- Checking to see if CXX compiler accepts flag -msse -mfpmath=sse
    -- Checking to see if CXX compiler accepts flag -msse -mfpmath=sse - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse2
    -- Checking to see if CXX compiler accepts flag -mno-sse2 - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse3
    -- Checking to see if CXX compiler accepts flag -mno-sse3 - yes
    -- Checking to see if CXX compiler accepts flag -mno-ssse3
    -- Checking to see if CXX compiler accepts flag -mno-ssse3 - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse4.1
    -- Checking to see if CXX compiler accepts flag -mno-sse4.1 - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse4.2
    -- Checking to see if CXX compiler accepts flag -mno-sse4.2 - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse4
    -- Checking to see if CXX compiler accepts flag -mno-sse4 - yes
    -- Checking to see if CXX compiler accepts flag -mno-sse4a
    -- Checking to see if CXX compiler accepts flag -mno-sse4a - yes
    -- Checking to see if CXX compiler accepts flag -mno-avx
    -- Checking to see if CXX compiler accepts flag -mno-avx - yes
    -- Checking to see if CXX compiler accepts flag -mno-fma
    -- Checking to see if CXX compiler accepts flag -mno-fma - yes
    -- Checking to see if CXX compiler accepts flag -mno-fma4
    -- Checking to see if CXX compiler accepts flag -mno-fma4 - yes
    -- Checking to see if CXX compiler accepts flag -mno-xop
    -- Checking to see if CXX compiler accepts flag -mno-xop - yes
    -- Checking to see if CXX compiler accepts flag -mno-lwp
    -- Checking to see if CXX compiler accepts flag -mno-lwp - yes
    -- Checking to see if CXX compiler accepts flag -mno-avx2
    -- Checking to see if CXX compiler accepts flag -mno-avx2 - yes
    -- Checking to see if CXX compiler accepts flag -mieee-fp
    -- Checking to see if CXX compiler accepts flag -mieee-fp - yes
    -- Checking to see if CXX compiler accepts flag -std=gnu++11
    -- Checking to see if CXX compiler accepts flag -std=gnu++11 - yes
    -- Checking to see if CXX compiler accepts flag -flto
    -- Checking to see if CXX compiler accepts flag -flto - yes
    -- Checking to see if CXX compiler accepts flag -march=i686
    -- Checking to see if CXX compiler accepts flag -march=i686 - no
    -- Checking to see if CXX compiler accepts flag -march=x86_64
    -- Checking to see if CXX compiler accepts flag -march=x86_64 - no
    -- Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs
    -- Checking to see if CXX compiler accepts flag -mno-tls-direct-seg-refs - yes
    -- Checking to see if CXX compiler accepts flag -fuse-ld=gold
    -- Checking to see if CXX compiler accepts flag -fuse-ld=gold - yes
    -- Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds
    -- Checking to see if CXX compiler accepts flag -fcheck-pointer-bounds - no
    compiler doesn't support: -fcheck-pointer-bounds
    -- Checking to see if CXX compiler accepts flag -mmpx
    -- Checking to see if CXX compiler accepts flag -mmpx - yes
    -- Checking to see if CXX compiler accepts flag -Wchkp
    -- Checking to see if CXX compiler accepts flag -Wchkp - yes
    -- Building Spring on 64bit environment
    -- Targetting 64bit
    CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
      Imported targets not available for Boost version
    Call Stack (most recent call first):
      /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
      /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:254 (FIND_PACKAGE)
    
    
    CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
      Imported targets not available for Boost version
    Call Stack (most recent call first):
      /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
      /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
      CMakeLists.txt:254 (FIND_PACKAGE)
    
    
    CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
      Unable to find the requested Boost libraries.
    
      Unable to find the Boost header files.  Please set BOOST_ROOT to the root
      directory containing Boost or BOOST_INCLUDEDIR to the directory containing
      Boost's headers.
    Call Stack (most recent call first):
      CMakeLists.txt:254 (FIND_PACKAGE)
    
    
    -- 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
    -- Could NOT find SDL2 (missing:  SDL2_LIBRARY SDL2_INCLUDE_DIR)
    -- Could NOT find DevIL (missing:  IL_IL_HEADER IL_INCLUDE_DIR IL_IL_LIBRARY IL_LIBRARIES)
    -- Looking for strnlen
    -- Looking for strnlen - found
    -- Found ld.gold
    -- Compiling with C++11
    -- Checking to see if CXX compiler accepts flag -fdiagnostics-color=auto
    -- Checking to see if CXX compiler accepts flag -fdiagnostics-color=auto - yes
    -- using mtune=generic
    -- Found GIT: /usr/bin/git
    -- Could NOT find GLEW (missing:  GLEW_LIBRARIES) (Required is at least version "1.5.1")
    CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
      Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
    Call Stack (most recent call first):
      /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
      /usr/share/cmake-3.5/Modules/FindZLIB.cmake:124 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
      rts/lib/minizip/CMakeLists.txt:21 (FIND_PACKAGE)
    
    
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    Boost_INCLUDE_DIR (ADVANCED)
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/lua
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/luasocket
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/7z
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
       used as include directory in directory /home/adiz/spring/rts/lib/minizip
    
    -- Configuring incomplete, errors occurred!
    See also "/home/adiz/spring/CMakeFiles/CMakeOutput.log".
    See also "/home/adiz/spring/CMakeFiles/CMakeError.log".


    -
    Edité par adizow 2 juillet 2018 à 16:40:43

    • Partager sur Facebook
    • Partager sur Twitter
      2 juillet 2018 à 19:24:23

      salut,

      https://springrts.com/wiki/Building_Spring_on_Linux#Get_Dependencies

      • Partager sur Facebook
      • Partager sur Twitter

      Validez la réponse utile « Un problème clairement exposé est à moitié résolu. » Pas de MP technique

        7 juillet 2018 à 18:06:34

        Salut,

        merci de ta réponse (pas de notification ?! !@#²%) mais il n'y a clairement pas tout sur ces pages.

        je suis passé a mint 19 entre temps et j'ai pas mal progresser de mon coté,

        j'ai partiellement réussi l’installation :  j'ai lancé le jeu dans un "safemode" via la console tout fonctionne parfaitement sauf que, pour tout ce qui est organisation des parties, c'est un programme a part qui gère (springlobby)et la j'ai rien...


        donc j'ai repéré quelques problèmes potentiels dans le cmake. actuel

        CMake Warning at rts/build/cmake/TestCXXFlags.cmake:85 (Message):
          IEEE-FP support is missing, online play is highly discouraged with this
          build

        je pense que tout vient de la ; il me faut  mieee-fpque je ne trouve nul part (et que j'avais sur mint 18...)

        compiler doesn't support: -fcheck-pointer-bounds
        INFO RT-extension not found. glTF import/export will be built without Open3DGC-compression.


        Bref, je creuse ;

        pour plus d'info : https://www.forum-francophone-linuxmint.fr/viewtopic.php?f=28&t=10304



        -
        Edité par adizow 7 juillet 2018 à 22:51:21

        • Partager sur Facebook
        • Partager sur Twitter
          9 juillet 2018 à 17:13:26

          Il te manque Boost, zlib et glew comme CMake te le dit.

          • Partager sur Facebook
          • Partager sur Twitter

          git is great because Linus did it, mercurial is better because he didn't.

            11 juillet 2018 à 10:42:37

            Merci markand, effectivement quand je vois ce premier rapport ... je n'y comprenais vraiment pas grand chose a ce moment la ... mais  je n'était peu être vraiment pas loin de finaliser mon affaire  :waw:

            j'ai changé pas mal de fois de distrib depuis, et ça s'est compliquer d'avantage avec la version 19 de mint qui est apparemment, pleine de bug en tout genre,bref j'ai trouvé une alternative plus simple sous debian,

            Voila, sujet "résolu" ; quoi qu'il en soit merci de ton aide

              bye

            • Partager sur Facebook
            • Partager sur Twitter

            compilation cmake librairie manquante ?

            × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
            × Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.
            • Editeur
            • Markdown