Compile using MCS


Closed Thread
Results 1 to 8 of 8
  1. #1

    Default Compile using MCS

    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

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default

    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.

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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

  4. #4
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default PIF - Program Information File

    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.
    Roger

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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.
    DT

  6. #6


    Did you find this post helpful? Yes | No

    Smile

    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

  7. #7


    Did you find this post helpful? Yes | No

    Default Problem solved

    A reportback, chaps.

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

    Angus

  8. #8
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    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

Similar Threads

  1. Unable to pass a variable to LCDOUT without getting compile errors
    By Ferroto Baggins in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th February 2010, 16:43
  2. Cant change target processor to compile
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th November 2009, 18:31
  3. ICD use with MCS Plus, PBPro & PicKit2??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 30th September 2009, 23:06
  4. Compile and Program help using PICKit2
    By ozarkshermit in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 10th March 2009, 14:51
  5. Replies: 2
    Last Post: - 9th February 2006, 22:03

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts