Compiling on a Windows 7 64 bit system


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2011
    Posts
    4

    Angry Compiling on a Windows 7 64 bit system

    I recently had my work PC upgraded to Windows 7 and now I am trying to compile an existing program, which compiles perfectly on XP, and I get the following error:
    "The program or feature "\??\C:\test software\pic file\run.pif cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact software vendor to ask if 64-bit version is available".
    Any suggestions or work arounds???

    Thanks,

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


    Did you find this post helpful? Yes | No

    Default Re: Compiling on a Windows 7 64 bit system

    Hi,
    1) Make sure you use MPASM, PM won't work on 64bit Windows.
    2) If you're compiling from MicroCodeStudio make sure you run MCS as administrator.

    I had some troubles getting it all to work on Win7-64 but have been running it for over a year now without issues.

    /Henrik.

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


    Did you find this post helpful? Yes | No

    Default Re: Compiling on a Windows 7 64 bit system

    The run.pif error is usually from old versions of MicroCode Studio.
    With Vista and Windows 7, you must have MCS verion 3.0.0.5 or higher.

    You can download the free version 4.0.0.0 from here ...
    http://melabs.com/resources/win_ide.htm
    DT

  4. #4
    Join Date
    Apr 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Question Re: Compiling on a Windows 7 64 bit system

    Quote Originally Posted by Darrel Taylor View Post
    The run.pif error is usually from old versions of MicroCode Studio.
    With Vista and Windows 7, you must have MCS verion 3.0.0.5 or higher.

    You can download the free version 4.0.0.0 from here ...
    http://melabs.com/resources/win_ide.htm
    "My MCS version is 4.0.0.0. The application launches but will not compile programs."

  5. #5
    Join Date
    Apr 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Question Re: Compiling on a Windows 7 64 bit system

    Quote Originally Posted by HenrikOlsson View Post
    Hi,
    1) Make sure you use MPASM, PM won't work on 64bit Windows.
    2) If you're compiling from MicroCodeStudio make sure you run MCS as administrator.

    I had some troubles getting it all to work on Win7-64 but have been running it for over a year now without issues.

    /Henrik.
    "I am not quite sure what you mean by using MPASM. There must be a setting I have to change to select MPASM but not sure where. I have selected MCS as the adminstrator and I have also tried setting the compatibility mode but still does not compile."

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default Re: Compiling on a Windows 7 64 bit system

    Click View->Compile and Program Options and click the Assembler tab. Tick the Use MPASM checkbox and make sure that it's pointing to the MPASM install folder. On my system it's c:\program files (x86)\microchip\mpasm suite

    Also at the compiler tab, make sure it's pointing at the folder where the PBP executable is located, usually C:\PBP

    If you click Help->About it should tell you what version of PBP you have installed, if it does not it haven't found it. I'm using MCS 3.0.0.5 with PBP2.60A

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