Log in

View Full Version : Compiler problems


katkana
03-02-2005, 10:01
Every time I try to compile the default code in MPLAB, I get an error message saying: "unable to locate 'adc.h'
error 1 spawning c:\mcc18\bin\cpp18"

The first time this happened, I added the adc.h file to the workspace I was working in, but I keep getting the same error message. What am I doing wrong?

Thanks for any help...

~kat

jgannon
03-02-2005, 10:22
There have been about a million threads about this topic... search before you post.

http://www.chiefdelphi.com/forums/showthread.php?t=24005

Darkelement
03-02-2005, 18:29
I got the same message, and I figured out that I needed to change where the compiler was searching for the files. Go to: Project -> Build Options -> Project, and set locations for the folders that contain your files. :D