You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To work with it, open a terminal in the directory with the code you'd like to build in it and run the following command:
27
27
28
28
```shell
29
-
docker run -ti -v .:/source pspdev/pspdev:latest
29
+
docker run -ti -v $PWD:/source pspdev/pspdev:latest
30
30
```
31
31
32
-
After that you can run `cd /source` to navigate to the code.
32
+
This mounts the current directory to a directory called source in the container, so run `cd /source` to navigate to it.
33
33
34
34
That's it, now the PSP SDK can be used to build PSP software. Check out the [Basic Programs](../basic_programs.html) page to for examples on what you can do with it.
35
+
36
+
### Windows
37
+
38
+
Using the container on Windows can be a bit tricky.
39
+
40
+
* Replace $PWD with the absolute path in a UNIX format. Example: `/c/Users/John/my_psp_code`.
41
+
* Your code *must* be located somewhere under "home folder" (like `C:\Users\John`), or the mounted directory will be empty when viewed from inside the container due to permissions.
42
+
* If you get an `Operation not permitted` error from gmake while using psp-cmake, you'll need to add the `--privileged=true` option to your `docker run` command.
0 commit comments