play-switch icon indicating copy to clipboard operation
play-switch copied to clipboard

Building Play! for Switch...

Open dffb opened this issue 1 year ago • 2 comments

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$

dffb avatar Feb 23 '24 02:02 dffb

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

xerpi avatar Feb 23 '24 05:02 xerpi

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

?

dffb avatar Feb 23 '24 17:02 dffb