Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

MakeFile Not Found #2

Open
jpc0016 opened this issue Oct 7, 2019 · 1 comment
Open

MakeFile Not Found #2

jpc0016 opened this issue Oct 7, 2019 · 1 comment

Comments

@jpc0016
Copy link

jpc0016 commented Oct 7, 2019

Good morning,

I attempted to run the command in the third step and received a make error: make: *** No targets specified and no makefile found. Stop. Was there a MakeFile in a previous version?

==================
  How do I use it?
 ==================

 Use the helper script to run 'make' on the current directory:

   ps2dev-docker.sh make
@tomchinery
Copy link

tomchinery commented Nov 1, 2019

This is because the author expects you to have source files in the current directory which then get automatically copied over to your host machine via docker.

A good test without using any source files is using ps2sdk's samples directory:

  1. ps2dev-docker.sh
  2. cd /usr/local/ps2dev/ps2sdk/samples/draw/cube/
  3. make
  4. In a different terminal window copy the cube.elf to your system to run in a emulator or on your ps2 machine:
    1. List containers and copy the ps2dev containerId: docker ps
        CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
        926e99808d70        ps2dev-docker       "bash"              16 minutes ago      Up 16 minutes                           strange_gates
      
    2. Finally copy to your host machine:
      docker cp <your_container_id>:/usr/local/ps2dev/ps2sdk/samples/draw/cube/cube.elf <path_on_your_machine>
      
      eg:
      docker cp 926e99808d70:/usr/local/ps2dev/ps2sdk/samples/draw/cube/cube.elf ~/Projects/ps2/
      

Hope that helps, any issues please ask.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants