I installed VS 2013 to do an integration. We did follow the documentation at \\api\\docu using the commands and we get the error bellow:
C:\\%API_ROOT%\\checkAPIenv.cmd
found API_ROOT - good
** cannot determine 'cl' compiler version! Maybe no compiler or wrong compiler v
ersion installed. VC12 expected.
However if we try this one:
C:\\Siemens\\Automation\\WinCC_OA\\3.15>cl
Compilador de optimización de C/C++ de Microsoft (R) versión 18.00.21005.1 para
x86
(C) Microsoft Corporation. Reservados todos los derechos.
uso : cl [ opción... ] nombre de archivo... [ /link opción de vínculo... ]
Any ideas about solving this problem? Am i doing something wrong?
Thank yopu in advance,
Agustín Romero
Fail at checking API
- agruber
- Posts:147
- Joined: Tue Sep 07, 2010 2:52 pm
Re: Fail at checking API
Hello,
I think the problem is the check in the checkApiEnv.cmd file.
Take a look at line 16:
If the string does not match it fails. I suggest to modify it according to the output if "cl" on your machine.
Hope that helps.
BR, Andreas
Customer Care
I think the problem is the check in the checkApiEnv.cmd file.
Take a look at line 16:
Code: Select all
call cl.exe 2>&1 | findstr /I /C:"Compiler Version 18.00">nul
Hope that helps.
BR, Andreas
Customer Care
- Romero
- Posts:27
- Joined: Wed Jul 19, 2017 9:24 am
Re: Fail at checking API
Thank you Andreas,
I tried changing that and it worked. I am trying to continue from there.
Regards.
Agustín Romero.
I tried changing that and it worked. I am trying to continue from there.
Regards.
Agustín Romero.