After a long decision whether I should now continue Ryujinx or yuzu, I finally joined the eden-emu community, and are evolving the now dead yuzu-emu project with them.
I want to make this emulator project work on FreeBSD, but I have some problems related to Cmake, and I don't know how to solve them.
I think I got all dependencies which I need to build eden-emu locally (in a build dir in the $HOME directory) without ports for now.
A port will be created and submitted once the local version is running successfully.
My problem is the following:
I have build and installed archivers/liblz4.
My suggestion is, the lz4.so file cannot be found by cmake so, I tried something like:
eden-emus CmakeLists declares lz4 the following way:
Is there some other way to tell Cmake that I have lz4 installed as liblz4 and the .so library is at another path than the cmake file expects it ?
What I basically want to achieve for now is to get the linux version build with cmake on FreeBSD.
Re-reading the porters handbook, it was the first recommendation before trying and creating a port (Makefile, patches, etc.).
I want to make this emulator project work on FreeBSD, but I have some problems related to Cmake, and I don't know how to solve them.
I think I got all dependencies which I need to build eden-emu locally (in a build dir in the $HOME directory) without ports for now.
A port will be created and submitted once the local version is running successfully.
My problem is the following:
Code:
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find lz4 (missing: LZ4_LINK_LIBRARIES) (found version "")
My suggestion is, the lz4.so file cannot be found by cmake so, I tried something like:
Code:
cmake .. -GNinja -DYUZU_TESTS=OFF -DLZ4_USE_STATIC_LIBS=OFF -DLZ4_INCLUDE_DIR=/usr/local/include -DLZ4_LIBRARY=/usr/local/lib/liblz4.so
eden-emus CmakeLists declares lz4 the following way:
Code:
find_package(lz4 REQUIRED)
Is there some other way to tell Cmake that I have lz4 installed as liblz4 and the .so library is at another path than the cmake file expects it ?
What I basically want to achieve for now is to get the linux version build with cmake on FreeBSD.
Re-reading the porters handbook, it was the first recommendation before trying and creating a port (Makefile, patches, etc.).