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

ndk13 has incomplete GfxBase #42

Closed
tehKaiN opened this issue Aug 21, 2018 · 5 comments
Closed

ndk13 has incomplete GfxBase #42

tehKaiN opened this issue Aug 21, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@tehKaiN
Copy link
Contributor

tehKaiN commented Aug 21, 2018

While compiling using #include <graphics/gfxbase.h>:

68k-amigaos/ndk13-include/graphics/gfxbase.h:119:30: error: field 'MonitorVBlank' has incomplete type
  struct AnalogSignalInterval MonitorVBlank;

from what I've gathered monitor.h is empty on nix13. Filling it with with content from e.g. here solves this problem.

@SamuraiCrow
Copy link

Those are from Kickstart 2.04 since 1.3 didn't have those functions.

@tehKaiN
Copy link
Contributor Author

tehKaiN commented Aug 22, 2018

Still, GfxBase needs AnalogSignalInterval, so either GfxBase should be smaller on 1.3 or something is missing.

@bebbo bebbo added the bug Something isn't working label Oct 12, 2018
@dwhinham
Copy link
Contributor

The workaround I've been using for now is to copy the file m68k-amigaos\ndk-include\graphics\monitor.h to m68k-amigaos\ndk13-include\graphics\monitor.h, overwriting the empty file.

Would be really nice to get this fixed though. 😄

bebbo added a commit that referenced this issue Oct 24, 2018
@bebbo
Copy link
Owner

bebbo commented Oct 24, 2018

please test

@dwhinham
Copy link
Contributor

Works fine for me - thanks!

Just added a -D__KICK13__ in my CFLAGS for VBCC (my project builds with both compilers using your installer).

@bebbo bebbo closed this as completed Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants