Can not create a PLCNext C++ project in Eclipse. Gives error Cp65001
After the plcncli was not able to install the SDK on Windows 7 (which I suppose is not supported?)
I retried it on a fresh install of Windows 10 running in VirtualBox.
I followed the "Getting started" for setting up Eclipse to work with PLCnext C++ SDK.
No problem installing the Toolchain/SDK on Windows 10.
But, when I try to create a new PLCnext-project, Eclipse just says:
Project cannot be created
Reason:
Internal Error:Cp65001
I can successfully create other types of projects. So the problem seems to be with the PLCnext CLI.
What am I doing wrong not getting this to work?
Updated the post with some info about software versions. Also, I do not have a space in my username.
(As this seems to be a problem generating similar problems )
Comments
Ok, so checking this YouTube-video (https://www.youtube.com/watch?v=IUGSZzuzm-c&list=PLXpIBdAgtoRLfPY_s9z3gpy1Whldo7VCz&index=3)
it seems that the build target for PLCnext is missing for me in Eclipse. I have nothing on the last dialog when target i selected.
Hi Tom
I have had the same problem with eclipse version 2019.3. Then i tried eclipse version 2018.12 like they do in the youtube video How to install Eclipse IDE tools on Windows 10 | C++ with PLCnext Technology and then it was working. Another problem can also be with a namespace in your windows user name. I have a customer with that problem and it should be fixed in next version.
Hope it will help you.
Regards
Hi Dan,
Thank you for your reply.
I cannot tell you what the problem was, but one of two things solved it for me:
1. Install PLCnext Engineer 2019.3
1. Reboot virtual machine.
After doing this, Eclipse listed the build target as expected.
(Although, I am almost certain that I had rebooted several times before and that did nothing to solve
anything)
Hi Tom,
probably the reboot fixed your issue. The PLCnCLI does not have any references to the Engineer beside it builds libraries for it.
Officially the addin only supports Eclipse Photon, but I have no problems with newer versions until now.
- Marcel