|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help with MPLAB
When I try to build the default code, it can not find main.c. Does anyone know how to fix this?
|
|
#2
|
||||
|
||||
|
Re: Help with MPLAB
Quote:
If you are, could we get the exact error message it's giving you? |
|
#3
|
|||
|
|||
|
Re: Help with MPLAB
Yeah, we're using the default code.
Here's the error: Quote:
|
|
#4
|
||||
|
||||
|
Re: Help with MPLAB
Try making sure the project/source files aren't buried deeply within your directory tree. Usually just a folder in your drive root is good. This is because the compiler is limited to a 64-character path limit.
Apart from that guess, I'm not sure without any more exacts. |
|
#5
|
|||
|
|||
|
Re: Help with MPLAB
Our code is in the directory suggested in the readme file. We moved the folder with no subfolders and still doesn't work. Maybe some kind of setting?
|
|
#6
|
|||||
|
|||||
|
Re: Help with MPLAB
Do you use any of the settings under:
Project -> Build Options -> Project other than Include Path and Library Path? You could try creating a new project with the Project Wizard. Just be sure to include only the files listed in the original project. |
|
#7
|
|||
|
|||
|
Re: Help with MPLAB
Checklist:
Can you open workspace successfully from specified directory? Can main.c can be opened, viewed, and saved from workspace window? Does right click on main.c and selecting compile work? Other things to check: Does the user have full authority over the directory and files? Many school system computers have stringent security restrictions which deny sufficient access for MPLAB to operate properly. |
|
#8
|
|||
|
|||
|
Re: Help with MPLAB
Hey,thank you for your suggestion, Mr. Harris. Turns out it WAS the security on our school computers. We are going to contact our network administrator. Thanks again!
|
|
#9
|
||||
|
||||
|
What version of MPLAB are people using?
What version of MPLAB are people using?
I only found v7.5 available for download but the readme file on the Innovation First web site posted default code suggests: Quote:
Will V7.5 work? Please advise Thanks |
|
#10
|
|||
|
|||
|
Re: Help with MPLAB
I'm using MPLAB v7.50. It should be fine as this is just the graphical interface to the tools. The tool versions are important; that is the C18 compiler, mplinker, etc.
The quickest way I found to see what I'm running for tools is to open the readme files in the mcc18 directory: readme.c18 - C18 v2.40 readme.lkr - linker, libararian, cof, cod tools are v3.90 readme.asm - assembler is v3.90 Bud |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hi, I need some help with the MPLAB IDE... | razer | Programming | 9 | 04-01-2007 07:47 |
| Issues with MPLAB 7.30 | gnirts | Programming | 4 | 25-01-2006 22:57 |
| Dissatisfaction With MPLAB | fowlerm | Programming | 19 | 04-06-2005 23:54 |
| Problem with MPLAB | d.courtney | Programming | 5 | 02-02-2005 21:42 |
| Problems with MPLAB | Charley | Programming | 20 | 25-02-2004 18:13 |