Open rickygraham opened 6 years ago
Sorry I only saw this now (almost 5 years late...wrong repo). That was an incompatibility with one of Xenomai's headers, which I fixed on the Xenomai side. Anyone still encountering this issue: you should be able to build this now with this hvcc (my stable branch) on a modern Bela image, or use a more modern hvcc from here.
I was able to generate -g bela code with HVCC no problem. I tried running the C++ source through the Bela IDE and it yields the following errors:
Building HvLightPipe.c...Makefile:441: recipe for target '/root/Bela/projects/hvcc_test/build/HvLightPipe.o' failedBuild finishedIn file arm_acle.h: expected identifier or '(' column: 1, line: 142In file arm_acle.h: expected ')' column: 1, line: 142In file included from /root/Bela/projects/hvcc_test/HvLightPipe.c:24:/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/include/arm_acle.h:142:1: error: expected identifier or '('clz(uint32_t t) {^/usr/xenomai/include/boilerplate/compiler.h:87:3: note: expanded from macro 'clz' ({ \ ^In file included from /root/Bela/projects/hvcc_test/HvLightPipe.c:24:/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/include/arm_acle.h:142:1: error: expected ')'/usr/xenomai/include/boilerplate/compiler.h:87:3: note: expanded from macro '__clz' ({ \ ^/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/include/arm_acle.h:142:1: note: to match this '('/usr/xenomai/include/boilerplate/compiler.h:87:2: note: expanded from macro 'clz' ({ \ ^2 errors generated.make: *** [/root/Bela/projects/hvcc_test/build/HvLightPipe.o] Error 1 root@bela ~/Bela#
Any ideas?