Hi,
I’ve used the video tutorial to setup the Eclipse environment and install the IDE plugin. The problem is, after creating a new project, I get the following errors in the build process and the PLCNextEngineer-Library (.pcxf?) does not get created.
cmd.exe /c „„C:\Program Files\PHOENIX CONTACT\PLCnCLI/plcncli.exe“ generate code -p"C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj“ -s"src""Generating all files with the ‚code‘ generator for C:\Users\RobinHeitz\PhoenixContactPLCEngineer\Eclipse WS\TestProj.
[cmake]: CMake Warning:[cmake]: Ignoring extra path from command line:[cmake]: [cmake]: „WS\TestProj\intermediate\cmakeAutoBuild\AXCF2152,24.0.9.199\Release“[cmake]: [cmake]: [cmake]: CMake Error: The source directory „C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse“ does not exist.[cmake]: Specify --help for usage, or press the help button on the CMake GUI.Successfully generated all files with the ‚code‘ generator for C:\Users\RobinHeitz\PhoenixContactPLCEngineer\Eclipse WS\TestProj.
cmd.exe /c „„C:\Program Files\PHOENIX CONTACT\PLCnCLI/plcncli.exe“ generate config -p"C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj“ -s"src""
Generating all files with the ‚config‘ generator for C:\Users\RobinHeitz\PhoenixContactPLCEngineer\Eclipse WS\TestProj.
[cmake]: CMake Warning:[cmake]: Ignoring extra path from command line:[cmake]: [cmake]: „WS\TestProj\intermediate\cmakeAutoBuild\AXCF2152,24.0.9.199\Release“[cmake]: [cmake]: [cmake]: CMake Error: The source directory „C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse“ does not exist.[cmake]: Specify --help for usage, or press the help button on the CMake GUI.Successfully generated all files with the ‚config‘ generator for C:\Users\RobinHeitz\PhoenixContactPLCEngineer\Eclipse WS\TestProj.
cmd.exe /c „„C:\Program Files\PHOENIX CONTACT\PLCnCLI/plcncli.exe“ build -p"C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj“ -b Release"
Requested build for targets AXCF2152,24.0.9.199Starting build for target AXCF2152,24.0.9.199Checking if CMake needs to be reconfigured…Configuring CMake…[cmake]: – Setting ARP_TOOLCHAIN_NATIVE_SYSROOT=‚C:/Users/RobinHeitz/PhoenixContact/sysroots/x86_64-w64-mingw32‘[cmake]: – Setting ARP_TOOLCHAIN_TARGET_SYSROOT=‚C:/Users/RobinHeitz/PhoenixContact/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi‘[cmake]: – Setting ARP_TOOLCHAIN_ENVIRONMENT_PATH=‚C:/Users/RobinHeitz/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.8.v20250724-1412/jre/bin/server;C:/Users/RobinHeitz/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.8.v20250724-1412/jre/bin;C:/Program Files (x86)/Common Files/Oracle/Java/java8path;C:/Program Files (x86)/Common Files/Oracle/Java/javapath;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Windows/system32;C:/Windows;C:/Windows/System32/Wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Windows/System32/OpenSSH;C:/Program Files/dotnet;C:/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit;C:/Program Files/Microsoft VS Code/bin;C:/Program Files/Git/cmd;C:/Program Files/Microsoft SQL Server/120/Tools/Binn;C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/150/Tools/Binn;C:/Program Files/Microsoft SQL Server/150/Tools/Binn;C:/Program Files/Microsoft SQL Server/150/DTS/Binn;C:/Users/RobinHeitz/AppData/Local/Programs/Python/Python313/Scripts;C:/Users/RobinHeitz/AppData/Local/Programs/Python/Python313;C:/Users/RobinHeitz/AppData/Local/Microsoft/WindowsApps;C:/Users/RobinHeitz/AppData/Local/Programs/Microsoft VS Code/bin;C:/Program Files/PHOENIX CONTACT/PLCnCLI;C:/Windows/System32;C:/Users/RobinHeitz/PhoenixContact/sysroots/x86_64-w64-mingw32/usr/bin‘[cmake]: – The C compiler identification is GNU 11.4.0[cmake]: – The CXX compiler identification is GNU 11.4.0[cmake]: – Detecting C compiler ABI info[cmake]: – Detecting C compiler ABI info - done[cmake]: – Check for working C compiler: C:/Users/RobinHeitz/PhoenixContact/sysroots/x86_64-w64-mingw32/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-gcc.exe - skipped[cmake]: – Detecting C compile features[cmake]: – Detecting C compile features - done[cmake]: – Detecting CXX compiler ABI info[cmake]: – Detecting CXX compiler ABI info - done[cmake]: – Check for working CXX compiler: C:/Users/RobinHeitz/PhoenixContact/sysroots/x86_64-w64-mingw32/usr/bin/arm-pxc-linux-gnueabi/arm-pxc-linux-gnueabi-g++.exe - skipped[cmake]: – Detecting CXX compile features[cmake]: – Detecting CXX compile features - done[cmake]: – Found ArpProgramming: C:/Users/RobinHeitz/PhoenixContact/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi/usr/include/plcnext [cmake]: – Configuring done (5.7s)[cmake]: – Generating done (0.0s)[cmake]: – Build files have been written to: C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj/intermediate/cmake/AXCF2152,24.0.9.199/Release[cmake]: [ 14%] Building CXX object CMakeFiles/TestProj.dir/intermediate/code/TestProjComponent.meta.cpp.o[cmake]: [ 28%] Building CXX object CMakeFiles/TestProj.dir/intermediate/code/TestProjComponentProgramProvider.cpp.o[cmake]: [ 42%] Building CXX object CMakeFiles/TestProj.dir/intermediate/code/TestProjLibrary.cpp.o[cmake]: [ 57%] Building CXX object CMakeFiles/TestProj.dir/intermediate/code/TestProjLibrary.meta.cpp.o[cmake]: [ 71%] Building CXX object CMakeFiles/TestProj.dir/src/TestProjComponent.cpp.o[cmake]: [ 85%] Building CXX object CMakeFiles/TestProj.dir/src/TestProjProgram.cpp.o[cmake]: [100%] Linking CXX shared library libTestProj.so[cmake]: [100%] Built target TestProj[cmake]: Install the project…[cmake]: – Install configuration: „Release“[cmake]: – Installing: C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj/bin/AXCF2152_24.0.9.199/Release/lib/libTestProj.soSuccessfully built the project TestProj for target AXCF2152,24.0.9.199.Finished build for all targets
cmd.exe /c „„C:\Program Files\PHOENIX CONTACT\PLCnCLI/plcncli.exe“ deploy -p"C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse WS/TestProj“ -b Release -s"src""
[cmake]: CMake Warning:[cmake]: Ignoring extra path from command line:[cmake]: [cmake]: „WS\TestProj\intermediate\cmake\AXCF2152,24.0.9.199\Release“[cmake]: [cmake]: [cmake]: CMake Error: The source directory „C:/Users/RobinHeitz/PhoenixContactPLCEngineer/Eclipse“ does not exist.[cmake]: Specify --help for usage, or press the help button on the CMake GUI.The cmake sysroot does not exist.Are there any ideas?




