We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to install it in Ubuntu 22.04 and getting following error on make:
(mentalsai) Ubuntu@0068-kci-prxmx10127:/mentals-ai$ make Using compiler: g++ version mkdir -p build/./src/ g++ -DLINUX -I./src -I./src/toml++ -I./src/toml++/impl -I./src/treehh -I./src/liboai -I./src/liboai/components -I./src/liboai/include -I./src/liboai/include/components -I./src/liboai/include/core -I./src/liboai/core -I./src/nlohmann -MMD -MP -std=c++20 -Wall -Wextra -Werror -O3 -march=native -c src/code_interpreter.cpp -o build/./src/code_interpreter.cpp.o src/code_interpreter.cpp: In member function ‘void CodeInterpreter::delete_virtual_environment()’: src/code_interpreter.cpp:37:11: error: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 37 | system(command.c_str()); | ~~~~~~^~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make: *** [Makefile:63: build/./src/code_interpreter.cpp.o] Error 1 (mentalsai) Ubuntu@0068-kci-prxmx10127:/mentals-ai$
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am trying to install it in Ubuntu 22.04 and getting following error on make:
(mentalsai) Ubuntu@0068-kci-prxmx10127:
/mentals-ai$ make/mentals-ai$Using compiler: g++ version
mkdir -p build/./src/
g++ -DLINUX -I./src -I./src/toml++ -I./src/toml++/impl -I./src/treehh -I./src/liboai -I./src/liboai/components -I./src/liboai/include -I./src/liboai/include/components -I./src/liboai/include/core -I./src/liboai/core -I./src/nlohmann -MMD -MP -std=c++20 -Wall -Wextra -Werror -O3 -march=native -c src/code_interpreter.cpp -o build/./src/code_interpreter.cpp.o
src/code_interpreter.cpp: In member function ‘void CodeInterpreter::delete_virtual_environment()’:
src/code_interpreter.cpp:37:11: error: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
37 | system(command.c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:63: build/./src/code_interpreter.cpp.o] Error 1
(mentalsai) Ubuntu@0068-kci-prxmx10127:
The text was updated successfully, but these errors were encountered: