Hi,
I am trying to install the 2024 LTS SDK on my Ubuntu24 PC. I previously had Toolchain 2025 and SDK 2025.0 installed, downgrading to 2024 because a colleagues project wont compile.
Overall, I am not really satisfied so far, the build pipeline seems very fragile…
Anyways: thats the error I get with 2024 and 2025 Toolchain (CLI) for 2024.0 and 2024.6 SDKs (same error message).
robin@Robins-7680:~/plcncli$ ./plcncli install sdk -d ./2024.0-SDK/ -p ~/dev/phoenix/sdks/axcf2152-linux_sdk-2024.0.9_LTS-24.0.9.199.sh
[0%] Install SDK.
-> [Infinite] Executing the shell script.
-> ..............................
-> [Infinite] Executing the shell script.: Done
[100%] Install SDK.
Exploring the SDK /home/robin/plcncli/2024.0-SDK/.
[cmake]: -- Could NOT find ArpProgramming (missing: ArpProgramming_ARP_CORE_LIBRARY ArpProgramming_ARP_RSC_LIBRARY ArpProgramming_CPPFORMAT_LIBRARY)
[cmake]: -- Configuring done (2.2s)
[cmake]: -- Generating done (0.0s)
[cmake]: -- Build files have been written to: /tmp/82FF78D1-CE60-894A-AAEC-57D2A22F368D/cache
[cmake]: -- Could NOT find ArpProgramming (missing: ArpProgramming_ARP_CORE_LIBRARY ArpProgramming_ARP_RSC_LIBRARY ArpProgramming_CPPFORMAT_LIBRARY)
[cmake]: -- Configuring done (2.6s)
[cmake]: -- Generating done (0.0s)
[cmake]: -- Build files have been written to: /tmp/82FF78D1-CE60-894A-AAEC-57D2A22F368D/cache
While exploring the SDK '/home/robin/plcncli/2024.0-SDK/' an error occured.
-> Value cannot be null. (Parameter 'source')
What can I do?
**BTW:**[**https://www.plcnext-runtime.com/**](https://www.plcnext-runtime.com/)**seems to be down.**
I wonder if the problem is caused by trying to install the SDK in the same directory as the toolchain installation.
This worked for me, with toolchain version 2025.6:
m@v:~$ plcncli install sdk -d ./sdks/AXCF2152/2024.0.9 -p ./Downloads/axcf2152-linux_sdk-2024.0.9_LTS-24.0.9.199.sh
[0%] Install SDK.
-> [Infinite] Executing the shell script.
-> ..............
-> [Infinite] Executing the shell script.: Done
[100%] Install SDK.
Exploring the SDK /home/m/sdks/AXCF2152/2024.0.9.
[cmake]: -- Configuring done (0.0s)
[cmake]: -- Generating done (0.0s)
[cmake]: -- Build files have been written to: /tmp/631FACDD-5505-8B48-81D6-5AF97E65DD5C/cache
[cmake]: -- Configuring done (0.0s)
[cmake]: -- Generating done (0.0s)
[cmake]: -- Build files have been written to: /tmp/631FACDD-5505-8B48-81D6-5AF97E65DD5C/cache
Successfully installed sdk ./Downloads/axcf2152-linux_sdk-2024.0.9_LTS-24.0.9.199.sh in ./sdks/AXCF2152/2024.0.9.
Also, I’m not sure if that command relies on the plcncli executable being in the PATH.
At the end of the toolchain installation there’s a message something like this:
To include the CLI in the path please execute the following command: sudo ln -sf /home/m/PLCnext_Toolchain/plcncli /bin/plcncli
Also, I’m not sure if that command relies on the plcncli executable being in the PATH.</p>
At the end of the toolchain installation there’s a message something like this:</p>
`To include the CLI in the path please execute the following command: sudo ln -sf /home/m/PLCnext_Toolchain/plcncli /bin/plcncli</code></p>
I had tried many things, also had done the link to /usr/bin and /bin. I tried again, same issue. What are the next steps?
I wonder if the problem is caused by trying to install the SDK in the same directory as the toolchain installation.So this is not the case. Toolchain is at ~/dev/phoenix/PLCnext_Toolchain_2025.0 and the sdks are within ~/dev/phoenix/sdks/2024.0 and 2025.0
I am not able to reproduce the issue, but I am using a toolchain 2025.6. Please review the logfile for more information or provide it to us.
You get the path to the logfiles via “plcncli show-log” and the logfiles are contained in the “LogFiles” folder. Every command creates its own logfile.
Thanks for your answer, I might as well go with 2025.0 directly…