Skip to main content
14-Alexandrite
March 30, 2023
Solved

Error when compiling C SDK

  • March 30, 2023
  • 2 replies
  • 2535 views

Hello,

I am trying to compile C SDK so :

1- I have downloaded /unzip c edge SDK

2-on SteamSensor examples folder, I have created bin folder

3- on bin folder i have executed : cmake ..

 

I got systematically the error :  Unknown CMake command "copyLibraries".

OS: Ubuntu 20.04.5

I have also installed previously  CMake 3.20

I have tried to include copyLibraries in the file cMakeLists.txt, but it didn't solve the issue.

 

Thank you for your help.

 

 

 

Best answer by AliBenBelgacem

Yes ; it's resolved.

In the CMakelist.txt i comment this row #add_subdirectory(examples/filetransfer) since filetransfer does not exist in examples folder.

Also, i compile in debug mode.

it resolve my issue.

2 replies

5-Regular Member
March 30, 2023
14-Alexandrite
March 31, 2023

Already did,

also, I am following this tutorial.

https://community.ptc.com/t5/IoT-Tips/Low-Level-Device-Connection-Part-1/ta-p/832771

 it didn't resolve the issue.

5-Regular Member
April 3, 2023

Hello @AliBenBelgacem 

 

In such case, pls open a case with PTC Tech Support team to resolve the issue.

 

Thanks

Bhawna

15-Moonstone
August 9, 2023

Hi @AliBenBelgacem!

 

Did you manage to resolve that issue?

 

Thanks!

Adam

AliBenBelgacem14-AlexandriteAuthorAnswer
14-Alexandrite
September 1, 2023

Yes ; it's resolved.

In the CMakelist.txt i comment this row #add_subdirectory(examples/filetransfer) since filetransfer does not exist in examples folder.

Also, i compile in debug mode.

it resolve my issue.