Adding OR-Tools Library to Visual Studio
问题 I am trying to write a code using Google's OR-Tools library on Microsoft Visual Studio 2019. I followed the following steps: Installed OR-Tools from Binary on Windows on their website. Extracted the .zip file in C:\Libraries Wrote my code on VS (I wrote #include <ortools/linear_solver/linear_solver.h> and using namespace operations_research; rest is usual C++ Code) In Visual Studio, went to Project > Properties > C/C++ > Additional Include Directories Added "C:\Libraries\or-tools\include"