-
Need some help with building this project. Using 'make kernel=menu', I receive the following error for the file kernel_MODplay.cpp:
I am attempting to build this on a Windows machine using: I have been able to successfully build and run demo projects for circle 44.3 on a Raspberry Pi 3B+ without issue. Since I am new at this, I have probably missed something. Any help will be greatly appreciated. UPDATE: As a heavy-handed experiment, I commented out code that used ConvertSample (error mentioned above) and was able to get the kernal8.img file created. In the 'kernel_MODplay.cpp' file, I commented out the computeSamplesAndScreenUpdate and the reference to it. In the file 'sound.h', I commented out the block for putSampleHDMI and removed references to it in the files 'kernel_sid.cpp' and 'kernal_sid8.cpp'. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
I managed to compile it, by commenting out the ConvertSample calls and using a newer version of circle, but the resulting binary does not work. It does not even initialize the display. I've also tried the fork of hpingel, but no success. The RAD I was able to compile and the binary works., so I guess my setup works in general. |
Beta Was this translation helpful? Give feedback.
-
The following only applies if you use Circle 45.3.x or newer: add $(CIRCLEHOME)/lib/sound/libsound.a to the Makefile and include the hdmisoundbasedevice. Because of this hassle I would stick to Circle 44.3 until you have everything running. |
Beta Was this translation helpful? Give feedback.
-
If I remember correctly, I leave the sysconfig.h of Circle unchanged and override the necessary settings in Config.mk which has the same result. I added the following lines to the Config.mk generated by configure:
|
Beta Was this translation helpful? Give feedback.
So my issue is that I am travelling at the moment and I don't have access to my build environment at home until tonight - and then I don't have time.
Long story short: I have created a docker image that includes all the stuff to build all flavours reliably. In there I use this patch to patch the sound files.
You can give this patch a try with vanilla circle. So revert the changes to the sound files first.
I will upload the patch file here.
EDIT: The patch is a summary of the two modified files in folder "modified" and the two modified files in sibling folder "update".
So all the changes are in the repo.
EDIT2: As became clear, the attached patch fits best to Circle 45.3.x and another patc…