GameYob icon indicating copy to clipboard operation
GameYob copied to clipboard

Error compiling

Open stmaccarelli opened this issue 6 years ago • 3 comments

compiling from osx make I got this error:

GameYob-master/platform/ds/arm7/source/main.c:148:14: error: 'PM_DSI_HACK' undeclared (first use in this function)
         case PM_DSI_HACK:

it appears in this function:


// Custom version of a handler in libnds.
// Tells the arm9 we're entering sleep mode to prevent crashes relating to audio 
// code. It's a weird hack but it seems to work.
void powerHandler(u32 value, void* user_data) {

stmaccarelli avatar Mar 15 '18 11:03 stmaccarelli

Last I remember, the master branch doesn't compile with the latest devkitarm, but the v0.5-hotfix branch might (what the more recent releases are based on).

Stewmath avatar Mar 16 '18 01:03 Stewmath

Oh ok, thanks. v0.5-hotfix is the branch GameYob v0.5.2 comes from?

On Fri, 16 Mar 2018 at 02:57, Drenn1 [email protected] wrote:

Last I remember, the master branch doesn't compile with the latest devkitarm, but the v0.5-hotfix branch might (what the more recent releases are based on).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Drenn1/GameYob/issues/163#issuecomment-373579409, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVGEfAopCGmsC7l2y0U5afEpFpplHVgks5texwCgaJpZM4Sr-T0 .

--

Stefano MaccarelliArt director, designer, creative coder.

Via San Donato, 20 – Torino, Italy www.stefano-maccarelli.com

www.linkedin.com/in/stmaccarelli http://www.linkedin.com/in/stmaccarelli (+39) 340 6247854 [email protected]

stmaccarelli avatar Mar 16 '18 07:03 stmaccarelli

You can remove that if statement from that file and everything works fine (except on Windows, where some dirty directory hacks must be done for compiling to work.)

ParzivalWolfram avatar May 11 '18 13:05 ParzivalWolfram