randyrossi / bmc64

A bare metal Commodore 64 emulator for the Raspberry Pi with true 50hz/60hz smooth scrolling, low input latency and better audio/video sync.
GNU General Public License v3.0
479 stars 56 forks source link

Cant build #159

Closed joolzg closed 3 years ago

joolzg commented 3 years ago

Tried a new build today and found that I could not build. Upgraded compiler to 10.2.1 and same problem.

Final bit of the build with "./make_all pi4"

checking whether arm-none-eabi-g++ supports C++11 features with -std=c++11... yes checking for FONTCONFIG... yes checking for arm-none-eabi-gcc option to accept ISO C99... unsupported configure: error: A C99-compliant compiler is required. make: No rule to make target 'libarchdep'. Stop. make: No rule to make target 'libhvsc'. Stop. make: No rule to make target 'x64'. Stop. make: No rule to make target 'x128'. Stop. make: No rule to make target 'xvic'. Stop. make: No rule to make target 'xplus4'. Stop. make: *** No rule to make target 'xpet'. Stop.

Link errors above are expected

rm -f .o .a .elf .lst .img .hex .cir .map ~ CPP main.o CPP kernel.o CPP vicesound.o CPP vicesoundbasedevice.o CPP viceoptions.o CPP viceapp.o CPP fbl.o CC crt_pi_idx.o CC crt_pi_rgb.o CPP viceemulatorcore.o In file included from third_party/vice-3.3/src/types.h:30, from third_party/vice-3.3/src/sid/sid.h:34, from viceemulatorcore.cpp:31: third_party/vice-3.3/src/vice.h:43:12: fatal error: config.h: No such file or directory 43 | # include / Automagically created by the `configure' script. */

Any workaround?

randyrossi commented 3 years ago

Hmm...this looks like it has been broken for a while. I had a cached config.h in my build dir so I didn't notice. The configure in the vice-3.3 dir is adding -pthread to the compile args and the toolchain has no idea what that is.

BTW: I don't support the Pi4. Even if it does compile, there's no guarantee it will run. You would have to disable the shader at the very least . THere are probably other issues too.

On Mon, Feb 1, 2021 at 2:28 AM Julian Gardner notifications@github.com wrote:

Tried a new build today and found that I could not build. Upgraded compiler to 10.2.1 and same problem.

Final bit of the build with "./make_all pi4" checking whether arm-none-eabi-g++ supports C++11 features with -std=c++11... yes checking for FONTCONFIG... yes checking for arm-none-eabi-gcc option to accept ISO C99... unsupported configure: error: A C99-compliant compiler is required. make: No rule to make target 'libarchdep'. Stop. make: No rule to make target 'libhvsc'. Stop. make: No rule to make target 'x64'. Stop. make: No rule to make target 'x128'. Stop. make: No rule to make target 'xvic'. Stop. make: No rule to make target 'xplus4'. Stop. make: *** No rule to make target 'xpet'. Stop. Link errors above are expected

rm -f .o .a .elf .lst .img .hex *.cir

.map ~ CPP main.o CPP kernel.o CPP vicesound.o CPP vicesoundbasedevice.o CPP viceoptions.o CPP viceapp.o CPP fbl.o CC crt_pi_idx.o CC crt_pi_rgb.o CPP viceemulatorcore.o In file included from third_party/vice-3.3/src/types.h:30, from third_party/vice-3.3/src/sid/sid.h:34, from viceemulatorcore.cpp:31: third_party/vice-3.3/src/vice.h:43:12: fatal error: config.h: No such file or directory 43 | # include / Automagically created by the `configure' script. /

Any workaround?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKHCL3WSVZ2ZDLD4ONDS4ZJY3ANCNFSM4W4I6HMQ .

-- Randy Rossi

joolzg commented 3 years ago

I was just testing with pi4, but pi3 fails the same

randyrossi commented 3 years ago

I think I fixed it. Just uploaded a change. Let me know if it worked.

On Mon, Feb 1, 2021 at 9:46 AM Julian Gardner notifications@github.com wrote:

I was just testing with pi4, but pi3 fails the same

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/randyrossi/bmc64/issues/159#issuecomment-770907231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI3HKGVSZCJY4JSWFFVJC3S424XBANCNFSM4W4I6HMQ .

-- Randy Rossi

joolzg commented 3 years ago

Fixed thanks.