Visual Studio build error C1853

Document ID : KB000027042
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary:

During a first time build after a Plex upgrade or after applying a Visual Studio C++ compiler update, you may receive the following compile error:

fatal error C1853: 'C:\Models60\Gen\Release\obj\obwafx.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)

Instructions:

If you are upgrading to a major Plex release, then we recommend building all the objects into a new directory structure to eliminate this error. If you have upgraded the compiler or have applied Plex PTF's then you may be able to just delete the obwafx.pch file and rebuild. The preferred method is to rebuild the objects into a new directory.