Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   "error spawning cpp18"?????? (http://www.chiefdelphi.com/forums/showthread.php?t=25699)

uzi 20-02-2004 20:06

"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

Brian M. 20-02-2004 20:17

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).

Random Dude 20-02-2004 22:19

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:\

uzi 21-02-2004 15:25

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

steven114 21-02-2004 18:41

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.

Astronouth7303 21-02-2004 20:06

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.


All times are GMT -5. The time now is 04:21.

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