where to put include files


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    Indian Harbour Nova Scotia
    Posts
    108


    Did you find this post helpful? Yes | No

    Default Re: where to put include files

    I had tried the root of C:\PBP3 but that did not work. I will try again, making sure I have the other files as well. PB20.bas will not compile and I get an assembler error if some of the other *.INC files (such as DEV_FAM.INC) aren't in the same folder. In other words, not only the .bas file is required, but other accessory files.

    I create my own project file on another disk partition since I have so many different ones and versions of "same" programs. When I pointed to the path like this:
    Include "c:\pbp3\pb20.bas" well that didn't work either. Now I had tried a number of things a couple different ways so I'll check to see if I just had bad combinations. At least I know not to put it in the Microchip folder.

    I'm using the Microchip assembler (not MP) and to answer your question, the only file I include is PB20.bas, per examples given. The other INC files I mentioned are pulled in by this bas file.

    thanks, i'll get back to you when it works.

  2. #2
    Join Date
    Jun 2011
    Location
    Indian Harbour Nova Scotia
    Posts
    108


    Did you find this post helpful? Yes | No

    Default Re: where to put include files

    I seem to be my own worst enemy:

    I grabbed all the files from the FP.ZIP folder I got from MELabs, and plunked them down onto C:\PBP3 folder.

    Then I compiled.

    No errors. arrrggghhh!

    Thanks at least for telling me they should go in PBP3 so I didn't waste my time in Microchip

Similar Threads

  1. Post your INCLUDE files here
    By mackrackit in forum Code Examples
    Replies: 4
    Last Post: - 17th September 2011, 00:50
  2. Where are all the INCLUDE files??
    By Heckler in forum General
    Replies: 3
    Last Post: - 13th September 2011, 09:27
  3. Need to download Include files
    By laflam_p in forum Off Topic
    Replies: 2
    Last Post: - 2nd September 2009, 14:39
  4. Using ASM files as include
    By Josuetas in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th August 2007, 21:40
  5. Modified include files
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 19:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts