Questions and discussions about the SDK tools used to program the TD RF modules.
escalanterj
 
Posts: 30
Joined: Sun Jan 22, 2017 3:37 pm

Re: Troubles compiling

by escalanterj Sun Jan 22, 2017 3:40 pm

Hello,

I get all this errors when I try to compile in SDK 6. Could somebody give me a clue?
thanks
BR

Description Resource Path Location Type
Field 'type' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 141 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 128 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 129 Semantic Error
Type 'bool' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 124 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 127 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 103 Semantic Error
Type 'TD_GEOLOC_Fix_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 124 Semantic Error
Symbol 'TD_GEOLOC_2D_FIX' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 97 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 103 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 95 Semantic Error
Symbol 'TD_GEOLOC_OFF' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 96 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 90 Semantic Error
Type 'bool' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 95 Semantic Error
Type 'TD_GEOLOC_Fix_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 88 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 292 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 295 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 317 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 317 Semantic Error
Invalid project path: Include path not found (CMSIS\Include). Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 276 Semantic Error
Symbol 'MODE_FRAME' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 292 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 292 Semantic Error
Symbol 'true' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 292 Semantic Error
Invalid project path: Include path not found (libtddrivers\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'TD_GEOLOC_NAVIGATION' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 389 Semantic Error
Invalid project path: Include path not found (libtdcore\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Type 'TD_UART_Options_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 398 Semantic Error
Program "g++" not found in PATH Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Invalid project path: Include path not found (emlib\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'LEUART_DEVICE' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 398 Semantic Error
Invalid project path: Include path not found (Device\EnergyMicro\EFM32G\Include). Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'LEUART_LOCATION' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 398 Semantic Error
Invalid project path: Referenced project is not accessible. Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'TD_GEOLOC_OFF' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 352 Semantic Error
Invalid project path: Include path not found (libtdgeoloc\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Symbol 'TD_GEOLOC_HW_BCKP' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 357 Semantic Error
Invalid project path: Include path not found (libtdsensor\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Type 'uint32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 386 Semantic Error
Program "gcc" not found in PATH Preferences, C++/Build/Settings/Discovery, [CDT GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Invalid project path: Include path not found (libtdrf\inc). Tuto_GPS_Tracker pathentry Path Entry Problem
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 386 Semantic Error
Symbol 'TD_SCHEDULER_INFINITE' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 437 Semantic Error
Symbol 'SENSOR_TRANSMITTER' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 407 Semantic Error
Symbol 'TD_STREAM_RDWR' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 402 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 399 Semantic Error
Symbol 'true' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 406 Semantic Error
Symbol 'true' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 406 Semantic Error
Program "make" not found in PATH Tuto_GPS_Tracker C/C++ Problem
Type 'int32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 160 Semantic Error
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 160 Semantic Error
Symbol 'int32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 160 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 142 Semantic Error
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 159 Semantic Error
Field 'rtc_calibrated' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 141 Semantic Error
Type 'uint32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 142 Semantic Error
Type 'int32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 174 Semantic Error
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 174 Semantic Error
Symbol 'int32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 174 Semantic Error
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 173 Semantic Error
Program "arm-none-eabi-gcc" not found in PATH Tuto_GPS_Tracker [Discovery Options] page in project properties C/C++ Problem
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 164 Semantic Error
Type 'uint8_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 229 Semantic Error
Field 'sat' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 214 Semantic Error
Field 'quality' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 214 Semantic Error
Field 'quality' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 201 Semantic Error
Field 'longitude' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 178 Semantic Error
Field 'position' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 178 Semantic Error
Field 'longitude' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 174 Semantic Error
Type 'uint32_t' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 276 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 267 Semantic Error
Symbol 'true' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 267 Semantic Error
Symbol 'false' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 267 Semantic Error
Symbol 'MODE_FRAME' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 267 Semantic Error
Field 'speed_kmh' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 241 Semantic Error
Field 'speed' could not be resolved sigfox_gps_tracker.c /Tuto_GPS_Tracker/src line 241 Semantic Error
User avatar
mstempin
 
Posts: 168
Joined: Thu May 07, 2015 9:24 am

Re: Troubles compiling

by mstempin Thu Feb 09, 2017 2:25 pm

Please create a new thread instead of squatting this one!

Your error dump is only partial, I cannot help you with this. Please post the full error log,, or at least the very first lines of it. It looks like you don't have the correct path for the required include files.
Farren
 
Posts: 2
Joined: Fri May 12, 2017 2:26 pm

Re: Troubles compiling

by Farren Fri May 12, 2017 2:47 pm

TD_SDK.jpg
Screen shot of project
TD_SDK.jpg (233.08 KiB) Viewed 182 times
Hi, I had the same problem with this error: Cannot run program "arm-none-eabi-gcc": Invalid directory name. when compiling the blink project
I read this post and followed advice to do a project clean which seems to have fixed the above error but I now get the following errors:

c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -ltdgeoloc
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -ltdsensor
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -ltdcore
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -ltdcore
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -lemlib
c:/td/td_rf_module_sdk-v6.0.0/gnu/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -lDevice
collect2.exe: error: ld returned 1 exit status

Did the clean remove some of the binaries ?
Some of the project folders on the left of the window now have a red cross over the folder.
Any advice will be greatly appreciated.
Thanks.
User avatar
mstempin
 
Posts: 168
Joined: Thu May 07, 2015 9:24 am

Re: Troubles compiling

by mstempin Mon May 15, 2017 8:35 am

Please make sure that al lthe required libraries are compiled in the right compilation configuration (it looks like in your case "GCC Release EZR"). You should have a libxxx.a in a subdirectory with the compilation configuration name in each of the corresponding library project.
Farren
 
Posts: 2
Joined: Fri May 12, 2017 2:26 pm

Re: Troubles compiling

by Farren Tue May 16, 2017 5:39 pm

Thanks for the advice but it seems that I was selecting the wrong Target, I change to TD 1208, did a clean and recompiled and all worked and binary was generated.
I am progressing well now beyond the blink example and sending SigFox messages.
The instructions to install and get the SDK working are a little confusing and took me some time to work things out. :D
Return to Tools

Who is online

Users browsing this forum: No registered users and 1 guest