C++ Need help installing this Google Library. Comes with instructions. Stuck Im
ID: 3900113 • Letter: C
Question
C++ Need help installing this Google Library. Comes with instructions. Stuck
Im trying to install a google Library. The instructions are found here
https://developers.google.com/optimization/introduction/installing/binary
I have Visual Studio 2017 installed. Ive download the correct folder. Now its tells me
"For C++, add lib/ortools.lib to your project libraries, and add or?tools/include to your project include path."
What does this mean? and how do i do it in Visual Studio 2017. A step by step or pictures would be very helpful
I will rate if you can help me!
Explanation / Answer
Solution:
Step 1: For C++, add lib/ortools.lib
Go to the Program Files where you compiler is installed. There you will find a folder named "lib". Open that folder and paste the file named "ortools.lib" from the package which you downloaded from the link.
Step 2: Now open edit Environment Variables
Open edit ENviroment variables and search for path and add new variable
i.e or?tools _path/include
Step 3: Now open r tool folder and open command prompt there then type make all and hit enter.
Step 4: Go inside the include folder and create a file named Makefile.user
Step 5: Open the Makefile.user and paste the following code
Step 6: Go back to the or-tool folder and open cmd there.
Step : FInally Run the code
use command:-
Note: It might be hard to follow, I can assist you on TeamViewer, if you don't mind. Just comment below if you need remote help.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.