You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like a recent SGDK commit added a new NO_INLINE define in config.h. I removed my outdated config.h and it seems to be fixed now. Try pulling and trying again.
Hi! Problem solved! Thank you very much for the correction, and thank you for the whole project, the possibility of developing for mega drive and 32x games on linux has made a big difference in my current project
When I tried to execute the 'make sgdk' command, it returned several errors while attempting to compile the 'bmp.c' file.
src/bmp.c:84:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_init’
84 | void NO_INLINE BMP_init(u16 double_buffer, VDPPlane plane, u16 palette, u16 priority)
| ^~~~~~~~
src/bmp.c:113:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_end’
113 | void NO_INLINE BMP_end()
| ^~~~~~~
src/bmp.c:156:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_reset’
156 | void NO_INLINE BMP_reset()
| ^~~~~~~~~
src/bmp.c:264:15: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_flip’
264 | u16 NO_INLINE BMP_flip(u16 async)
| ^~~~~~~~
src/bmp.c:1072:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_drawBitmapData’
1072 | void NO_INLINE BMP_drawBitmapData(const u8 *image, u16 x, u16 y, u16 w, u16 h, u32 pitch)
| ^~~~~~~~~~~~~~~~~~
src/bmp.c:1101:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_drawBitmap’
1101 | bool NO_INLINE BMP_drawBitmap(const Bitmap *bitmap, u16 x, u16 y, bool loadpal)
| ^~~~~~~~~~~~~~
src/bmp.c:1130:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_drawBitmapScaled’
1130 | bool NO_INLINE BMP_drawBitmapScaled(const Bitmap *bitmap, u16 x, u16 y, u16 w, u16 h, bool loadpal)
| ^~~~~~~~~~~~~~~~~~~~
src/bmp.c:1161:16: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘BMP_scale’
1161 | void NO_INLINE BMP_scale(const u8 *src_buf, u16 src_wb, u16 src_h, u16 src_pitch, u8 *dst_buf, u16 dst_wb, u16 dst_h, u16 dst_pitch)
| ^~~~~~~~~
src/bmp.c:1262:23: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘initTilemap’
1262 | static void NO_INLINE initTilemap(u16 index)
| ^~~~~~~~~~~
src/bmp.c:1405:22: erro: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘doBlit’
1405 | static u16 NO_INLINE doBlit()
The text was updated successfully, but these errors were encountered: