How to compile from Source Codes and the Tools

General discussion about computer chess...
Prima
Posts: 328
Joined: Tue Dec 14, 2010 6:12 am

Re: How to compile from Source Codes and the Tools

Post by Prima » Wed Feb 02, 2011 10:35 pm

gaard wrote:
Prima wrote:
gaard wrote:You need to add this directory to your PATH in environment variables: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC

Here is a walk through showing you how to do that:
http://www.itechtalk.com/thread3595.html
Done. I added this directory to the "System Variables" section. Then I did Shift + Right mouse click on the source-folder and upon typing :
vcvarsall amd64 and still get this message:
"vcvarsall" is not recognized as an internal or external command, operable program or batch file"
.

I've attached the path to where I added it in System Environments. In my case, I defined the Variables as VCVARSALL and its Value is defined as the path:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
You need to find "PATH" in the list and add this to the end of it:

;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC

Make sure there is a semi-colon between this entry and the one that you are pasting it behind.
garrd, it worked! :D . Thank you for your patience and help. I really appreciate this. I was able to make suceesful PGO / MsVS2010 compiles using your switch and methods. My next step is to experiment with other 'switches' you wrote down. Thanks.

Post Reply