Go to Post Our role models are practical visionaries. That's the glue. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2004, 13:22
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
adc.h missing

Has anyone had a build fail with a missing adc.h header file error even if this file is in the project you are compiling? Kindof stuck on this one. not to familiar with this compiler - we normally use visual c++.

Thanks......
  #2   Spotlight this post!  
Unread 17-01-2004, 14:21
Jake Lewis's Avatar
Jake Lewis Jake Lewis is offline
Co-Team Lead
FRC #0537 (Charger Robotics)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Sussex, WI
Posts: 16
Jake Lewis is an unknown quantity at this point
Send a message via AIM to Jake Lewis
Re: adc.h missing

goto menu: project->build->project

change the 4th and 5th boxes to the path of your header file folder and library file folder (they should be under mcc18\bin\ or something
__________________
Jake Lewis
Co-Lead, Team 537
jakisnaki@hotmail.com
  #3   Spotlight this post!  
Unread 20-01-2004, 11:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: adc.h missing

Quote:
Originally Posted by Jake Lewis
goto menu: project->build->project

change the 4th and 5th boxes to the path of your header file folder and library file folder (they should be under mcc18\bin\ or something
use:
C:MCC18\h for Include Path
C:MCC18\lib for Library Path
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 13-11-2004, 01:40
Steven Carmain Steven Carmain is offline
Bit Twiddler
FRC #2832
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Westland, MI
Posts: 92
Steven Carmain will become famous soon enough
Re: adc.h missing

Sorry to bring up a dead topic, but I still can't get "adc.h" to be found. I have changed "C:MCC18h for Include Path" about a half a dozen times, and it still doesn't work. I searched all the forums (I think), and I can't find anything. I think I have compiled code before (not sure about this, but found code from about a year ago on an isolated laptop.) It is an isolated laptop, wasn't used for competition, Win. 98, and the "adc.h" file exists cause I have found it on the hard disk. The code was based off the default code (maybe 2/24/04 default), the only changes were a lot of trimming in Default_Routines and a little new code in that routine. The complier says:
Code:
Executing: "c:mcc18binmcc18.exe" -p=18F8520 "MAIN.C" -fo="MAIN.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:Steven11_10_04ifi_aliases.h:18: unable to locate 'adc.h'
error 1 spawning c:mcc18bincpp18
Halting build on first failure as requested.
BUILD FAILED: Sat Nov 13 01:02:08 2004
Any Ideas?
__________________
2017 - Team 2832 Mentor
2016 - Team 6013 Mentor
2002-05 - Team 45 Software/Electrical

A robot is like a campfire: it takes a while to bulid it, and then everyone surounds it!
A world without standards is chaos. A world with standards is chaos.
  #5   Spotlight this post!  
Unread 13-11-2004, 07:57
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: adc.h missing

Steve,

I have C:\mcc18\lib and I think the problem may be the first \ after the drive designator. That first \ designates the root of your drive.

Let us know how you make out.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #6   Spotlight this post!  
Unread 13-11-2004, 08:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: adc.h missing

Quote:
Originally Posted by Steven Carmain
The complier says:
Code:
Executing: "c:mcc18binmcc18.exe" -p=18F8520 "MAIN.C" -fo="MAIN.o" -D_FRC_BOARD -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:Steven11_10_04ifi_aliases.h:18: unable to locate 'adc.h'
error 1 spawning c:mcc18bincpp18
Halting build on first failure as requested.
BUILD FAILED: Sat Nov 13 01:02:08 2004
Any Ideas?
You appear to be missing ALL your "\"'s.
It should have read:
Code:
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8520 "
Here's a snapshot of the Project Options pop-up in question.
Attached Thumbnails
Click image for larger version

Name:	MPLAB general options.jpg
Views:	116
Size:	39.7 KB
ID:	2610  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 13-11-2004 at 08:24.
  #7   Spotlight this post!  
Unread 15-11-2004, 16:43
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: adc.h missing

In a fury of patching our AdamBotsLive Linux code, I've ran into this error, too.

Another hint is to make sure you have no syntax errors around your #include statements -- notably in main.c.
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #8   Spotlight this post!  
Unread 15-11-2004, 17:58
Bharat Nain's Avatar
Bharat Nain Bharat Nain is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Jan 2004
Rookie Year: 2003
Location: New York
Posts: 2,000
Bharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond reputeBharat Nain has a reputation beyond repute
Send a message via AIM to Bharat Nain Send a message via MSN to Bharat Nain
Re: adc.h missing

I have gotten errors like that, but usually I solve them by finding something wrong in the code I wrote(once a j on the top of the file(stupid reason) and once i declared variables wrongly.. or twice, cant remember), but never bothered to find why exactly it caused that error to relate to adc.h... but all I can tell you is, you dont wanna touch any of the files in the mcc18 folder...
__________________
-= Bharat Nain =-

Whatever you do, you need courage. Whatever course you decide upon, there is always someone to tell you that you are wrong. There are always difficulties arising that tempt you to believe your critics are right. To map out a course of action and follow it to an end requires some of the same courage that a soldier needs. Peace has its victories, but it takes brave men and women to win them. - Ralph Waldo Emerson
  #9   Spotlight this post!  
Unread 15-11-2004, 19:32
pakrat pakrat is offline
Rich Ross
no team (The Rat Pack)
Team Role: Alumni
 
Join Date: May 2004
Rookie Year: 2003
Location: Ann Arbor
Posts: 328
pakrat is just really nicepakrat is just really nicepakrat is just really nicepakrat is just really nicepakrat is just really nice
Send a message via AIM to pakrat
Re: adc.h missing

oh my goodness, this is what heppend to our stinking code at western michigan! BE careful, you might fry your computer... Luckily First provided us with another one because it was not our fault. I hope it goes well, i just imported it form another team.
__________________
  #10   Spotlight this post!  
Unread 16-11-2004, 06:56
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: adc.h missing

Quote:
Originally Posted by Bharat Nain
but never bothered to find why exactly it caused that error to relate to adc.h...
main.c:
#include "ifi_aliases.h"

ifi_aliases.h:
#include <adc.h>


adc.h is the first line the compiler sees.
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who is missing stuff from KOP? Matthew_H Kit & Additional Hardware 52 05-02-2004 19:52
Receiving missing parts from KOP shyra1353 Kit & Additional Hardware 7 30-01-2004 00:58
Anyone missing a Crasftman Ratchet Set from Mayhem Kyle Fenton Off-Season Events 0 01-06-2003 14:23
missing kit parts Stephen Kowski Kit & Additional Hardware 57 22-01-2003 12:27
Field and shelf missing dimensions kmcclary Off-Season Events 3 12-10-2001 18:21


All times are GMT -5. The time now is 19:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi