Skip to content

Build Error #51

@MrTyton

Description

@MrTyton

Hi,

I'm trying to build this, and am getting a compilation error.

make modern
/opt/devkitpro/devkitARM/bin/../libexec/gcc/arm-none-eabi/15.1.0/cc1 -quiet <flags> -o build/modern/src/event_object_movement.o src/event_object_movement.c
src/event_object_movement.c: In function 'GetFollowerInfo':
src/event_object_movement.c:2208:9: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
 2208 |         return;
      |         ^~~~~~
src/event_object_movement.c:2203:14: note: declared here
 2203 | static bool8 GetFollowerInfo(u16 *species, u8 *form, u8 *shiny)
      |              ^~~~~~~~~~~~~~~
make: *** [Makefile:340: build/modern/src/event_object_movement.o] Error 1
make: *** Deleting file 'build/modern/src/event_object_movement.o'

Following the compilation instructions and using git clone https://github.com/resetes12/pokeemerald as the source.

Any idea how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArchivedFor issues that aren't really issues, but contain relevant information to those who may need help.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions