After installing the Visual Studio 2013
, i need to set up the environment variables
I have set API_ROOT and the path is : *:\\**\\**\\WinCC_OA\\3.14\\api , after this
do we need to run ?.
the below mentioned point as mentioned in WinCC OA READ ME Documentation
2. For VC++ 12.0 projects (uses environment $(VC8_DEFS)):
Run %API_ROOT%\\checkAPIenv.cmd to set VC8_DEFS.
WinCC OA 3.14 normally supports 64Bit configuration and only in
special cases (WebClient) the 32Bit configuration.
To make sure that your current environemnt is used, please supply
the option "/useenv" when calling "msdev" or "devenv".
In order to setup the 64Bit VisualStudio enviroment the 64Bit VisualStudio prompt
if so , how to run ?
Guidance is required.
Regarding the set up of environment variable After installing Visual Studio
- Pradeep Kumar
- Posts:39
- Joined: Fri Dec 09, 2016 2:54 pm
Regarding the set up of environment variable After installing Visual Studio
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Regarding the set up of environment variable After installing Visual Studio
Create and use a batch file with content like this:
Code: Select all
@echo off
::TODO: Replace with your WinCC OA API path
set API_ROOT=*:\\**\\**\\WinCC_OA\\3.14\\api
set VS_PATH=%VS120COMNTOOLS%\\..\\..
call "%VS_PATH%\\VC\\bin\\x86_amd64\\vcvarsx86_amd64.bat"
call "%API_ROOT%/checkAPIenv.cmd"
::TODO: Replace with your solution (sln)
call "%VS_PATH%\\Common7\\IDE\\devenv.exe" /useenv yourSolutionFile.sln