PDA

View Full Version : Compilation errors - strange



tetanus4
- 24th October 2009, 17:30
Everything was going fine, compiling and programming various pics until this morning when I went to compile a PBP program for a chip that I was using the night before and got all these errors. I tried deleting parts of the program until I whittled it away to mere comments and still got the same errors. It seems like one of those things that I am just doing something stupid but cant see it. I tried compiling all kinds of programs that have been fine in the past but get more or less the same errors on all of the compiles. It seems like it is maybe a link to the library files that somehow went bad? I don't know. Would appreciate any suggestions. Attached is a screen shot of one of the programs and associated errors.

Thanks,
Gary

mackrackit
- 24th October 2009, 18:18
Try making a directory "C:\TEST" and put your source code there. One source (project) per directory.

tetanus4
- 24th October 2009, 18:36
I never would have figured that out. I have been using the same directories for quite a while. All was well last night while I was compiling. Thanks much for your help.

Gary

mackrackit
- 24th October 2009, 19:04
Not exactly sure why it works... I have an idea or two but...

Having a separate directory helps me stay organized. Notes, drawings, source, etc for a project are all in one place for each project. Maybe it keeps PBP/MPASAM from getting confused?? :)