Jump to content
Sign in to follow this  
blowback

Pathname length limit?

Recommended Posts

Is there some sort of filename length limit in PicAnt/MPLAB? I have a project in a deeply nested folder underr my documents, and whilst it compiles fine, the assembler always barfs with a "DOS Error: file not found" error box.

 

Usefully, it doesn't mention which file :P I've tried commenting out any includes in the .asm file to no avail.

 

Then, I discovered if I moved the whole lot to a subdir of c:, it suddenly works again!

 

bb

Share this post


Link to post
Share on other sites
Guest Dave

Blowback,

 

There is indeed a limit. It is that the path length needs to be less than 63 characters.

 

The limitation is caused by MPLAB assembler and the COD file output it produces. Internally the COD file (code file) has a limitation of 63 characters for the path length to source files.

 

So sadly this limit is not easily overcome. B)

 

In the new compiler that is under development this limit will not apply. :P

 

Regards

Dave

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...