Announcement

Collapse
No announcement yet.

Installed PBP3, get ERROR: Bad command parameter. -z

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installed PBP3, get ERROR: Bad command parameter. -z

    Hi - I just installed PBP3 over an old PBP2 installation. I already had MPLAB 8.83 installed.

    When I try to compile a simple MPLAB project, I get an error:
    Executing: "C:\PBP3\PBPMPLAB.BAT" -ampasmwin -oq -z -p12F683 "12F683 555 Timer.bas"
    PBPMPLAB.BAT 4.0.0.0
    Using MPASM from C:\Program Files\Microchip\MPASM Suite\.
    Executing: "C:\PBP3\PBPX.EXE" -ampasmwin -oq -z -p12F683 "12F683 555 Timer.bas"
    PICBASIC PRO(TM) Compiler 3.0.5.1, (c) 1998, 2012 microEngineering Labs, Inc.
    All Rights Reserved.
    ERROR: Bad command parameter. -z
    BUILD FAILED: Tue Apr 03 09:52:36 2012

    It seems the old pre-PBP3 command line is being used.

    As far as I can tell, MPLAB is properly pointing to the proper ToolSuite: C:\PBP3\PBPMPLAB.BAT

    And the "Build Options" command line is: -ampasmwin -k- -oq

    "Use Alternate Settings" is: -ampasmwin -oq -z ...but is unchecked.

    Any idea what simple thing I'm doing wrong? Thanks...

    chico

  • #2
    Hi Chico,

    In the build options dialog ...
    Change one of the 3 checkbox options and press "Apply".
    Then change it back and press "Apply".
    This will insure the project is using the correct plugin options.

    Then, make sure "Inherit Global Settings" is checked and press OK.
    Try to compile again.
    PBP3 Manual : Microchip Datasheets - 10F, 12F, 16F, 18F
    Never download a PIC datasheet from anywhere but microchip.com

    Comment


    • #3
      Originally posted by Darrel Taylor View Post
      Hi Chico,

      In the build options dialog ...
      Change one of the 3 checkbox options and press "Apply".
      Then change it back and press "Apply".
      This will insure the project is using the correct plugin options.

      Then, make sure "Inherit Global Settings" is checked and press OK.
      Try to compile again.
      Darrel -

      That worked. Thank you so much.

      BTW, I have been away from PBP for a few years, but whenever I had a problem in the past, I'd search the PBP forums here and at Crownhill. Usually my problem was solved by your response to someone else with a similar problem.

      Glad to see you're still actively helping so many users with their problems, whether simple or complex. Thanks for your help with this particular problem, and for all the others you've solved indirectly for me.

      Regards,

      chico

      Comment

      Working...
      X