Unable to Open Include File


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    Also I've found the file has to be in the same sub-directory as the program source code. Although I'm told you can specify the complete path, I've never tried that.

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,146


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    1. check the full path if it is not in the root directory.

    2. check the file name as you have written DT- and DT_. Which is true in your case?

    3. OS does not matter for this case. I still use an old PC for things newer ones cannot do, especially matters with Unicode etc. I wish I had even an 98 machine now for an unsolvable problem with old fonts.

    Ioannis

  3. #3
    Join Date
    Feb 2008
    Location
    Michigan, USA
    Posts
    231


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    There are PLENTY of cases I wish they hadn't killed XP. Almost daily, in fact. And for those that think we are all going to instantly die if we keep using it, please remember that some of us do more with computers than surf the web. Lots of uses for an older machine off line.
    bo

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    There’s as much reason to use an archaic desktop OS as there is to use an even more archaic compiler with similarly archaic 8 bit pics.

    Does your installation compile other PBP programs that don’t use any include files? You say you see an error, but didn’t say what that is,
    or if MPLAB is involved, etc.

    In any case as a last resort, you could do what include does, and include the file you are including.
    includes, and in C, .h files, exist to avoid clutter, but I’d sooner do that than reinstalling Windows over it.
    In some cases I modified the includes enough that each program needed it’s own version of DT stuff anyway.

  5. #5


    Did you find this post helpful? Yes | No

    Default Re: Unable to Open Include File

    The errors (Actually a Warnings) are:

    WARNING Unable to open INCLUDE file DT_INTS-18.BAS
    WARNING Unable to open INCLUDE file REENTERPBP-18.BAS

    Those INCLUDES are in the PBP root directory (along with all other INCLUDES that work, every time, all the time).
    The spelling and format on those two INCLUDES is correct (checked, and reloaded, several times).
    Any other PBP program I have ever used on this computer , compile, program, and work 100%

    Actually this thread should probably be closed - I am not all that concerned about THIS problem on THAT computer. It is only used for convenience, since it will open and work with Mr E's MultiCalc. I asked this question more out of curiosity than anything else.
    Thanks to all that responded.

    All my other "Lab Computers" are XP's and I will keep them that way. They are not used for Web browsing, only for program development and debugging. I'm 100% satisfied with them, and see no reason to upgrade them.

Similar Threads

  1. Open aninclude file
    By MINHLE in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th March 2011, 17:42
  2. How to open INCLUDE file
    By SKOLS1 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 26th January 2011, 17:50
  3. MCSP Open File From Explorer
    By CocaColaKid in forum General
    Replies: 0
    Last Post: - 2nd March 2009, 20:49
  4. Cannot Open File Compile Error
    By Perrin` in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th January 2009, 18:18
  5. Fatal error (unable to open)
    By NL2TTL in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th April 2005, 10:43

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