Go to Post Listen to this FIRST: Thank you - Daniel Brim [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 20-02-2004, 20:06
uzi uzi is offline
Registered User
#1392
 
Join Date: Feb 2004
Location: Ajax, Ontario
Posts: 3
uzi is an unknown quantity at this point
"error spawning cpp18"??????

whenever i try to build my code, it gives me an error:

C:\Documents and Settings\Moh\Desktop\ROBOTIX\FrcCode\ifi_aliases.h :18: unable to locate 'adc.h'
error 1 spawning c:\mcc18\bin\cpp18

please help!!! i just loaded the program and can't figure out why it would give me an error because i haven't even messed with it...yet
  #2   Spotlight this post!  
Unread 20-02-2004, 20:17
Brian M. Brian M. is offline
CGA Team USA-Also On FRV Team 30
FRC #0500 (CGA Team USA)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2003
Location: GA
Posts: 20
Brian M. is on a distinguished road
Re: "error spawning cpp18"??????

Make sure that you have the "Include Path" under Project-->Build Options...-->Project equal to "C:\mcc18\h". The default location is "C:\mcc18\" but if you installed the C complier somewhere else, change it to point to that location. While you're in the dialog box make sure the "Library Path" equals "C:\mcc18\lib" (or the equivalent if you installed in a different location).
  #3   Spotlight this post!  
Unread 20-02-2004, 22:19
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: "error spawning cpp18"??????

Quote:
Originally Posted by uzi

please help!!! i just loaded the program and can't figure out why it would give
me an error because i haven't even messed with it...yet

The path to the source code cannot be longer that 64 characters. Try moving it closer to C:\
  #4   Spotlight this post!  
Unread 21-02-2004, 15:25
uzi uzi is offline
Registered User
#1392
 
Join Date: Feb 2004
Location: Ajax, Ontario
Posts: 3
uzi is an unknown quantity at this point
Re: "error spawning cpp18"??????

Quote:
Originally Posted by Random Dude
The path to the source code cannot be longer that 64 characters. Try moving it closer to C:\
it can't be that because it lets you know if you've gone over and i haven't gotten that error.

but i tried the other stuff and it still didn't work.

our adc.h file is in c:\mcc18\h
but our cpp18 is in c:\mcc18\bin

we've tried both ways and i've tried putting a copy of each file in the other folder but to no avail. plz help

thanx
uzi
  #5   Spotlight this post!  
Unread 21-02-2004, 18:41
Happy Birthday! steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: "error spawning cpp18"??????

Try reinstalling, and when it gives you a large list of checkboxes asking if it should change PATHs and such, check all of them.
  #6   Spotlight this post!  
Unread 21-02-2004, 20:06
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: "error spawning cpp18"??????

I would do it anyway. The path you posted is 67. Real, real close. I put my stuff in C:\FRCCode\_Projectname\*. Put a folder shortcut on the desktop if you really want it on there (PM me, and I'll tell you how).

The path of the exe and the h doesn't matter; I think that's passed in the command-line args.
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


All times are GMT -5. The time now is 00:01.

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