Build of a sample fails
All samples supplied (list by TwinCAT.ModuleGenerator.Samples.List
in the MATLAB® Command Window) have been checked by tests at Beckhoff Automation. If a build of a sample still does not run successfully, it is likely that something needs to be adjusted during setup on your engineering PC.
- To test the platform toolset without the influence of MATLAB® please create a TwinCAT Versioned C++ project in TwinCAT (open TwinCAT in Visual Studio) .
- 1. Right-click Add New Item on C++ Tree Item.
- 2. Then select TwinCAT Module Class with Cyclic Caller.
- A C++ project appears in the TwinCAT Tree under C++.
- 3. Build the C++ project and view the Output Window in TwinCAT.
- The output window should return "1 succeeded" for the build process. If this is not the case, check whether you have installed the Desktop development with C++ option in Visual Studio.