Skip to main content
yhanAnswer
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.

2 replies

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.

Translate
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
);
Translate