cancel
Showing results for 
Search instead for 
Did you mean: 

In motor control applications, <stddef.h> , <stdbool.h> are not defined. How to include these libraries??

VGani.1
Associate III

0693W00000BcdERQAZ.png

1 ACCEPTED SOLUTION

Accepted Solutions
PChia.2237
Senior

Look what you have include.

One time folder us under gnu.gcc and other is under hightec. These are 2 different compilator. Dont mix files.

Remove folder under hightec and search file (in windows) under

C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.20200908161514\

The you find the files that you need, the include the folder.

ok?

View solution in original post

3 REPLIES 3
PChia.2237
Senior

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\lib\gcc\powerpc-eabivle\4.9.4\include

VGani.1
Associate III

Hi Chia,

I already have these includes in my project. But one include shows error which you can see from the attachment. Can you help me out?

0693W00000Bcn2pQAB.jpg

PChia.2237
Senior

Look what you have include.

One time folder us under gnu.gcc and other is under hightec. These are 2 different compilator. Dont mix files.

Remove folder under hightec and search file (in windows) under

C:\SPC5Studio-6.0\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.20200908161514\

The you find the files that you need, the include the folder.

ok?