Open donnerbono opened 1 year ago
It looks like the vult executable found in /home/pi/vult/vultc
is not the correct. If you build the Vult compiler by yourself, it's better to install it with sudo make install
. That will place it under /usr/bin/
and cmake will pick it correctly.
Hi I get a syntax error on running the cmake:
pi@raspberrypi:~/vult-master/examples/build $ cmake ../ CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Vult compiler found in /home/pi/vult/vultc /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected /home/pi/vult/vultc: 8: /home/pi/vult/vultc: Syntax error: ")" unexpected -- Configuring done -- Generating done -- Build files have been written to: /home/pi/vult-master/examples/build