![]() |
"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 |
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).
|
Re: "error spawning cpp18"??????
Quote:
The path to the source code cannot be longer that 64 characters. Try moving it closer to C:\ |
Re: "error spawning cpp18"??????
Quote:
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 |
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.
|
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