TwinCAT 3.1.4026, Unable to find compatible C++ platform toolset version

69 次查看(过去 30 天)
I have installed the TE14xx Toolbox from Beckhoff with TwinCAT 4026, to compile and integrate my Simulink Model in Twincat3, I receive the following error Message.
### Init project
Warning: No appropriate platform toolset was found
Warning: Ignoring installed MsBuild version 17.0: TwinCAT platform files are not installed for this version
Warning: Ignoring installed Microsoft Visual C++ version 14.3: This version is not supported by the actual MsBuild version 0.0.
Version 17.0 is required.
ERROR: Unable to find compatible C++ platform toolset version.
ERROR: Code generation failed: Project export failed
I used Visual Studio community 2022 (version 17.10.0) with matlab R2023b
How to solve this issue ?

采纳的回答

gregory pais
gregory pais 2024-6-12
I solved this issue by myself by activating the option "Integration of TwinCAT with Visual Studio 2022" in TwinCAT Package Manager program
Integration of TwinCAT with Visual Studio 2022

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by