149Views0Replies

Author Options:

MIcrochip - ''can't open include file'' Answered

Hi ALL!

Please help me to find the bug!

Yesterday I did the new instalation of the MPLAB X  last version v3.45 after deleting the old.

I did the following tutorial to find bugs in the compilation and chip injection:

https://www.youtube.com/watch?v=mUofSucHx_E

The problem apear when I try to inject the software in the chip with the PICKIT3 when before nevar did so new problem.

Today I reinstall all the software again two times and nothing pass than the same error.

Script aded here of the only both files.

Thank you in advance.

Me


--------------------------------------
Output feedback START
--------------------------------------

make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Toshiba/MPLABXProjects/PIC18F2550_LED_Flashing.X'
make  -f nbproject/Makefile-default.mk dist/default/production/PIC18F2550_LED_Flashing.X.production.hex
make[2]: Entering directory 'C:/Users/Toshiba/MPLABXProjects/PIC18F2550_LED_Flashing.X'
"C:\Program Files (x86)\Microchip\xc8\v1.38\bin\xc8.exe" --pass1  --chip=18F2550 -Q -G  --double=24 --float=24 --emi=wordwrite --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=-3 --asmlist -DXPRJ_default=default  --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-download,+config,+clib,-plib   --output=-mcof,+elf:multilocs --stack=compiled:auto:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s"    -obuild/default/production/main.p1  main.c

main.c:10: error: (141) can't open include file "main.h": No such file or directory

make[2]: *** [build/default/production/main.p1] Error 1
make[1]: *** [.build-conf] Error 2
(908) exit status = 1
nbproject/Makefile-default.mk:100: recipe for target 'build/default/production/main.p1' failed
make[2]: Leaving directory 'C:/Users/Toshiba/MPLABXProjects/PIC18F2550_LED_Flashing.X'
nbproject/Makefile-default.mk:84: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Toshiba/MPLABXProjects/PIC18F2550_LED_Flashing.X'
make: *** [.build-impl] Error 2
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 606ms)

--------------------------------------
Output feedback END
--------------------------------------

JAVA are in the last one version up to date

My system:

SATELLITE L50-A-1F2

Windows 8.1 64-bit
4th generation Intel® Core™ i7-4700MQ processor with Intel® Turbo Boost Technology 2.0
39.6cm (15.6”) , Toshiba TruBrite® HD TFT High Brightness display with 16 : 9 aspect ratio and LED backlighting
Hard disk 1 TB
Shining silver finish with stripe pattern, black keyboard
8,192 (4,096 + 4,096) MB, DDR3L RAM (1,600 MHz)
NVIDIA® GeForce® GT 740M with CUDA™ Technology and NVIDIA® Optimus™ Technology
maximum life : up to 4h00min (Mobile Mark™ 2012)
weight : starting at 2.40 kg
W x D x H : 377.5 x 244.0 x 25.95 mm

Discussions