Replies: 5 comments 4 replies
-
Hello!
cmake --build . --parallel $(nproc) pkg-config spdlog --cflags (At the same time, cmake with the parameters -DENABLE_UNIT_TESTS=OFF -DENABLE_FUNC_TESTS=OFF gives success) Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, Laszlo! While on question 1... OS =Debian GNU/Linux 10 (buster)
GCC is built locally (~/. local)
In the profile: export MY_INSTALL_DIR="$HOME/.local" ... if [ -d $HOME/.local/include ] ; then export C_INCLUDE_PATH="$C_INCLUDE_PATH:$HOME/.local/include" export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:$HOME/.local/include" export CPATH="$C_INCLUDE_PATH" fi Installing json: File ~/. local/include/nlohmann/json.hpp attached: See line #2957 class out_of_range : public exception { public: template static out_of_range create(int id_, const std::string& what_arg, const BasicJsonType& context) { std::string w = exception::name("out_of_range", id_) + exception::diagnostics(context) + what_arg; return out_of_range(id_, w.c_str()); } private: JSON_HEDLEY_NON_NULL(3) out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {} }; My compiler gets here (I tried changing the json.hpp code). And this is version 3.9.1 (!) Thank you for your work! |
Beta Was this translation helpful? Give feedback.
-
Yes, I haven't given up on my idea. As for json, I think it will be the same result. I haven't tried it though. I may try to do this again for json. But I think that the result will be the same as with manual build. It will be interesting to try it. But I think that the third argument is still there in nlohmann:: json::out_of_range:: create. Anyway :) Despite these build inaccuracies, bear still built the compilation database. And the json2cmake project created a file CMakeLists.txt, which read and built successfully by CLion. |
Beta Was this translation helpful? Give feedback.
-
Will this tool ever get Windows support? I use Gradle and my attempts to extract compiler information in the build script doesn't work too well. |
Beta Was this translation helpful? Give feedback.
-
I saw that gRPC was a dependency. Can bear run without a connection to the internet? I'm looking to possibly run this on a server of sorts that would be on an intranet not connected to the internet. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions