xtreme8000 / CavEX

Project to recreate your favourite block game for the Wii (Beta 1.7.3)
GNU General Public License v3.0
225 stars 20 forks source link

expected identifier or '(' before '}' token in gfx.c #10

Closed Samrtass closed 11 months ago

Samrtass commented 11 months ago

image

idk if i am compiling it wrong or missing a library.

SmollestBug commented 11 months ago

export202308102143215397

Created this Github account to comment on this; I've also had this compilation issue, I resolved it myself using Programmer's Notepad, but a series of warnings appear for several files after as seen in this screenshot, and the resulting .dol file opens to a black screen in the Homebrew Channel. (I did use the updated gfx.c from the repository to retry it before posting this.)

xtreme8000 commented 11 months ago

The warnings are "fine". Oh I should probably mention that latest devkitpro produces broken builds. They messed something up with usleep(), which now sleeps/hangs forever. While that function call can be removed and it will work without, performance will be severely degraded.

I use an older devkitpro version, unfortunately I have no idea how to downgrade it, because they remove older versions immediately from the pacman repo. Maybe there is a windows installer for an older version available.

SmollestBug commented 11 months ago

I managed to cobble together some older devkitPro install files from https://gbatemp.net/threads/collection-of-old-devkitpro-versions.526377/ and it seemingly has worked! export202308102257577386