PDA

View Full Version : Compiling on a Windows 7 64 bit system



mtroutt
- 20th April 2011, 20:17
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,

HenrikOlsson
- 20th April 2011, 21:07
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.

Darrel Taylor
- 21st April 2011, 01:03
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

mtroutt
- 22nd April 2011, 14:19
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."

mtroutt
- 22nd April 2011, 14:22
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."

HenrikOlsson
- 22nd April 2011, 15:05
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