Hi! I'm trying crearting a CtrlExtension for WinCCOA v3.11 SP1.
I'm working with VisualStudio 10.0.
I think i'm nearly to finish it...the problem is this message:
error C2065: 'PVSS_PLATFORM': identification not declared ( Archive: addVerInfo.cxx, line 28)
My machine is 32 bits and so windows 7.
What is the problem? Where can i find this definition?
Thanks,
Error creatinc a Ctrl Extension
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Error creatinc a Ctrl Extension
Did you run 'checkAPIenv.cmd' before you started visual studio. Because this script sets the environment variable VC8_DEFS, which contains a definition of PVSS_PLATFORM.
- xavi.aran
- Posts:63
- Joined: Thu Apr 21, 2011 1:21 pm
Re: Error creatinc a Ctrl Extension
yes, i execute this after execute vcvars32.bat of VC10.
This is the error than occurs:
** cannot determine 'cl' compiler version! Maybe no compiler or wrong compiler version installed. VC10 expected.
This is the error than occurs:
** cannot determine 'cl' compiler version! Maybe no compiler or wrong compiler version installed. VC10 expected.
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Error creatinc a Ctrl Extension
If you use the 'Visual Studio Command Prompt (2010)' or 'Visual Studio x64 Win64 Command Prompt (2010)', it should work.
In this command prompt the cl compiler should show something like this:
Only when the compiler version is not found it shows the mentioned error.
In this command prompt the cl compiler should show something like this:
Code: Select all
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86