Error during installation, cannot read include files
MarcelTorne opened this issue · 1 comments
MarcelTorne commented
Hi,
I was trying to install buzz following your steps, but when I do so, I get the following error:
Can't find file 'string.bzz'
/Users/marcel_torne/buzz/src/include/queue.bzz:1:20: Can't read 'string.bzz'
Could you please help me with the installation? I would really appreciate.
Please find bellow the console output when running make:
make
[ 1%] Automatic MOC for target buzz
[ 1%] Built target buzz_autogen
[ 2%] Building CXX object buzz/CMakeFiles/buzz.dir/buzz_autogen/mocs_compilation.cpp.o
[ 3%] Building C object buzz/CMakeFiles/buzz.dir/buzzdarray.c.o
[ 4%] Building C object buzz/CMakeFiles/buzz.dir/buzzdict.c.o
[ 5%] Building C object buzz/CMakeFiles/buzz.dir/buzzset.c.o
[ 5%] Building C object buzz/CMakeFiles/buzz.dir/buzztype.c.o
[ 6%] Building C object buzz/CMakeFiles/buzz.dir/buzzheap.c.o
[ 7%] Building C object buzz/CMakeFiles/buzz.dir/buzzmsg.c.o
[ 8%] Building C object buzz/CMakeFiles/buzz.dir/buzzinmsg.c.o
[ 9%] Building C object buzz/CMakeFiles/buzz.dir/buzzoutmsg.c.o
[ 9%] Building C object buzz/CMakeFiles/buzz.dir/buzzvstig.c.o
[ 10%] Building C object buzz/CMakeFiles/buzz.dir/buzzswarm.c.o
[ 11%] Building C object buzz/CMakeFiles/buzz.dir/buzzneighbors.c.o
[ 12%] Building C object buzz/CMakeFiles/buzz.dir/buzzstrman.c.o
[ 13%] Building C object buzz/CMakeFiles/buzz.dir/buzzmath.c.o
[ 14%] Building C object buzz/CMakeFiles/buzz.dir/buzzio.c.o
[ 14%] Building C object buzz/CMakeFiles/buzz.dir/buzzstring.c.o
[ 15%] Building C object buzz/CMakeFiles/buzz.dir/buzzvm.c.o
[ 16%] Linking CXX shared library libbuzz.dylib
[ 16%] Built target buzz
[ 17%] Automatic MOC for target buzzdbg
[ 17%] Built target buzzdbg_autogen
[ 18%] Building CXX object buzz/CMakeFiles/buzzdbg.dir/buzzdbg_autogen/mocs_compilation.cpp.o
[ 18%] Building C object buzz/CMakeFiles/buzzdbg.dir/buzzasm.c.o
[ 19%] Building C object buzz/CMakeFiles/buzzdbg.dir/buzzdebug.c.o
[ 20%] Linking CXX shared library libbuzzdbg.dylib
[ 20%] Built target buzzdbg
[ 21%] Automatic MOC for target bzzrun
[ 21%] Built target bzzrun_autogen
[ 22%] Building CXX object buzz/CMakeFiles/bzzrun.dir/bzzrun_autogen/mocs_compilation.cpp.o
[ 22%] Building C object buzz/CMakeFiles/bzzrun.dir/buzzrun.c.o
[ 23%] Linking CXX executable bzzrun
[ 23%] Built target bzzrun
[ 24%] Automatic MOC for target bzzdeasm
[ 24%] Built target bzzdeasm_autogen
[ 25%] Building CXX object buzz/CMakeFiles/bzzdeasm.dir/bzzdeasm_autogen/mocs_compilation.cpp.o
[ 25%] Building C object buzz/CMakeFiles/bzzdeasm.dir/buzzdeasm_main.c.o
[ 26%] Linking CXX executable bzzdeasm
[ 26%] Built target bzzdeasm
[ 27%] Automatic MOC for target bzzasm
[ 27%] Built target bzzasm_autogen
[ 28%] Building CXX object buzz/CMakeFiles/bzzasm.dir/bzzasm_autogen/mocs_compilation.cpp.o
[ 29%] Building C object buzz/CMakeFiles/bzzasm.dir/buzzasm_main.c.o
[ 29%] Linking CXX executable bzzasm
[ 29%] Built target bzzasm
[ 30%] Automatic MOC for target bzzparse
[ 30%] Built target bzzparse_autogen
[ 31%] Building CXX object buzz/CMakeFiles/bzzparse.dir/bzzparse_autogen/mocs_compilation.cpp.o
[ 32%] Building C object buzz/CMakeFiles/bzzparse.dir/buzzlex.c.o
[ 32%] Building C object buzz/CMakeFiles/bzzparse.dir/buzzparser.c.o
[ 33%] Building C object buzz/CMakeFiles/bzzparse.dir/buzzparse.c.o
[ 34%] Linking CXX executable bzzparse
[ 34%] Built target bzzparse
[ 35%] Automatic MOC for target argos3plugin_simulator_buzz
[ 35%] Built target argos3plugin_simulator_buzz_autogen
[ 35%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/argos3plugin_simulator_buzz_autogen/mocs_compilation.cpp.o
[ 36%] Building C object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/__/buzzlex.c.o
[ 37%] Building C object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/__/buzzparser.c.o
[ 38%] Building C object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/__/buzzasm.c.o
[ 39%] Building C object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/__/buzzdebug.c.o
[ 39%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_controller.cpp.o
[ 40%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_controller_footbot.cpp.o
[ 41%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_controller_spiri.cpp.o
[ 42%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_controller_eyebot.cpp.o
[ 43%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_loop_functions.cpp.o
[ 44%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt.cpp.o
[ 44%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt_editor.cpp.o
[ 45%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt_main_window.cpp.o
[ 46%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt_statetree_item.cpp.o
[ 47%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt_statetree_model.cpp.o
[ 48%] Building CXX object buzz/argos/CMakeFiles/argos3plugin_simulator_buzz.dir/buzz_qt_syntax_highlighter.cpp.o
[ 48%] Linking CXX shared library libargos3plugin_simulator_buzz.dylib
[ 48%] Built target argos3plugin_simulator_buzz
[ 49%] Compiling Buzz script testqueue.bzz, including "/Users/marcel_torne/buzz/src/include/matrix.bzz;/Users/marcel_torne/buzz/src/include/table.bzz"
Can't find file 'string.bzz'
/Users/marcel_torne/buzz/src/include/queue.bzz:1:20: Can't read 'string.bzz'
make[2]: *** [testing/testqueue.bo] Error 1
make[1]: *** [testing/CMakeFiles/testqueue.bzz.dir/all] Error 2
make: *** [all] Error 2
I'm installing buzz on:
- macOS Big Sur 11.6
- Apple clang version 13.0.0 (clang-1300.0.29.3)
- cmake version 3.21.3
Thank you very much in advance for your help
beltrame commented
You are correct, the include directory was missing in the makefile, a commit is coming to fix. Thanks for letting us know!