|
|
|
|
|
|
|
Cannot compile example in flex_scicos_0_30.pdf (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Cannot compile example in flex_scicos_0_30.pdf
|
|
|
|
Cannot compile example in flex_scicos_0_30.pdf 10 Months ago
|
Karma: 0  
|
|
Hi all,
I have not been able to successfully compile the example shown in flex_scicos_0_30.pdf even after re-installing both Cygwin and Erika Enterprise Basic. Below is a screen capture:
./compile.sh: line 1: reg: command not found Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME... cygpath [-c HANDLE] cygpath [-ADHPSW] Convert Unix and Windows format paths, or output system path information
Perhaps there are some other settings that need to be modified. I can successfully compile the example project for RT-Druid. Thanks.
David
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Cannot compile example in flex_scicos_0_30.pdf 10 Months ago
|
Karma: 4  
|
|
Hi David,
This is quite strange... and it's the first time I see it...
basically the line which is failing in the _script_ is the following:
export EE_INSTALLDIR=`cygpath -ms `reg query HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Evidence /v EE_InstallPath | awk '/EE_InstallPath/{ print $3 }'` | xargs cygpath`
Apart from its complexity, it basically calls the "reg" executable which is provided by every windows installation to query the Windows registry.
On my Win Vista installation, it stays into c:WindowsSystem32reg.exe, and it is reachable from both the windows "cmd" commandline and from the cygwin bash.
That is the reason why the _script_ is failing.
If for some reason you are missing the reg executable, you can still modify the first line of c:...Scilab-4.1.2contribdspiccompile.sh _script_ with
export EE_INSTALLDIR=installpath
where installpath is the dir where you installed the Evidence tools. On my machine, where I installed the ERIKA Package in c:EvidenceEvidence, it would have been:
export EE_INSTALLDIR=/cygdrive/c/Evidence/Evidence
I hope this helps...
bye
PJ
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Cannot compile example in flex_scicos_0_30.pdf 10 Months ago
|
Karma: 0  
|
|
Hello PJ,
Thanks for that. It now works. The program 'reg' is not installed in my copy of Windows 2000 by default and needs to be selected from the 'Support' directory in the Windows 2000 install CD.
David
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Cannot compile example in flex_scicos_0_30.pdf 10 Months ago
|
Karma: 4  
|
|
Good to know! I will add a note in the next version of the EE tutorials...
PJ
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|
|
|
|
 |
Evidence S.r.l. - PIVA: 01638690501
Via Carducci 64/A - Ghezzano - Pisa - Italy
|
Privacy Policy
|
 |
|
|