View Full Version : "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
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
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:\
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
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
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.