Skip to main content
15-Moonstone
May 24, 2021
Solved

CSDK SCM version 1.0.1 download Link

  • May 24, 2021
  • 1 reply
  • 1097 views

Hi ,

 

Need to use SCM 1.0.1 for CSDK C SDK 2.2.8 and 2.2.9 as per link . But  SCM version 1.0.1 is not found in https://support.ptc.com/appserver/auth/it/esd/product.jsp?prodFamily=TWS . ( SCM-Extension-1-0-0-872 (2 MB) is available)

 

Please help me with the download link for SCM version 1.0.1 for CSDK. 

 

Thank you !!

Best answer by yhan

By referring to an existing case raised by another customer,  we know that 1.0.1 version was released only for .NET sdk:
http://support.ptc.com/help/edge_sdk_dotnet/r5.8.0/en/#page/dotnet_sdk%2Fc_scm_edge_ext_dotnet_release_notes.html%23

 

It's a known document issue that we have already reported to the document team. 

Now we confirmed that SCM 1.0.0.872 is the latest C SDK SCM Extension and it will work with C SDK Versions 2.1.3 through 2.2.9.

1 reply

yhan17-PeridotAnswer
17-Peridot
May 24, 2021

By referring to an existing case raised by another customer,  we know that 1.0.1 version was released only for .NET sdk:
http://support.ptc.com/help/edge_sdk_dotnet/r5.8.0/en/#page/dotnet_sdk%2Fc_scm_edge_ext_dotnet_release_notes.html%23

 

It's a known document issue that we have already reported to the document team. 

Now we confirmed that SCM 1.0.0.872 is the latest C SDK SCM Extension and it will work with C SDK Versions 2.1.3 through 2.2.9.

1-Visitor
May 24, 2021

When I try to build SCM-Extension-1-0-0-872  with C-SDK-2-2-12-1052 , its giving some compile error like below.

Doesanyone experienced it, any idea how to resolve it?

 

libthingworxscm-1.0/src/main/c/twSwValidate.c:406:61: error: too few arguments to function 'TWSHA256_sha256_file'
if(FALSE == twDirectory_FileExists(fullFilePath)||TW_OK != TWSHA256_sha256_file(fullFilePath,calculatedDigest)){
^~~~~~~~~~~~~~~~~~~~
In file included from //libthingworxscm-1.0/src/main/c/twSwValidate.c:21:0:
/\i/usr/include/thingworx/twSig.h:19:5: note: declared here
int TWSHA256_sha256_file(
^~~~~~~~~~~~~~~~~~~~

 

I see in twSig.h, TWSHA256_sha256_file is declared like below with 3 arguments.

 

int TWSHA256_sha256_file(
char *path,
char * outputBuffer,
int32_t outputBufferSize
);