I want to use the cpp-netlib library in a C++ project of mine running on Windows. I've strictly followed the instructions under http://cpp-netlib.github.com/getting_started.html up to the "Getting CMake" section, which is where I stopped understanding the instruction. Is CMake indeed non-obligatory? If so, what are the exact steps required so I can use the library in my projects?
If someone could provide me with instructions here, or refer me to a detailed guide it'd be great. Google didn't help me that much.
Same problem here:
I got it going with
From the directory I dumped cpp-netlib-0.9.4 in
cd ..
mkdir cpp-netlib-build
cd cpp-netlib-build
cmake.exe -G "Visual Studio 10" -DBOOST_ROOT:string="C:\Dev\Boost\boost_1_51_0" ../cpp-netlib-0.9.4
(Your paths may vary) This populates the cpp-netlib-build directory with a VS10 solution and projects.
来源:https://stackoverflow.com/questions/10088277/using-cpp-netlib-in-a-c-project-under-windows