-
Notifications
You must be signed in to change notification settings - Fork 26
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
C++ compile issue #73
Comments
Hey, can you give me a answer why I’m getting this error. |
From the look of your command line, you tried to compile your main.cpp with a c++ compiler that's not built by ngdevkit. So it won't produce m68k-elf suitable for linking by m68k-neogeo-elf-gcc Support for c++ has been dropped in git a long time ago. |
@NeoGeoFreak2004 maybe you could use the docker version #102 as a workaround for while. pkg-config --list-all | sort | grep ngevkit
ngdevkit ngdevkit - Opensource development for the Neo-Geo and pkg-config --libs ngdevkit
-L/ngdevkit/local/m68k-neogeo-elf/lib -specs ngdevkit-specs -lngdevkit |
hey yall, so anyways i was trying to compile my own c++ code using ngdevkit but when i type make into the terminal it gives me a error. The error says: g++ -c -o main.o main.cpp
/usr/bin/m68k-neogeo-elf-gcc -o rom.elf main.o
pkg-config --libs ngdevkit
main.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make: *** [Makefile:17: rom.elf] Error 1
idk what this means so can you please help me with this error!
The text was updated successfully, but these errors were encountered: