Ryan
(HI-TECH team member)
Sun Aug 19 2007 08:12 PM
Re: PICC/PICC18 9.50 MacOSX installation

Quote:

When I run picl (on OS X), I get this message:

(1228) An error, warning or message was generated, but no description is available
HI-TECH PICC-Lite COMPILER (Microchip PICmicro) V9.60
Copyright (C) 1984-2007 HI-TECH SOFTWARE
(141) An error, warning or message was generated, but no description is available

I've looked up the error codes and the most pertinent is
1228: unable to locate installation directory





Do you have a .htsoft.xml file in you home directory? It should contain something like:
Code:

<?xml version="1.0"?>
<htreg>
<key name="picc">
<key name="lite">
<key name="9.60">
<key name="pl0" instdir="/Applications/HI-TECH/picc/lite/9.60"/>
</key>
</key>
</key>
</htreg>



Quote:


I set the environment variable HTC_PICL to the appropriate installation directory (/Applications/HI-TECH/picc/lite/9.60) but that doesn't help. Could it be a permissions problem?





The HTC_PICL variable is no longer used. The HTC_XML variable can be used to specify an alternate htsoft.xml file, but that (and PATH) are the only variables you would need to change.
It could be a permissions problem if the XML file cannot be read, this could be the case if the compiler was installed as a different user to the one trying to run it?

I'd check your ~/.htsoft.xml file (or what file is specified by HTC_XML if set) to make sure it can be read and contains the correct contents (should have been written to on install). Let me know how you go.



Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5