SimplWindows, error, Could not copy simpl+ output file to..

分享经验…经验分享… 发帖子请尽量加上标签

版主: a446646640

版面规则
只经验…无政治…请不要发布无关主题,若发现,删贴并封禁处理。
回复
头像
Ng
Administrator
帖子: 611
注册时间: 2014/12/27, 周六 , 4:36 pm
联系:
状态: 离线

SimplWindows, error, Could not copy simpl+ output file to..

帖子 Ng » 2019/05/06, 周一 , 7:33 pm

Get an error "could not copy simpl+ output file to , . . . . ." when compiling a Simpl program that has a module with Simpl+ within it.

I get the error message that there was an error creating a target file in a Crestron module.

Some common causes for this cross compiler error are:

1) The file that is to be written to has somehow become write protected, select it and deselect "read-only"

2) The current filename and path may be too long. Change the filename to a shorter name (suggest following the 8.3 format), although longer names with spaces are allowed, using an 8.3 format filename has always worked. Also, move the file to a shorter path name such as c:\crestron\mysimpl

3) XP's Data Execution Prevention (DEP) may be turned on
A) Right Click [My Computer] on the Desktop and select [Properties].
B) Select the [Advanced] tab and then select [Settings] under the Performance area
C) Select the [Data Execution Prevention] tab.
D) Selected should be [Turn on DEP for essential Windows programs and Services only] and select [ok]
E) Reboot the PC, may need to re-install the Simpl+ Cross-compiler

4) The cross compiler has been disturbed and must be re-installed.

5) If still does not work, go to your C:\Crestron directory and you will see a folder called [ColdFire]. Delete this folder. Then re-install the cross-compiler, this will re-create this folder.

6) Only perform this step if you are comfortable editing the registry of your computer.
Note: When making any registery edits, there is always the risk of doing possible damage to your computer, worst case, it may not restart properly and you may need to reload Windows.

Select [Start], [Run], enter the text, regedit [ok].
Browse to the HKEY_LOCAL_MACHINE folder, then [SOFTWARE] folder and then on to the [Crestron Electronics, Inc.] folder.
Delete the [Simpl+ Cross Compiler] folder.
With SimplWindows closed, re-install the Cross-Compiler.

Note: To check the cross compiler and Simpl+ version, select [File], [New SIMPL+], [Help], [About Simpl+].

7) Only perform this step if you are comfortable editing the registry of your computer.
Note: When making any registery edits, there is always the risk of doing possible damage to your computer, worst case, it may not restart properly and you may need to reload Windows.

Select [Start], [Run], enter the text, regedit [ok].

Select [Edit], [Find], enter the text, cygnus then [Find Next]. You may have multiple entries for [cygnus]. You are interested in the entries made under the main [HKEY_CURRENT_USER] folder and under the main [HKEY_USERS] folder

The search should find a folder named [Cygnus Solutions] which should contain the [Cygwin] folder which has a subfolder called [mounts v2] then under there should be a folder called [ / ] . Inside of there should be 3 entries of (Default), flags and native. The [native] should point to your Coldfire folder. For example, the default location used is: c:\Crestron\ColdFire when installing the Cross compiler.
Note: If you have other than these entries under the Cygnus Solutions folder, this is most likely what is causing the conflict and generating the error. What most likely happened was that another programs install over wrote the entry.

Delete the [Cygnus Solutions] folder found under the [HKEY_CURRENT_USERS] folder or the [HKEY_USER] folder.

With SimplWindows closed, re-install the Cross-Compiler.


原文: https://support.crestron.com/app/answer ... w/a_id/787
黑夜
就要过


但黑
夜不会消


她永远
藏在
白天心

Tags:

回复