Menu

runtime error, missing file

2007-02-10
2013-05-30
  • Sterling Youngman

    I just started getting the following message when trying to compile a file that worked before:

    Aborting due to runtime error 2 (file note found) at line 3089 of C:/Final/build/GCBASIC.BAS::READCHIPDATA()

    I'm using a PIC16F684.

    When I compile a similar program using a PIC16F648A I don't get this error. On the 648A, however, I am getting a syntax error at line 29, which leads me to believe that the error is not in my code.

    -Sterling

     
    • Sterling Youngman

      I fixed the syntax error, but the abort error 2 is still lurking

       
    • Hugh Considine

      Hugh Considine - 2007-02-10

      Is it just the one file that no longer compiles, or have several stopped working? I've tried compiling this Blink LED program for a 16F684 and had no trouble:

      #chip 16F684, 8

      dir PORTC.0 out

      do
      set PORTC.0 on
      Wait 1 sec
      Set PORTC.0 off
      Wait 1 sec
      loop

      If that program compiles fine, could you please post your program or send it to w_cholmondeley@users.sourceforge.net?

      Also, what is the line that causes a syntax error on the 16F648A?

       
    • Sterling Youngman

      It seems to be this one file. Other files using the same PIC compile.

      -Sterling

       
    • Sterling Youngman

      Sorry to waste your time, I've got it compiling. all these chips with similar numbers, and I had two reversed.

      -Sterling

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.