CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Make mv not working in Windows 10

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bazooka_ent



Joined: 10 Nov 2018
Posts: 2

View user's profile Send private message

Make mv not working in Windows 10
PostPosted: Sat Nov 10, 2018 11:54 am     Reply with quote

I think this must be common issue but I'am unable to find any posts...

I'm using Windows X, with latest MPlab CCS plugin.

Make mv is not working to move files as there is a permissions issue...

How do I fix this?

Thank you for your response Smile


CLEAN SUCCESSFUL (total time: 5ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Public/Documents/test1.X'
make -f nbproject/Makefile-default.mk dist/default/production/test1.X.production.hex
make[2]: Entering directory 'C:/Users/Public/Documents/test1.X'
gnumkdir -p build/default/production/_ext/807348449
gnumkdir -p dist/default/production
"C:\Program Files (x86)\PICC\CCSCON.exe" out="build/default/production\_ext\807348449" C:/Users/Public/Documents/test1.X/newmain1.c +FM +DF +CC +Y=9 +EA +DF +LN +T +A +M +J +EA +Z +P #__16F88=1
mv: cannot move `build/default/production/_ext/807348449/newmain1.cof' to `dist/default/production/test1.X.production.cof': Permission denied
make[2]: *** [build/default/production/_ext/807348449/newmain1.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
Memory usage: ROM=0% RAM=3% - 3%
0 Errors, 0 Warnings.
Build Successful.
nbproject/Makefile-default.mk:111: recipe for target 'build/default/production/_ext/807348449/newmain1.o' failed
make[2]: Leaving directory 'C:/Users/Public/Documents/test1.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Public/Documents/test1.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Sat Nov 10, 2018 1:22 pm     Reply with quote

That's a Microchip issue. Can be caused by several things. For instance a
copy of explorer (or anything else), having a Window open pointing at
something in the dist/default/production tree.
Some anti-virus programs can also trigger it.
Also make sure the Project file locations are all set to places where you
do have permissions.
bazooka_ent



Joined: 10 Nov 2018
Posts: 2

View user's profile Send private message

PostPosted: Sun Nov 11, 2018 1:33 pm     Reply with quote

Hi thanks for the reply!!

Turns out this was a windows permission issue for MPLAB X.

MPLAB X shortcut needs to be "Run as Admisitrator" for the make files to create/move files around.

You can also set to run permanently as administrator by...
1) Right clicking the MPLAB X desktop short cut
2) Click -> Properties(bottom)
3) Click -> Advanced..
4) Click check box for "Run as administrator'


Cheers!! Smile
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Mon Nov 12, 2018 12:50 am     Reply with quote

So the permissions you (as a user) had were not set to allow full access to the locations involved.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group