You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cpp-netlib 0.13 'cxxopts.hpp' file not found #include "cxxopts.hpp" after using submodule init and update #877
Hello, I can't compile the latest stable 0.13 build.
the error is /cpp-netlib/libs/network/example/http_client.cpp:18:10: 'cxxopts.hpp' file not found
#include "cxxopts.hpp" fetal error
Note that I got the source files using git submodule as follows
$ git clone https://github.com/cpp-netlib/cpp-netlib
$ cd cpp-netlib
$ git submodule init
$ git submodule update
My fix was either one or the combinations of root privileges and/or cloning off of https://github.com/glynos/cpp-netlib and doing the documented steps.
As such, both sudo make and sudo make test went to completion with no errors
Activity
ECHibiki commentedon Jul 26, 2019
My fix was either one or the combinations of root privileges and/or cloning off of https://github.com/glynos/cpp-netlib and doing the documented steps.
As such, both
sudo makeandsudo make testwent to completion with no errorstobegit3hub commentedon Apr 20, 2020
You can download the project cxxopts and set in CMakeLists.txt like this. Notice that this project relies on version 1.x but not 2.x.