Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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.
Does anyone experienced it, any idea how to resolve it?
In Documentation it says SCM-Extension-1.0.1 is compatible with C SDK 2.2.8 and 2.2.9 but I couldnt find this 1.01. version in the PTC Software download page, only available one is an older date coded version 1-0-0-872.
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.
I faced this issue 5-6 months back when I was doing the same and even was not able to find SCM-extension-1.0.1. As you said CSDK v 2.2.8 and above are compatible with 1.0.1. This was one of the reasons even I was not able to build it. At that time I raised this internally to make 1.0.1 available on the portal. I think that time we uploaded it and somehow it got removed again. I will check internally if that's the case. Will update you.
Thanks for your reply Narang, any updates on availability of TWX SCM 1.0.1 ?