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

[Possible bug] Require boost json module in the root CMakeLists #598

Open
AndreyMlashkin opened this issue Apr 26, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@AndreyMlashkin
Copy link
Contributor

Describe the bug
If I use a boost package installed by apt-get, it would not contain json module and it will fail during compilation with an error

[ 37%] Building CXX object bin/assigner/CMakeFiles/assigner.dir/src/main.cpp.o
/home/andrei/nil/zkLLVM/bin/assigner/src/main.cpp:30:10: fatal error: boost/json/src.hpp: No such file or directory
   30 | #include <boost/json/src.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

To Reproduce
How to reproduce the behavior:

  1. Install boost from ubuntu 22.04
  2. Compile the project according to documentation

Expected behavior
A diagnostic error message on the first cmake run

@AndreyMlashkin AndreyMlashkin added the bug Something isn't working label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant