Skip to content
New issue

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

make: *** [Makefile:63: build/./src/code_interpreter.cpp.o] Error 1 #13

Open
fahdmirza opened this issue Jun 15, 2024 · 0 comments
Open

Comments

@fahdmirza
Copy link

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$

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

No branches or pull requests

1 participant