- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the MQTT-client template but it gives me multiple errors when i build without even making any changes.
the errors i'm getting are:
../mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborparser_dup_string.c:119:1: fatal error: opening dependency file C:/.........../MQTT_Client/build/CY8CKIT-062-WIFI-BT/Debug/ext/mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborparser_dup_string.d: No such file or directory
../mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborencoder_close_container_checked.c:55:1: fatal error: opening dependency file C:/.........../MQTT_Client/build/CY8CKIT-062-WIFI-BT/Debug/ext/mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborencoder_close_container_checked.d: No such file or directory
make[1]: *** [../mtb_shared/core-make/release-v1.9.0/make/core/build.mk:387: C:/.........../MQTT_Client/build/CY8CKIT-062-WIFI-BT/Debug/ext/mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborparser_dup_string.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../mtb_shared/core-make/release-v1.9.0/make/core/build.mk:387: C:/.........../MQTT_Client/build/CY8CKIT-062-WIFI-BT/Debug/ext/mtb_shared/aws-iot-device-sdk-embedded-C/202103.00/libraries/aws/ota-for-aws-iot-embedded-sdk/source/dependency/3rdparty/tinycbor/src/cborencoder_close_container_checked.o] Error 1
make: *** [../mtb_shared/core-make/release-v1.9.0/make/core/main.mk:434: secondstage_build] Error 2
All those files marked bold actually exist but there all ".c" files instead of ".d" or ".o"
Does anyone know what I'm doing wrong?
Solved! Go to Solution.
- Labels:
-
ModusToolbox PSoC 6 SDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MAX_PATH length on Windows is 260 chars.
https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Struye,
Can you please confirm that you are using the AnyCloud MQTT Client code example (CE)? If that is the case, could you please mention the steps followed to import the CE and any edits (including SSID changes, etc) made to the CE? I tried importing the CE and I did not observe any build issues for the same target.
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In an empty workspace, I go file->new->modustoolbox application. I select the CY8CKIT-062-WIFI-BT. As Template Application I select MQTT client and hit create.
If I then try to build without making any changes, i get the errors as shown in my post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think i fixed it. The workspace i was using was in a folder in a folder in a folder in a folder.
After moving it directly on my C drive everything is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The MAX_PATH length on Windows is 260 chars.
https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd