WinNTC functions will not build C1083

Document ID : KB000112633
Last Modified Date : 31/08/2018
Show Technical Document Details
Issue:
Build WinNTC Server functions failed with the error
 "LINK : fatal error C1083: Cannot open source file: '..\..\..\..\..\..\_OBCORE.CPP': No such file or directory" followed by 
"fatal error C1083: Cannot open precompiled header file: 'C:\Plex Local Models 7_1\ETAS\WinNTC\Server\Gen\Release\obj\obrt.pch': No such file or directory". 
Environment:
Windows 7, Windows 10, MS Visual Studio, JAVA
Cause:
CA PLEX Build failed with fatal error C1083.
Resolution:
If running CA PLEX 7.1 or 7.2
1-check if you are using current supported Third Party SW for CA PLEX
See, https://docops.ca.com/ca-plex/7-1/en/installing/system-requirements
2- .NET installed?
3- Windows system enviroment variables set correctly for Java_home
4-check that “CA Plex Windows C++ Application Server” is installed.
See, https://docops.ca.com/ca-plex/7-1/en/installing/how-to-install-and-configure-ca-plex/install-components
5-if JAVA, .NET and SDK is fine,
  re-installing Plex dispatcher, as follows: 
Sample when upgrade from CA PLEX 6.n to CA PLEX 7.n
-    Open Command Prompt (cmd.exe) (Run as Administrator) 
-    Goto Plex installation folder (\ca\7.2.1\AppServer\bin) and execute below commands - 
o    Ob600BM.exe /i 
o    OB600DP.exe /i 
Now, launch Plex and build the function in question.

If you are running CA PLEX 7.2.1:
See, https://comm.support.ca.com/kb/plex-build-link--error-c1083-unable-to-open-source/kb000104064

..Resolution:
Problem solved after installed Visual Studio update 5 which is required for Plex 7.2.1
 
Additional Information:
https://docops.ca.com/ca-plex/7-2-1/en/installing/system-requirements
Notes:  - Visual Studio 2013 Professional Update 5 is also required (available for download http://www.microsoft.com )
            -  Multibyte MFC Library for Visual Studio 2013 is also required (available for download http://www.microsoft.com )
            -  Visual Studio 2015 is NOT compatible with CA Plex C++ builds. Multiple releases of Visual Studio may be installed
               and run side-by-side on the same PC.

When install CA PLEX or Modify, please do this RUN AS ADMIN
 
Additional Information:
https://docops.ca.com/ca-plex/7-1/en/installing/how-to-install-and-configure-ca-plex