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

    Help compiling lr-neo-cd for Pi4

    Scheduled Pinned Locked Moved Help and Support
    neogeo-cdneo-cdlr-neo-cdneocdpi4
    1 Posts 1 Posters 378 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.
    • DarksaviorD
      Darksavior
      last edited by Darksavior

      UPDATE: Games work only if they're in non-chd format so there's something up with that. I opened an issue at the repo to see if it's on his end or mine.

      https://github.com/libretro/neocd_libretro

      While I previously had no problems compiling before thanks to the users in the previous thread, the pi3 binary from back then DOES work and play games on a pi4, but I'd figure I'd try to get it properly optimized for the pi4 and also keep the binary updated for my pi3.

      A recent update to the repo has made the CMakeLists.txt even more complicated for me now and I did my best to guess where the flags go. It compiles but when I load a game, it loads to the neocd menu screen without the game being detected. I only tested on my pi4.

      Here are the settings I changed:
      Fromset(MACHINE_OPTIONS "-march=x86-64 -mtune=generic") to
      set(MACHINE_OPTIONS "-march=native")

      Fromset(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${MACHINE_OPTIONS} ${BASE_OPTIONS} ${CXX_OPTIONS}") to set(CMAKE_CXX_FLAGS_RELEASE "-O2 -march=armv8-a+crc -mtune=cortex-a72 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations")

      Thanks.

      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.