hi, i'm beginner both thingworx and C language
i download C SDK in marketplace
and download/install visual studio
after i open VsDevCmd and move SteamSensor dir
command cl main.c[changed appkey and port]
so i copy and paste header&c file in C SDK\src\...
after that dir look like following picture
but still command cl main.c appear error [but header file has changed]
how do fix it?
Has anyone experienced the same issue as me?
please help me . thanks
Solved! Go to Solution.
seonho Cha: I can see the issue at my end and will check further on the "twBaseTypes.h":No Such file or directory error.
Building with the C SDK eventually failed.
I switched to the JAVA SDK.
I switched to using the MQTT extension.
Currently, MQTT is used to connect ThingWorx with objects.
With C SDK ..No.
I see inconsistencies between "C SDK Setup Guide" and files found in the latest downloaded SDK itself.
@mtyago what sort of inconsistencies? Did your build finish successfully prior to launching the C SDK based example application?
I could not build the sdk.
I was able to build the VS solution file, but the project requires "twCSdk.lib" in order to finish the build.
And there is no twCSdk.lib present in any of the downloaded folder.
As far as inconsistencies are concerned
The document mentions "At the top level, locate the folder entitled tw-c-sdk." there is no such folder, further the solution name would be "tw-c-sdk.sln" which is not true as well.
Naming issues are minor, but it seems the document is not updated.
However the major problem is that twCSdk.lib is missing.
@mtyago thanks for highlighting this. Could you point me to the source link from where you have downloaded the C SDK? I'll check that out.