RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    sudo cmake ../ not working

    Scheduled Pinned Locked Moved Help and Support
    moonlightcmakeblogretropie 4.1error
    2 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JHNTR
      last edited by

      Hi I was trying to install Moonlight to my Raspberry Pi 3(running Retropie) and I was following these instructions https://blog.jhot.me/guide-install-moonlight-on-raspbian-retropie-9d1318b8ddf8#.wu3eax42p
      Everything worked great until the command sudo cmake ../ came up and I run in some errors and I don't understand how I can fix it.

      Retropie Version 4.1
      NVidia Geforce Experience version: 3.2.0.69 (not that it matters)
      Moonlight Embedded version: 2.2.3
      Moonlight Embedded running on: Raspberry Pi 3 (running Retropie)

      Output of Moonlight Embedded(Command line):
      pi@retropie:~/moonlight-embedded-2.2.3/build $ sudo cmake ../
      -- Could NOT find Freescale (missing: FREESCALE_INCLUDE_DIR KERNEL_INCLUDE_DIR VPU_LIBRARY)
      -- Could NOT find Amlogic (missing: AMLOGIC_INCLUDE_DIR AMCODEC_LIBRARY AMADEC_LIBRARY AMAVUTILS_LIBRARY)
      -- Checking for module 'libavcodec'
      -- No package 'libavcodec' found
      -- Checking for module 'libavutil'
      -- No package 'libavutil' found
      -- Checking for module 'vdpau'
      -- No package 'vdpau' found
      -- Checking for module 'libcec>=3.0.0'
      )--
      -- Checking for module 'libenet'
      -- No package 'libenet' found
      CMake Error at /usr/local/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
      A required package was not found
      Call Stack (most recent call first):
      /usr/local/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
      libgamestream/CMakeLists.txt:8 (pkg_check_modules)

      -- Configuring incomplete, errors occurred!
      See also "/home/pi/moonlight-embedded-2.2.3/build/CMakeFiles/CMakeOutput.log".
      See also "/home/pi/moonlight-embedded-2.2.3/build/CMakeFiles/CMakeError.log".

      What is the expected result? Should create a makefile

      What happens instead of that? Errors occur saying there are files missing

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @JHNTR
        last edited by herb_fargus

        @JHNTR looks like you're missing all the dependencies it says you're missing.

        Also format your logs properly as described on the read this first page

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.