SPC5 Studio v6.0 - warning/issue "Type 'uint32_t' could not be resolved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-18 03:28 AM - last edited on ‎2024-08-22 06:55 AM by Andrew Neil
I have installed SPC5 Studio version 6.0 on my Windows 10 PC and compiled sample code.
When compiling the project , i got below warning/issue "Type 'uint32_t' could not be resolved"
Q1: Can you give the solution for this?
Solved! Go to Solution.
- Labels:
-
SPC5 Automotive MCUs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-02 09:13 AM
Hello Rthan ,
it is a preprocessor configuration issue.
You should configure CDT in order to pick stdint.h.
it is located in c:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.XXXXXXXXX\toolchain\
Best Regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-18 05:24 AM
Need to include a file that defines the type or do so yourself.
​
Should be in stdint.h shouldn't it?
​
Check what include trees you pull in via config files, etc.
Check the Include Paths and ordering the compiler is using.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-18 11:44 AM
Thankyou for the quick response, I am new to SPC5 studio, so i am not aware of this much.
Pls find the attached screenshot for analyzing/understanding the issue in detail.
Pls give your input about this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-02 09:13 AM
Hello Rthan ,
it is a preprocessor configuration issue.
You should configure CDT in order to pick stdint.h.
it is located in c:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.XXXXXXXXX\toolchain\
Best Regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-25 04:50 AM
Hi Erwan,
Thanks for your response.
I understands that it is preprocessor issue.
Can you guide me that what is CDT ? and how can i configure this on my project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-09 05:34 AM
Hi Erwan,
The above screenshot shows the property screen of the project.
Is CDT equal to PATH in above screen? or Guide me the procedure to CDT configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-02 06:47 AM
Hi, i am newbee too, but i have solve 'uint32_t, 'uint16_t' 'uint8_t doing:
Right click on SPC5XXXXXTestApplication ->Properties
Under C/C++ General->Path and Symbols
Selec Tab Includes, then GNU C->Add..
write C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.20200908161514\toolchain\include
I hope help somebody
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-04 06:47 PM
Hi PChia.2237
I have the include you mentioned, but I still have an error. "Type 'bool' could not be resolved". Asking for includes <stddef.h>,<stdbool.h>.
Looking for any suggestions. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-07-04 11:25 PM
Yes, the something with this folder:
C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.20200908161514\toolchain\lib\gcc\powerpc-eabivle\4.9.4\include
You welcome. The problem is for SPC5 Studio 6. Version 5.8 has no this type of problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-13 11:04 PM
Really useful!!! TNX SO MUCH!!! you won the heven!!!