-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can't compile sgdk -- fails compiling "src/bmp_a.s" #4
Comments
So the moment it reaches an assembly file, it fails. MINGW64 marsdev /opt/mars/m68k-elf/bin/m68k-elf-as.exe sgdk/SGDK/src/bmp_a.s
sgdk/SGDK/src/bmp_a.s: Assembler messages:
sgdk/SGDK/src/bmp_a.s:4: Error: Unknown operator -- statement `func clearBitmapBuffer' ignored
sgdk/SGDK/src/bmp_a.s:50: Error: Unknown operator -- statement `func copyBitmapBuffer' ignored
sgdk/SGDK/src/bmp_a.s:127: Error: Unknown operator -- statement `func BMP_setPixelFastA' ignored
sgdk/SGDK/src/bmp_a.s:166: Error: Unknown operator -- statement `func BMP_setPixelA' ignored
sgdk/SGDK/src/bmp_a.s:180: Error: Unknown operator -- statement `func BMP_setPixelsFast_V2D' ignored
sgdk/SGDK/src/bmp_a.s:233: Error: Unknown operator -- statement `func BMP_setPixels_V2D' ignored
sgdk/SGDK/src/bmp_a.s:300: Error: Unknown operator -- statement `func BMP_setPixelsFast' ignored
sgdk/SGDK/src/bmp_a.s:352: Error: Unknown operator -- statement `func BMP_setPixels' ignored
sgdk/SGDK/src/bmp_a.s:419: Error: Unknown operator -- statement `func BMP_clipLine' ignored
sgdk/SGDK/src/bmp_a.s:573: Error: Unknown operator -- statement `func BMP_drawLine' ignored
sgdk/SGDK/src/bmp_a.s:723: Error: Unknown operator -- statement `func BMP_isPolygonCulled' ignored
sgdk/SGDK/src/bmp_a.s:1985: Error: Unknown operator -- statement `func BMP_drawPolygon' ignored
MINGW64 marsdev /opt/mars/m68k-elf/bin/m68k-elf-as.exe --version
GNU assembler (GNU Binutils) 2.33.1
Copyright (C) 2019 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `m68k-elf' and default,
cpu type `m68000'.
|
A bit more of info on GCC version just in case. MINGW64 marsdev /opt/mars/m68k-elf/bin/m68k-elf-gcc --version
m68k-elf-gcc.exe (GCC) 9.2.0 |
It's pulling from master which has been undergoing constant changes, including using gcc to build the asm files instead of gas which I haven't modified my version of the makefile to do yet. Try |
Yup! that was it, thanks for the explanation, I was suspecting something weird related to sgdk but wasn't certainly sure what. |
Hi,
When trying to compile sgdk I get an error on one file (cutting some output for brevity).
Not sure there has been any change on sgdk itself that might affect this, I'm just pulling everything today.
I did setup
export MARSDEV=/opt/mars
, the environment is MINGW64:The text was updated successfully, but these errors were encountered: