Page 1 of 1

PR28

PostPosted: Sat Apr 16, 2011 6:56 pm
by ENAB
hello..
i've problem to compile PR28.TIC TAC TOE with m-touch:


#include <pic.h>
#include "PR28.h"

have error at second line which is Error [141] C:\plez\PR28.c; 9.18 can't open include file "PR28.h": No such file or directory
.. can u help me ASAP cz i've presentation this monday (18 april 2011)..i want to convert the .c file to .asm file....plez help me..

Re: PR28

PostPosted: Mon Apr 18, 2011 9:45 am
by joliza
hi..
The code (PR28) doesn't has any problem if you compile it in c file. Did you include PR28.h in a folder same with PR28.c file.

Re: PR28

PostPosted: Mon Apr 18, 2011 6:11 pm
by yonghui
hi,

probably u dont have the *.h file in the directory, if u have it in other directory, u will need to set the correct include search directory at Mplab. its in project option



regards,
yh