-
Notifications
You must be signed in to change notification settings - Fork 29
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 on Ubuntu 18.04 #26
Comments
Your cc65 version might be too old. What says "cc65 --version" ? I tested it with V2.18. |
But you are right, all these includes are not needed. Fixed here: |
I'm also using cc65 V2.18 but on Ubuntu 18.04 Linux instead of Windows. |
That's strange, then it should work, because the conio.h and cbm.h files are part of CC65 and shouldn't matter if it is used on Linux or Windows. I use Linux as well. |
I don't have the required tools for generating the balloon sprite so I commented out the balloon sprite and replaced it with my own sprite and the program seems to work on R31. I noticed the program doesn't seem to halt and return to the kernel when I hit the Esc key, but I've notice that on other programs as well. I noticed the following statement in the program, but the BSOUT symbol doesn't seem to be defined anywhere in the program. Is BSOUT a symbol provided by CC65? |
Yes, BSOUT is defined in the CC65 startup code which is used if you compile a program for C64. |
I downloaded and tried to compile it on Ubuntu 18.04 but encountered the following error messages.
demo.c:38:10: fatal error: conio.h: No such file or directory
demo.c:40:10: fatal error: cbm.h: No such file or directory
Apparently this was written for an MSDOS compiler. I don't believe these two include files are necessary and they should either be commented out or deleted.
The text was updated successfully, but these errors were encountered: