--> atomsInstall("scetoexe")
example to embed a .sce in a windows .exe see demo and example directory Scilab >= 5.3 installed required
makes it available for Scilab 5.4
Upload date : 2012-10-02 09:31:57 MD5 : 910fffe5fb6bffe09501f5a24dae7b58 SHA1 : 0e7afa7b64353253fd0e8f0f014222faf168e5e3 Downloads : 4378 File list
Windows 32-bit Automatically generated by the ATOMS compilation chain
Upload date : 2012-10-02 09:32:45 MD5 : 6f60d9f97d407dccaaaf49f815baa456 SHA1 : 3a8f68e13640518af3514ad9628d929fbe2bfc19 Downloads : 1818 File list
Windows 64-bit Automatically generated by the ATOMS compilation chain
Upload date : 2012-10-02 09:32:12 MD5 : a4b7023f3749d95a4f39ed8d3df19e1a SHA1 : a9bc3f8cc60dfd17bc84d8f71e1d49acad7e48a4 Downloads : 5533 File list
Hello, I tried to run scetoexe on the example and I get this error message : --error 999 copyfile: Nieprawidłowa wartość parametru wejściowego nr 1: oczekiwano prawidłowej nazwy pliku lub katalogu. at line 15 of function copyTemplate called by : at line 54 of function scetoexe_generate called by : scetoexe_generate("C:\Program Files\scilab-5.4.0\scetoexe\demos\example.sce", "C:\temp\example"); What is wrong? Please help me? Thanks, Wojtek
I have the same problem. Do you know what is wrong yet? Thanks, Piotr
Hello, I'm trying to use the scetoexe module as suggested above but I'm facing some difficulties when running the demo files. Could someone help me with this please ? Details on how I've proceeded : - I have followed indications given in scetoexe/0.1 scetoexe/0.1.1 - I'm running on Win32 & Scilab 5.4.1, I've installed Visual Studio 2010 Express Desktop => findmsvccompiler() normally returns "msvc100express" - as explained in the second link, I have unzipped scetoexe into the directory Contrib and I have installed the module. All macros and help pages are normally detected. And then I've have been trying to exec scetoexe.dem.sce. Please find below the successive errors I encountered and please tell me where I'm wrong : - First error was : -->exec('C:\Users\gpelfrene\AppData\Roaming\Scilab\scilab-5.4.1\atoms\scetoexe\0.1.1-1\demos\scetoexe.dem.sce', -1) !--error 999 copyfile : Valeur erron?e de l'argument d'entr?e n?1 : Un nom de fichier ou un r?pertoire valide attendu. at line 15 of function copyTemplate called by : at line 54 of function scetoexe_generate called by : scetoexe_generate(scetoexe_getRootPath() + "/demos/example.sce", TMPDIR + "/example"); at line 5 of exec file called by : 4.1\atoms\scetoexe\0.1.1-1\demos\scetoexe.dem.sce', -1 - Going to the problematic function copyTemplate() in scetoexe_generate.sci, on line 22, I found that there were missing files among the filesname list called FILESTOCOPY. Actually, only 7 of them were present and not 9 as required by the size of FILESTOCOPY variable. - In order to check, I copied them manually from the downloaded directory : -> C:\Program Files\scilab-5.4.1\contrib\scetoexe\src\c - to the working directory : -> C:\Users\gpelfrene\AppData\Roaming\Scilab\scilab-5.4.1\atoms\scetoexe\0.1.1-1\src\c - then, executing scetoexe.dem.sce worked well but it seems that scetoexe_buildsln() function just built nothing since no exe file is found by the command line : dos("start "+TMPDIR + "/example/example.exe"); and it returns the following error message : Windows cannot find 'C:\Users\GPELFR~1\AppData\Local\Temp\SCI_TMP_5580_/example/example.exe'. Make sure you typed the name correctly, and then try again. - then, in the console, I tried to understand this error by executing the line in scetoexe_buildsln.sci where compilation should occur : [a,b,c]=dos("devenv " + TMPDIR + "/example/example.sln" + " /Rebuild Release|Win32") - but I get the following error : c = 255. b = F a = !'devenv' is not recognized as an internal or external command, ! ! ! !operable program or batch file. ! - then I have no idea anymore. Could anyone help me please ? Thanks very much in advance, Cheers, Gilles.