The source directory is read only!!!!!!!!!


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2012
    Posts
    4

    Default The source directory is read only!!!!!!!!!

    I am new to programming. I am using trial version of picbasic pro 3.0.6.1 for programming PIC18F2520. I have also installed MPLAB 8.86. When I want to compile my program it gives me this error:
    "Unable to compile x.pbp. The source directory is read only". I spent a week to find the reason but I could not. I was wondering if you'd mind helping me.

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


    Did you find this post helpful? Yes | No

    Default Re: The source directory is read only!!!!!!!!!

    Is PBP installed to the default location?
    Where is the file you are trying to compile at? Make sure it is in a separate directory from PBP and check the properties of that directory. Change permissions as needed.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: The source directory is read only!!!!!!!!!

    Thanks a lot for your response. PBP is installed to the default location as I did not change it during installation. The file which needs to be downloaded are in desktop. I also made some new files but it gave the error again. I should say that, the MicroCode Studio Plus is not installed as it is not free.

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default Re: The source directory is read only!!!!!!!!!

    Desktop is an area within your user profile and therefore private to you. The program may well only have read access to that location. Try putting them in a more general location such as "C:/myPicProgs" and see what happens.
    Keith

    www.diyha.co.uk
    www.kat5.tv

  5. #5
    Join Date
    Jul 2012
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: The source directory is read only!!!!!!!!!

    Many thanks for your help. finally it worked. I changed it to another directory. Thanks for you time.
    Quote Originally Posted by keithdoxey View Post
    Desktop is an area within your user profile and therefore private to you. The program may well only have read access to that location. Try putting them in a more general location such as "C:/myPicProgs" and see what happens.

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