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

sgdk-stage9-sample fails to build #12

Closed
dleslie opened this issue Dec 31, 2020 · 2 comments
Closed

sgdk-stage9-sample fails to build #12

dleslie opened this issue Dec 31, 2020 · 2 comments

Comments

@dleslie
Copy link
Contributor

dleslie commented Dec 31, 2020

On 2f749a4f3547f9f4b06a2413f30d1efe53e526c6:

src/main.c:57:26: error: 'PLAN_B' undeclared (first use in this function)
   57 |  VDP_setHorizontalScroll(PLAN_B, -camera.x);
      |                          ^~~~~~
src/main.c:57:26: note: each undeclared identifier is reported only once for each function it appears in
src/main.c:59:26: error: 'PLAN_A' undeclared (first use in this function)
   59 |  VDP_setHorizontalScroll(PLAN_A, -camera.x);
      |                          ^~~~~~

I compiled on WSL in an x86-64 ubuntu environment.

@andwn
Copy link
Owner

andwn commented Dec 31, 2020

Oh, I recall Stef renamed PLAN_A and PLAN_B (maybe just to correct the spelling?). For that other issue, the names of the interrupt routines (_HINT/_EXTINT/etc) also changed in SGDK 1.60. I'll have to double check the new names and update them when I have time later. I really need to get around to making automated test cases...

@dleslie
Copy link
Contributor Author

dleslie commented Jan 5, 2021

Looks like PLAN was changed to BG

https://github.com/Stephane-D/SGDK/blob/master/changelog.txt

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

No branches or pull requests

2 participants