jeudi 26 février 2015

SETUP CL.EXE COMPILER - MICROSOFT VISUAL STUDIO

Firstly, you must have Microsoft Visual Studio Already installed.

Open cmd and run this batch file:
"C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
then write:

  1. echo %PATH% and add the shown content to "PATH" in Environment Variables for your account.
  2. echo %INCLUDE% and add the shown content to "INCLUDE" in Environment Variables for your account.
  3. echo %LIB% and add the shown content to "LIB" in Environment Variables for your account.
  4. echo %LIBPATH% and add the shown content to "LIBPATH" in Environment Variables for your account.
Now, to test if the operation done, close current cmd and open another one then write:
cl.exe

You must get something like this :



If an error happened or you have trouble, then just you need to type
"C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
every time you have opened the cmd (command prompt).
Aucun commentaire :

Aucun commentaire :

Enregistrer un commentaire