cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Error when compiling C SDK

AliBenBelgacem
14-Alexandrite

Error when compiling C SDK

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.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5

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.

Hello @AliBenBelgacem 

 

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

 

Thanks

Bhawna

Hi @AliBenBelgacem!

 

Did you manage to resolve that issue?

 

Thanks!

Adam

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.

Top Tags