zagisrule!
- 28th December 2005, 02:38
I have been trying for the past day or so to get MPLAB to compile a pbp file.
PBP (V2.46) is installed and operating, but for some reason MPASM refuses to assemble to code to produce a hex file.
I set up a project with a only a known operating (compiles and assembles fine using Microcode Studio/MPASM Assembler) basic file. This file is the only one added to my new project. Directories are kept short but errors always occur when I try to build the basic code.
The build message shows:
Executing: "C:\PBP\PBPW.EXE-ampasmwin-oq-z -p16F819"Car Computer Accel.pbp"
PicBasic Pro Compiler 2.46, (c) 1998, 2005 microEngineering Labs, Inc.
All Rights Reserved
ERROR: Unable to execute mpasmwin. Skipping link step. Not all sources built successfully.
BUILD FAILED: Tue Dec 27 19:15:34 2005
This baffles me because I can open the EXACT same source in MC Studio and compile and assemble flawlessly, even with MPASM. But the moment I try the same thing in MPLAB all of a sudden it will not build...I have tried numerous "example" code and none of that compiles...the basic blink routine won't build either.
I have followed step-by-step this tutorial to no avail: http://www.melabs.com/support/mplab.htm
What is the cause of this error and how can it be fixed?
Alternatively, how could I just import a raw hex file (compiled/assembled in MC Studio) into MPLAB to program using a PIC Start+?
Any responses are greatly appreciated.
PBP (V2.46) is installed and operating, but for some reason MPASM refuses to assemble to code to produce a hex file.
I set up a project with a only a known operating (compiles and assembles fine using Microcode Studio/MPASM Assembler) basic file. This file is the only one added to my new project. Directories are kept short but errors always occur when I try to build the basic code.
The build message shows:
Executing: "C:\PBP\PBPW.EXE-ampasmwin-oq-z -p16F819"Car Computer Accel.pbp"
PicBasic Pro Compiler 2.46, (c) 1998, 2005 microEngineering Labs, Inc.
All Rights Reserved
ERROR: Unable to execute mpasmwin. Skipping link step. Not all sources built successfully.
BUILD FAILED: Tue Dec 27 19:15:34 2005
This baffles me because I can open the EXACT same source in MC Studio and compile and assemble flawlessly, even with MPASM. But the moment I try the same thing in MPLAB all of a sudden it will not build...I have tried numerous "example" code and none of that compiles...the basic blink routine won't build either.
I have followed step-by-step this tutorial to no avail: http://www.melabs.com/support/mplab.htm
What is the cause of this error and how can it be fixed?
Alternatively, how could I just import a raw hex file (compiled/assembled in MC Studio) into MPLAB to program using a PIC Start+?
Any responses are greatly appreciated.