Closed pi-gram closed 1 year ago
I assume that you are clearing out your build folder after each new build and have run make clean before make -j4 ? Looks like a compiler issue with those error functions in the log. What build platform are you using ?
yep, doing an rm -r * every time in the build folder - am I missing a an extra library or something? I'm just using UBuntu 22.04 with compiler versions as shown in cmake output above
I've removed the bool type-specifier in both cases (it can be inferred anyhow). You will need to pull:
There were some outstanding changes on pico-dvi-menu which I have also merged back to main; hope this does not cause any additional problems.
Please, let me know if this helps
nailed it.
[100%] Linking CXX executable ZxSpectrumPicoVga.elf [100%] Built target ZxSpectrumPicoVga
works a treat now. thank you!
Setup environment and can build, compile and make other applications - so the environment is okay.
Followed the readme instructions as defined;
cmake -DPICO_COPY_TO_RAM=0 -DPICO_BOARD=vgaboard ..
however when I get to this point the build fails:
make -j4 ZxSpectrumPicoVga
Looking at the code in ZxSpectrumMenu.cpp it is just stepping through the snapshot images, so if I comment it out it gets further but then fails here on the same type of declaration:
Wild guess from me - but is this a C compiler version problem? have you used a new way of defining a function with a bool return or something relating to the []'s? or are you needing a different C ompiler version? any ideas how to over come this would be great.
The pre-built .uf2 file works great on my picodemovga, but I need to modify it a bit that's why I'm looking at build/compile myself.