xerpi / play-switch

Play! - PlayStation2 Emulator (Nintendo Switch port)
Other
39 stars 3 forks source link

Building Play! for Switch... #4

Open dffb opened 5 months ago

dffb commented 5 months ago

Quick summary

can't get the command right for building this

System Details

Ubuntu terminal

Issue Details

stuck on this line ->

cmake .. -DCMAKE_TOOLCHAIN_FILE=../deps/Dependencies/cmake-switch/switch.cmake -DBUILD_TESTS:BOOL=OFF -DENABLE_AMAZON_S3:BOOL=OFF make Play_Switch_nro

Here's what i get :

dan@DESKTOP-CHJM5Q5:~/build$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../deps/Dependencies/cmake-switch/switch.cmake -DBUILD_TESTS:BOOL=OFF -DENABLE_AMAZON_S3:BOOL=OFF Play_Switch_nroCMake Error: The source directory "/home/dan" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. dan@DESKTOP-CHJM5Q5:~/build$ make Play_Switch_nro make: *** No rule to make target 'Play_Switch_nro'. Stop. dan@DESKTOP-CHJM5Q5:~/build$

xerpi commented 5 months ago

You have to create build inside the directory of this repo.

dffb commented 5 months ago

i managed to clone the depository and i'm stuck on

mkdir build cd build cmake https://github.com/xerpi/play-switch/deps/Dependencies/cmake-switch/switch.cmake -DBUILD_TESTS:BOOL=OFF -DENABLE_AMAZON_S3:BOOL=OFF make Play_Switch_nro

?