Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Readme #1

Open
angerdanger opened this issue Mar 4, 2021 · 2 comments
Open

Updated Readme #1

angerdanger opened this issue Mar 4, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@angerdanger
Copy link

The current readme provides instructions for building SM64 for DOS using Docker, so you get a few errors when trying to build for Funkey.

  • Steps 2 and 3 mention "sm64_dos" which doesn't affect the build but is a misnomer.
  • Step 3 instructs the user to enter the line "docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 -ti sm64_dos make -j4 ENABLE_OPENGL_LEGACY=1," but that last argument causes the error "Cannot specify multiple graphics backends."
  • After omitting that last argument, step 3 yields "baserom..z64" file not found!" Adding an original ROM (renamed as specified) to the project directory alleviates this error. Although it becomes obvious you need the original ROM, but it'd be helpful if the readme mentioned it.
  • After adding the ROM, step 3 seems to work; the baserom opens successfully. But after a little while, an error is thrown saying "Makefile.split:152: build/us_pc/level_rules.mk: No such file or directory"
  • This error seems to solve itself after trying step 3 again; a file called level_rules.mk is generated the required location, but five more errors remain:
    make: /opt/FunKey-sdk-2.0.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config: Command not found make: /opt/FunKey-sdk-2.0.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config: Command not found make: /opt/FunKey-sdk-2.0.0/bin/arm-funkey-linux-musleabihf-gcc: Command not found Makefile:950: recipe for target 'build/us_pc/src/engine/surface_collision.o' failed make: *** [build/us_pc/src/engine/surface_collision.o] Error 127

I'm sorry if this isn't the place to bring this up or if I've improperly formatted this issue. I'm hoping the readme can be updated to make it easier to build a working version of SM64 for Funkey.

@Michel-FK Michel-FK added the documentation Improvements or additions to documentation label Apr 30, 2021
@chrisdiana
Copy link

@angerdanger I ran across the same issues. There is a Google Colab Notebook that allows you to compile this without having to setup locally.

@angerdanger
Copy link
Author

@angerdanger I ran across the same issues. There is a Google Colab Notebook that allows you to compile this without having to setup locally.

That's awesome! I'm not sure if I should bother leaving this open anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants