Before working on my project, I want to compile the "Button Demo PIC24F" in the "mTouch Capacitive Touch Library" Version 1.43.00 to make sure my setup is working. My PIC18 project uses mTouch.
The installed compiler is XC16 v1.25
I replaced the #include "Compiler.h" with #include "xc.h".
I copied GenericTypeDefs.h to C:\Program Files (x86)\Microchip\xc16\v1.25\include
I get the following error when i try to compile:
"C:\Program Files (x86)\Microchip\xc16\v1.25\bin\xc16-gcc.exe" "../../../../Microchip/mTouchCap/PIC18F PIC24F PIC24H dsPIC Library/mTouchAcquistion.c" -o build/default/production/_ext/276075077/mTouchAcquistion.o -c -mcpu=24FJ128GB106 -MMD -MF "build/default/production/_ext/276075077/mTouchAcquistion.o.d" -g -omf=elf -O0 -I".." -I"../../../../Microchip/Include" -I"../../Configurations/PIC24F_mTouch_Eval_Board" -I"../../../../Microchip/Include/mTouchCap/PIC18F PIC24F PIC24H dsPIC Library" -msmart-io=1 -Wall -msfr-warn=off -fno-ivopts
In file included from ../../../../Microchip/mTouchCap/PIC18F PIC24F PIC24H dsPIC Library/mTouchAcquistion.c:56:0:
../../../../Microchip/Include/mTouchCap/PIC18F PIC24F PIC24H dsPIC Library/mTouch.h:56:29: fatal error: GenericTypeDefs.h: No such file or directory
compilation terminated.
What am I missing? Any suggestions would be appreciated.
Regards,
jjg