Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Bela Code w/ Bela IDE #19

Open
rickygraham opened this issue Sep 17, 2018 · 1 comment
Open

Bela Code w/ Bela IDE #19

rickygraham opened this issue Sep 17, 2018 · 1 comment

Comments

@rickygraham
Copy link

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?

@giuliomoro
Copy link

giuliomoro commented May 8, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants