PDA

View Full Version : Compile using MCS



Angus Anderson
- 22nd February 2007, 09:47
Hi Forum-

I run Microcode Studio/Win98/PBP2.46/PBP compiler.
When compiling from Microcode studio, I suddenly got the message "cannot find program run.pif". Now, I was able to get around this once before by going back to an earlier program version which worked, redoing the extra programming and then successfully compiling.

I know it could easily be that the computer has lost it's path settings, but here's the thing. If I go to an earlier saved version, everything compiles fine, which indicates that the problem lies in the source file I was using. However, port the non-working program across to my laptop and everything compiles fine, which indicates that the problem lies in the original computer or OS.

Can anyone throw any light on how I can fix this? Any advice welcomed.

BTW, I would like to congratulate the folks at Mecanique on a really fine piece of software

Angus

HenrikOlsson
- 22nd February 2007, 11:13
Hi,
The first thing I'd try is to remove PBP and MCS and then reinstall them both again.

I have no idea what run.pif is, I don't have it on my system (XP, PBP, MCS). Is it possible that you hit compile/program instead of compile and that run.pif is somehow related to the programmer? Just brainstorming....


/Henrik Olsson.

malc-c
- 22nd February 2007, 12:20
Just done a search for run.* on my PC too and nothing found !

What programmer are you using, and which version of MPLAB have you got installed

flotulopex
- 22nd February 2007, 12:23
In earlier versions of Windows (3 and 3.11), PIF files where used to configure DOS applications that had to be run under Windows (memory and display configs, etc.).

I can't remember if these files were also necessary under Windows98. Maybe...

If this is the case, you may have to adjust the memory settings (DMA and other options) by editing the file.

It can also be something totally else than what I'm telling here about. In that case, sorry.

Darrel Taylor
- 22nd February 2007, 12:31
MCS creates the files during the compile process. Then deletes them when it's done.

run.bat
run.pif

The files are created in the same folder as the project being compiled.

I don't know why it wouldn't be able to find them, unless the folder's path is too long or has some non-standard characters in it. :confused:

Angus Anderson
- 23rd February 2007, 13:22
Thanks guys for the replies -
I'm going to remove and reinstall PBP - I've already reinstalled MCS
Darrel- You know, that could just be it. I renamed project directories just before this happened. I'll change them back & let you guys know what happens

regards

Angus

Angus Anderson
- 26th February 2007, 14:29
A reportback, chaps.

I moved the PBP source files from a folder on the desktop into the MCS directory, and everything compiles fine.

Angus

malc-c
- 26th February 2007, 18:50
If you open MCS and then select VIEW then EDITOR OPTIONS there is an option at the bottom of the settings for the default folder which is normally C:\Program Files\Mecanique\MCS

If you then click on the change button you can select any other location on your PC