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 support@ccsinfo.com

Include File Directory Search order issue

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



Joined: 30 Jan 2012
Posts: 218

View user's profile Send private message

Include File Directory Search order issue
PostPosted: Thu Nov 10, 2016 3:38 am     Reply with quote

hello,

i don't know if I'm the only one who have this issue, but when I try to add include File Directory Search Order, they are not saved by default even when I check "Make these settings the default for new projects".

I'm using V5.056, on Windows 10 x64, When I go to :
option / project / Include Files
the 2 included files are :
"C:\Program Files\PICC\Exemples\"
"C:\Program Files\PICC\Drivers\"

But on Windows 10, they should be :
"C:\Program Files (x86)\PICC\Exemples\"
"C:\Program Files (x86)\PICC\Drivers\"
and one is missing :
"C:\Program Files (x86)\PICC\Devices\"

I add them manually and check "Make these settings the default for new projects". then "apply"

but when I create a new project after that, it still the wrong directory.

I tried to re-install it but nothing change.

I guess it's a register issue, but I don't know how to solve it.

someone has an idea ?

thanks for your help

regards
spilz



Joined: 30 Jan 2012
Posts: 218

View user's profile Send private message

PostPosted: Sun Nov 13, 2016 8:38 am     Reply with quote

No one else has this issue ??
I try to uninstall and install it again, still the same :(
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Nov 13, 2016 8:56 am     Reply with quote

You didn't say, but I assume you're using the CCS IDE ?
This sounds like an issue for CCS support. The IDE is not retaining the
preferred directory structure for new projects. Email them.
drolleman



Joined: 03 Feb 2011
Posts: 116

View user's profile Send private message

PostPosted: Sun Nov 13, 2016 8:58 am     Reply with quote

I've had this problem in the past. now I install in 2 locations one in default location, then install it to my d:\ccs\piccxxxx location. for older projects I never use the latest compiler, unless it will have features / fixes the older one doesn't have.

dave
Ttelmah



Joined: 11 Mar 2010
Posts: 19358

View user's profile Send private message

PostPosted: Sun Nov 13, 2016 9:18 am     Reply with quote

I think the key here is 'W10'. I think if you are running the IDE 'as standard', it blocks the write to the CCS directory that is meant to store the path. Mine works, if I setup the IDE to 'run as administrator'.
allenhuffman



Joined: 17 Jun 2019
Posts: 540
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Dec 16, 2019 9:20 am     Reply with quote

I may have just ran into something related to this using the current 5.091 CCS on a Windows 7 machine. It worked fine on my Win 10 box, but when I had to use Win 7 for a week, I ran into issues with it resolving include files. Interesting. I'll have to do some digging and see if the (x86) is different in mine.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
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