mkst / sm64-port

My mirror of the sm64-port. You probably want to look at the 3DS port branch: https://github.com/mkst/sm64-port/tree/3ds-port
https://discord.gg/7bcNTPK
251 stars 34 forks source link

The EU rom can't compile with the puppycam patch applied. #33

Closed OscarCapac closed 4 years ago

OscarCapac commented 4 years ago

I get these errors.

In file included from src/game/camera.c:708:
src/game/../../enhancements/puppycam.inc.c:136:45: error: 'newcam_options' undeclared here (not in a function); did you mean 'newcam_options_de'?
  136 | static u8 (*newcam_options_ptr)[OPT][64] = &newcam_options;
      |                                             ^~~~~~~~~~~~~~
      |                                             newcam_options_de
src/game/../../enhancements/puppycam.inc.c:137:43: error: 'newcam_flags' undeclared here (not in a function); did you mean 'newcam_flags_de'?
  137 | static u8 (*newcam_flags_ptr)[OPT][64] = &newcam_flags;
      |                                           ^~~~~~~~~~~~
      |                                           newcam_flags_de
src/game/../../enhancements/puppycam.inc.c:138:45: error: 'newcam_strings' undeclared here (not in a function); did you mean 'newcam_strings_de'?
  138 | static u8 (*newcam_strings_ptr)[OPT][64] = &newcam_strings;
      |                                             ^~~~~~~~~~~~~~
      |                                             newcam_strings_de
mkst commented 4 years ago

This is now fixed via https://github.com/mkst/sm64-port/commit/feb18e15479171620ba251a2b8ed2e6cd2b4792d. There is a bug in the original puppycam patch, the author has been notified.

Please close this issue once you've successfully compiled the EU rom otherwise I will close it in a few days.

OscarCapac commented 4 years ago

Thank you. It works now.