FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
12-09-2020 03:46 PM
I am unable to build the datalayer.client sample in the latest SDK (1.6.1). My CMake/Build output is attached.
The initial error seems to be:
[build] /bin/sh: 1: /home/cpbostroem/Schreibtisch/cpp/SDK V1.6.1 - RM20.11/public/samples-cpp/datalayer.client/../..//bin/oss.flatbuffers/linux-gcc-x64/release/flatc: Permission denied
I'm building on a Linux box (not VM) with Ubuntu 18.04.5 LTS.
The same sample from previous SDKs (1.4.2, 1.5.0) - before the flatbuffers dump was added - built and deployed successfully. Other samples from the new SDK which do not reference the flatbuffers (z.B. hello.plc, hello.world) also build without issue.
Has anyone else seen this behaviour?
Note: Depending on the solution, I'll move this post to the public forum.
Solved! Go to Solution.
12-09-2020 06:37 PM - last edited on 12-09-2022 02:16 PM by CodeShepherd
I solved the issue by marking /public/bin/oss.flatbuffers/linux-gcc-x64/release/flatc as executable. Use "sudo chmod +x <path to>flatc". See below.