谢谢DA1138。我会根据你的建议尝试一些事情,否则,也许你(和/或其他人)可以帮助我到达我需要的地方。我衷心感谢它。现在我有一个WMXP虚拟箱VM与MPLAB 8.56和HETECH V961安装。我还有一个旧的工作空间。当我打开工作区时,它提到我需要更改工具链。我把工具链变成了唯一一个可用的高科技条目,它是“高科技通用工具套件”,包含“高科技的ANSI C编译器”,位于“C:程序文件高科技软件PICC971Abin PICC.exe”。但是,当我尝试构建时,我在输出窗口中得到了一个错误:“没有有效的安装的高技术编译器驱动程序”。从这里我被卡住了。我做了谷歌错误,发现提到UAC,但这是Windows XP,我相信最早的UAC。我作为唯一的管理员用户运行(没有命名为“管理员”)。请注意,我有这些原始安装文件,并且包含一个许可证文件。即使我得到上面的工作,它可能不支持PIC18设备。我认为以上的原因可能是一个死胡同。另外,我发现在过去几个月的低水平背景下,我得到了一个文件夹“C:HiTHIGPIC18”,它包含了4/10/2002的“bin PICC18.exe”。我相信这是我需要关注的地方。但是,这似乎是一个已经安装的文件夹,我想我一定是复制了它,也许是一个长期死机遗留机器的长期死机VM。为了确认这个信念,我注意到树中的所有文件夹都是最近的日期,10/9/2017,但是所有的文件内容都是4/10/2002。这意味着内容是15年多,但我去年十月将文件夹复制到我的VM C驱动器上。不幸的是,我不记得从哪里得到这个,我不认为我有原始的安装“程序”,它会设置DLL和注册表项其他东西(那些是不好的东西丢失),或者路径或MPLAB文件的更改(比如创建工具链条目)。就要这样,我如何手动将这个工具链添加到MPLAB中注册的工具链列表中。然而,写了上面一段,我担心绕过了WindowsXP安装。几十年前,例如在Win 3.1后面,没有注册表,软件设计者把自己的DLL放在自己的文件夹中。复制安装(和窃取,不幸的)软件是容易的。但是通过WIN95或每当创建注册表时,复制安装不再有效,因为注册表没有设置,DLL或COM的或其他东西在Windows文件夹中,而不是应用软件文件夹。因此,接下来我该怎么办?我想我需要找到一个对应于这个PIC18文件夹的原始安装文件,也许是通过搜索旧的VM文件结构,ORB)再次启动Google,看看我是否可以找到一个简化的PICC-18安装教程。S!
以上来自于百度翻译
以下为原文
Thanks dan1138. I will try a few things based on your advice, and then otherwise perhaps you (and/or others) can help me get to where I need to be. I sincerely appreciate it.
Right now I have a WinXP VirtualBox VM with MPLAB 8.56 and HITECH v9.71 installed. I also have an old legacy workspace. When I open the workspace, it mentions that I need to change toolchain. I change the toolchain to the only available Hi-Tech entry found, which is "HI-TECH Universal Toolsuite", containing "HI-TECH ANSI C Compiler", located at "C:Program FilesHI-TECH SoftwarePICC9.71abinpicc.exe". When I try to build, however, I get an error in the output window: "No valid installed HI-TECH compiler drivers". From here I'm stuck. I did Google that error and found mention of UAC, but this is Windows XP which I believe predates UAC. I am running as the only user which is administrator (not named "Administrator"). NOTE that I have the original install files for these, and included is a LICENSE FILE.
Even if I get the above to work, it might NOT support PIC18 devices. I think the above may be a dead end because of this.
Alternatively, I find that over the past few months of low level background effort on this, I have come to have a folder "C:HITECHPIC18" that contains "binpicc18.exe" dated 4/10/2002. I believe that THIS is where I need to be focusing. However, it appears that this is a folder that's already the result of an install, and I think I must have copied it, perhaps from a long dead legacy VM of a long dead legacy machine. To confirm this belief, I notice that all the folders in the tree are dated recently, 10/9/2017, but all the file contents are 4/10/2002. This implies that the contents are 15+ years old, but that I copied the folder onto my VM C drive just last October. Unfortunately, I don't recall from where I got this, and I don't think I have the original install "program" that would have set up DLL's and registry entries other things (those are bad thing to be missing), or paths or changes to MPLAB files (such as creating toolchain entries).
MY NEXT QUESTION was going to be, how can I manually add this toolchain to the list of registered toolchains in MPLAB. However, having written the above paragraph, I become worried about having bypassed the Windows XP install. Decades ago, back around Win 3.1 for example, there was no registry and software designers put their DLL's in their own folder. Copying to install (and stealing, unfortunately) software was easy. But by Win95 or whenever the registry was created, copying to install no longer works, because the registry isn't set and the DLL's or COM's or other things are in a windows folder, not an application software folder.
Therefore, what should I do next? I am thinking I need to either
A) Try to find the original install files that correspond to this PIC18 folder I have, perhaps by searching through old dead VM file structures, or
B) Start Googling again to see if I can find a streamlined PICC-18 install tutorial.
Otherwise, I'm just spinning in circles!