Problem developing ACF C++ application
Hi,
I am trying to set up a C++ application that can access the PLCnext GDS through RSC. I figured I need an ACF application to do this (Is that correct?).
However, when I try creating an ACF project from template in Visual Studio 2019 the default project shows errors right away. This happens for PLCnext C++ SDK versions 2021.6, 2022.0 and 2022.6. Depending on which 'platform toolset' I select in the Properties window (GCC for Windows Subsystem for Linux or GCC for Remote linux) there are different errors. Especially the WSL one gives a lot of very specific syntax errors in multiple dependency files (over 200 errors). Sounds like a versioning problem to me, but I have no clue where to start solving this problem.
I'm running Windows 11, developing for AXC F 2152, PLCnext toolchain version 2022.0.
Any suggestions/solutions are appreciated, thank you in advance!
Bart
Comments
I can recommend using Toolchain version 2022.6 (currently the latest version).
You shouldn't have to change the platform toolset in the Properties window of the project.
Please check that you have all the required installations: