Mystery Compile Error


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1

    Default Mystery Compile Error

    I just received the PIC BASIC Pro upgrade (v2.60) and set it up on my new PC. When I try to compile a program that used to work just fine with my older PICBASIC Pro version, I get this error:

    fatal: out of memory (pbpw.exe)

    I'm using MicroCode Studio (v2.0.0.5) which came with the CD containing the PIC BASIC Pro installer.

    Anyone know what's wrong here? Other programs do compile just fine (i.e. blink.bas)

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The only time I have seen
    fatal: out of memory (pbpw.exe)
    is when I try running MCS on Linux with WINE.

    What is your OS?
    And posting your code might help too.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    I'm running Windows XP SP3 and PBP 2.6 with MCS 3.0.0.5

    The code is this:

    DEFINE OSC 20

    FLASH_RATE VAR BYTE
    LED_0 VAR PORTB.0

    FLASH_ON = 1500
    FLASH_OFF = 500

    lblLoop:
    High LED_0
    Pause FLASH_ON
    Low LED_0
    Pause FLASH_OFF

    GoTo lblLoop

    End

    Again, this worked on my old PC with a previous version of PBP.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    Also, if I try to compile one of the sample files from c:\pbp\samples (e.g. adcin3x) I get tons of these errors:

    Error c:\pbp\pbppic14.lib 272 : [225] Undefined Symbol 'PORTE'

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    That is starting to sound like the wrong PIC is selected???
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by RossWaddell View Post
    Also, if I try to compile one of the sample files from c:\pbp\samples (e.g. adcin3x) I get tons of these errors:

    Error c:\pbp\pbppic14.lib 272 : [225] Undefined Symbol 'PORTE'
    The 16F84A does not have an E port.

    You may want to post the whole code and the configs and maybe a screen shot of how the code editor is set.

    You have to compile for the correct PIC and re-do the code to match.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. 16F877A Microcode Studio won't compile
    By curt66111 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th November 2009, 19:35
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  3. Optimizing DIV
    By skimask in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 22nd September 2008, 04:58
  4. 18F452 compile error
    By Woodzy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th November 2006, 16:56
  5. 16F88 Compile error
    By Toley00 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd November 2005, 00:22

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