From Enne.Hekma at cnes.fr Tue Apr 3 13:14:57 2018 From: Enne.Hekma at cnes.fr (Hekma Enne (THALES SERVICES)) Date: Tue, 3 Apr 2018 11:14:57 +0000 Subject: [Scilab-users] Problem with dependency in Java to be accessed through Scilab Message-ID: <2550F3BEA5ACA3408F757102FD75BB51074B6644@TW-MBX-P04.cnesnet.ad.cnes.fr> We have the following problem in our Scilab/Java project. The project is written in Java and the Java functions are accessed through Scilab. This works fine and as expected without the new dependency. Because of a new functionality of the code we would like to add a dependency on Spice (a program by JPL to provide ephemerides of, in our case, small bodies in the solar system). The Spice dependency works fine and as expected when used in Java directly, with Eclipse Juno, but when we try to use this functionality in Scilab it won't work. The dependency of Spice consists of a .jar file with the functions and a .dll dynamic library. In Java the .jar file is added to the pom.xml and the .dll is loaded in a static block using System.loadLibrary("JNISpice");. When we use the functionality in Scilab for the first time it gives one error; jinvoke: An error occured: Exception when calling Java method : An exception has been thrown in calling the method run: java.lang.UnsatisfiedLinkError: spice.basic.CSPICE.erract(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; And if we run the same function a second time, it gives a different error; jinvoke: An error occured: Exception when calling Java method : An exception has been thrown in calling the method run: java.lang.NoClassDefFoundError: Could not initialize class spice.basic.CSPICE This leads to us believing that at least some part of the dependency is found by Scilab, but not completely. We hope you could give us an indication of where the problem might be. Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.marmsoler at gmail.com Tue Apr 3 21:37:42 2018 From: martin.marmsoler at gmail.com (Martin Marmsoler) Date: Tue, 3 Apr 2018 21:37:42 +0200 Subject: [Scilab-users] Flatpak package Message-ID: Hello, I'm trying to create a flatpak package of scilab. I try to compile scilab, but I have a different folder where the Eigen files are stored. Because of this i get the following error: checking if Eigen is version 3.3.2 or later... configure: error: Version 3.3.2 of Eigen expected (at least) I tried to add the path with the with-eigen-include argument, but it does not work: "./scilab/configure --prefix=/app --with-eigen-include=/app/include/Eigen", is there anybody who know how I can add the path to the eigen .h files? Here you can find the flatpak manifest. When it is finish I will put it on github and create a pullrequest https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_LACHp81hDUdEIz6y4a?dl=0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Clement.David at esi-group.com Wed Apr 4 08:57:53 2018 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Wed, 4 Apr 2018 06:57:53 +0000 Subject: [Scilab-users] Flatpak package In-Reply-To: References: Message-ID: <1522825072.23602.24.camel@esi-group.com> Hello Martin, Good idea ! I also have a first template of a Flatpak manifest with strong inspiration from the Octave one [1] as dependencies are very similar. The bash script used to compile our thirdparties [2] could also be a great source of inspiration. For Eigen, the included files are prefixed like in `#include "Eigen/Eigen"`; you should probably pass `--with-eigen-include=/app/include/` to make it work. [1]: https://github.com/flathub/org.octave.Octave [2]: https://github.com/scilab/scilab-prerequirements/blob/master/build-dependencies.sh Regards, -- Cl?ment Le mardi 03 avril 2018 ? 21:37 +0200, Martin Marmsoler a ?crit : > Hello, > > I'm trying to create a flatpak package of scilab. I try to compile scilab, but I have a different > folder where the Eigen files are stored. Because of this i get the following error: > > checking if Eigen is version 3.3.2 or later... configure: error: Version 3.3.2 of Eigen expected > (at least) > > I tried to add the path with the with-eigen-include argument, but it does not work: > "./scilab/configure --prefix=/app --with-eigen-include=/app/include/Eigen", > > is there anybody who know how I can add the path to the eigen .h files? > > Here you can find the flatpak manifest. When it is finish I will put it on github and create a > pullrequest > https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_LACHp81hDUdEIz6y4a?dl=0 > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From florian.blachere at utt.fr Wed Apr 4 22:18:47 2018 From: florian.blachere at utt.fr (=?UTF-8?Q?Florian_Blach=c3=a8re?=) Date: Wed, 4 Apr 2018 22:18:47 +0200 Subject: [Scilab-users] compilation with OCaml 4.06 In-Reply-To: References: <689a5855-8580-4833-5a44-7c2a39ba6456@utt.fr> <1519210288.2211.11.camel@esi-group.com> <69424bb2-0dd6-bd8e-d003-edcbd0336022@utt.fr> <1519292507.2211.25.camel@esi-group.com> Message-ID: Hello, Any news about this error ? Thanks by advance, Florian On 26/02/18 09:01, Florian Blach?re wrote: > Hello, > > Thanks for this patch, but it seems not enough to build as there is > still some errors with Bytes/Strings: > > File "src/modelica_compiler/optimization.ml", line 168, characters 49-50: > Error: This expression has type bytes but an expression was expected > of type > ???????? string > > Florian > > On 22/02/18 10:41, Cl?ment David wrote: >> Hello Florian, >> >> Please find attached a patch that fix this issue; it comes from a OCaml 4.0.4 change which >> distinguish String and Bytes implementations and the unsafe-string flag. >> >> Quoting the documentation [1]: >>> OCaml strings used to be modifiable in place, for instance via the String.set and String.blit >>> functions described below. This usage is deprecated and only possible when the compiler is put >>> in "unsafe-string" mode by giving the -unsafe-string command-line option >> [1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/String.html >> >> Regards, >> >> -- >> Cl?ment >> >> Le jeudi 22 f?vrier 2018 ? 09:35 +0100, Florian Blach?re a ?crit : >>> Hello Cl?ment, >>> >>> Thanks for the answer, I installed num and changed the compilation line to use ocamlfind but now >>> the compilation fails with : >>> >>> ocamlfind ocamlopt -package num -I ./src/modelica_compiler -I ./src/xml2modelica -c >>> src/modelica_compiler/optimization.ml >>> File "src/modelica_compiler/optimization.ml", line 166, characters 21-22: >>> Error: This expression has type string but an expression was expected of type >>> bytes >>> >>> Is it link to the uodate to OCaml 4.06 ? >>> >>> Florian >>> >>> On 21/02/18 11:51, Cl?ment David wrote: >>>> Hello Florian, >>>> >>>> The easier would be to depend on the external Num library for the 6.0.x family as far as this >>>> library remains available; statically build against it is the way to go for OCaml code. Num >>>> might >>>> also be packaged in your system, use ocamlfind to look for it. >>>> >>>> Thanks, >>>> >>>> -- >>>> Cl?ment >>>> >>>> Le mercredi 21 f?vrier 2018 ? 08:41 +0100, Florian Blach?re a ?crit : >>>>> Hello, >>>>> >>>>> Scilab 6.0.0 and 6.0.1 (and the master branch) cannot be build using >>>>> OCaml 4.06 because this release remove the Num library >>>>> (https://ocaml.org/releases/4.06.html#Changes class="Apple-tab-span" style="white-space:pre"> >>>>> , >>>>> https://github.com/ocaml/ocaml/pull/1178), do you have any advice to >>>>> build Scilab with recent OCaml: integrate Num in Scilab, build Num >>>>> oustside of Scilab and link against it, ... ? >>>>> >>>>> Thanks by advance, >>>>> >>>>> Florian >>>>> >>>>> _______________________________________________ >>>>> users mailing list >>>>> users at lists.scilab.org >>>>> http://lists.scilab.org/mailman/listinfo/users >>>> _______________________________________________ >>>> users mailing list >>>> users at lists.scilab.org >>>> http://lists.scilab.org/mailman/listinfo/users >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.marmsoler at gmail.com Thu Apr 5 07:35:41 2018 From: martin.marmsoler at gmail.com (Martin Marmsoler) Date: Thu, 05 Apr 2018 05:35:41 +0000 Subject: [Scilab-users] Flatpak package In-Reply-To: <1522825072.23602.24.camel@esi-group.com> References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Hi Cl?ment, thank you for your help, I will try it with this. Martin Cl?ment David schrieb am Mi., 4. Apr. 2018, 08:58: > Hello Martin, > > Good idea ! I also have a first template of a Flatpak manifest with strong > inspiration from the > Octave one [1] as dependencies are very similar. The bash script used to > compile our thirdparties > [2] could also be a great source of inspiration. > > For Eigen, the included files are prefixed like in `#include > "Eigen/Eigen"`; you should probably > pass `--with-eigen-include=/app/include/` to make it work. > > [1]: https://github.com/flathub/org.octave.Octave > [2]: > https://github.com/scilab/scilab-prerequirements/blob/master/build-dependencies.sh > > Regards, > > -- > Cl?ment > > Le mardi 03 avril 2018 ? 21:37 +0200, Martin Marmsoler a ?crit : > > Hello, > > > > I'm trying to create a flatpak package of scilab. I try to compile > scilab, but I have a different > > folder where the Eigen files are stored. Because of this i get the > following error: > > > > checking if Eigen is version 3.3.2 or later... configure: error: Version > 3.3.2 of Eigen expected > > (at least) > > > > I tried to add the path with the with-eigen-include argument, but it > does not work: > > "./scilab/configure --prefix=/app > --with-eigen-include=/app/include/Eigen", > > > > is there anybody who know how I can add the path to the eigen .h files? > > > > Here you can find the flatpak manifest. When it is finish I will put it > on github and create a > > pullrequest > > > https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_LACHp81hDUdEIz6y4a?dl=0 > > > > > > _______________________________________________ > > users mailing list > > users at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heinznabielek at icloud.com Thu Apr 5 16:34:37 2018 From: heinznabielek at icloud.com (Heinz Nabielek) Date: Thu, 05 Apr 2018 16:34:37 +0200 Subject: [Scilab-users] column vector consisting of the respective minima of every row in a given 2d matrix In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Friends: a need the column vector consisting of the respective minima of every row in a given 2d matrix. So, I started off --> M=rand(3,2) 0.2113249 0.3303271 0.7560439 0.6653811 0.0002211 0.6283918 --> mean(M,2) 0.270826 0.7107125 0.3143065 THIS LOOKS PERFECT ! --> min(M,2) 0.2113249 0.3303271 0.7560439 0.6653811 0.0002211 0.6283918 THIS IS NOT WHAT I WANT !! It gives me the minimum between "2" and the numbers in my 2d matrix. How do I get the vector consisting of the respective minima of every row in M? I can do it with a FOR-LOOP, but that would be clumsy...... Heinz From stephane.mottelet at utc.fr Thu Apr 5 18:08:40 2018 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Thu, 5 Apr 2018 18:08:40 +0200 Subject: [Scilab-users] column vector consisting of the respective minima of every row in a given 2d matrix In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: min(M,?c?) > Le 5 avr. 2018 ? 16:34, Heinz Nabielek a ?crit : > > Friends: > > a need the column vector consisting of the respective minima of every row in a given 2d matrix. So, I started off > > --> M=rand(3,2) > 0.2113249 0.3303271 > 0.7560439 0.6653811 > 0.0002211 0.6283918 > > > --> mean(M,2) > 0.270826 > 0.7107125 > 0.3143065 > > THIS LOOKS PERFECT ! > > > --> min(M,2) > 0.2113249 0.3303271 > 0.7560439 0.6653811 > 0.0002211 0.6283918 > > THIS IS NOT WHAT I WANT !! It gives me the minimum between "2" and the numbers in my 2d matrix. > > How do I get the vector consisting of the respective minima of every row in M? > > I can do it with a FOR-LOOP, but that would be clumsy...... > Heinz > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From jareds at aavatech.com Thu Apr 5 17:54:14 2018 From: jareds at aavatech.com (Jared Smothermon) Date: Thu, 5 Apr 2018 10:54:14 -0500 Subject: [Scilab-users] column vector consisting of the respective minima of every row in a given 2d matrix In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: <71505320-ee9b-6c1a-aacb-befb33b193cb@aavatech.com> Heinz, M=rand(3,2) min(M,'c') The 'c' in the min(.) function specifies that you want a column vector, which therefore means each element of the vector is found from across the rows. Regards, jared On 4/5/2018 9:34 AM, Heinz Nabielek wrote: > Friends: > > a need the column vector consisting of the respective minima of every row in a given 2d matrix. So, I started off > > --> M=rand(3,2) > 0.2113249 0.3303271 > 0.7560439 0.6653811 > 0.0002211 0.6283918 > > > --> mean(M,2) > 0.270826 > 0.7107125 > 0.3143065 > > THIS LOOKS PERFECT ! > > > --> min(M,2) > 0.2113249 0.3303271 > 0.7560439 0.6653811 > 0.0002211 0.6283918 > > THIS IS NOT WHAT I WANT !! It gives me the minimum between "2" and the numbers in my 2d matrix. > > How do I get the vector consisting of the respective minima of every row in M? > > I can do it with a FOR-LOOP, but that would be clumsy...... > Heinz > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From heinznabielek at me.com Thu Apr 5 19:06:30 2018 From: heinznabielek at me.com (Heinz Nabielek) Date: Thu, 05 Apr 2018 19:06:30 +0200 Subject: [Scilab-users] column vector consisting of the respective minima of every row in a given 2d matrix In-Reply-To: <71505320-ee9b-6c1a-aacb-befb33b193cb@aavatech.com> References: <1522825072.23602.24.camel@esi-group.com> <71505320-ee9b-6c1a-aacb-befb33b193cb@aavatech.com> Message-ID: <01383395-F852-4EB2-A432-80D4486ECE5D@me.com> Coming from FORTRAN snd C, the 'c' notation is strange. But great, if it works..... Sent from Heinz Nabielek > On 05 Apr 2018, at 17:54, Jared Smothermon wrote: > > Heinz, > > M=rand(3,2) > min(M,'c') > > The 'c' in the min(.) function specifies that you want a column vector, which therefore means each element of the vector is found from across the rows. > > Regards, > > jared > > >> On 4/5/2018 9:34 AM, Heinz Nabielek wrote: >> Friends: >> >> a need the column vector consisting of the respective minima of every row in a given 2d matrix. So, I started off >> >> --> M=rand(3,2) >> 0.2113249 0.3303271 >> 0.7560439 0.6653811 >> 0.0002211 0.6283918 >> >> >> --> mean(M,2) >> 0.270826 >> 0.7107125 >> 0.3143065 >> >> THIS LOOKS PERFECT ! >> >> >> --> min(M,2) >> 0.2113249 0.3303271 >> 0.7560439 0.6653811 >> 0.0002211 0.6283918 >> >> THIS IS NOT WHAT I WANT !! It gives me the minimum between "2" and the numbers in my 2d matrix. >> >> How do I get the vector consisting of the respective minima of every row in M? >> >> I can do it with a FOR-LOOP, but that would be clumsy...... >> Heinz >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From heinznabielek at me.com Thu Apr 5 18:13:03 2018 From: heinznabielek at me.com (Heinz Nabielek) Date: Thu, 05 Apr 2018 18:13:03 +0200 Subject: [Scilab-users] column vector consisting of the respective minima of every row in a given 2d matrix In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Achhhhh Thanks Sent from Heinz Nabielek > On 05 Apr 2018, at 18:08, St?phane Mottelet wrote: > > min(M,?c?) > >> Le 5 avr. 2018 ? 16:34, Heinz Nabielek a ?crit : >> >> Friends: >> >> a need the column vector consisting of the respective minima of every row in a given 2d matrix. So, I started off >> >> --> M=rand(3,2) >> 0.2113249 0.3303271 >> 0.7560439 0.6653811 >> 0.0002211 0.6283918 >> >> >> --> mean(M,2) >> 0.270826 >> 0.7107125 >> 0.3143065 >> >> THIS LOOKS PERFECT ! >> >> >> --> min(M,2) >> 0.2113249 0.3303271 >> 0.7560439 0.6653811 >> 0.0002211 0.6283918 >> >> THIS IS NOT WHAT I WANT !! It gives me the minimum between "2" and the numbers in my 2d matrix. >> >> How do I get the vector consisting of the respective minima of every row in M? >> >> I can do it with a FOR-LOOP, but that would be clumsy...... >> Heinz >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From antoine.monmayrant at laas.fr Wed Apr 11 09:47:23 2018 From: antoine.monmayrant at laas.fr (antoine monmayrant) Date: Wed, 11 Apr 2018 09:47:23 +0200 Subject: [Scilab-users] scilab 6.0.1 in Ubuntu 18.04 repos has a broken Atoms Manager Message-ID: <7da363f8-46a1-cbf8-2347-f033f599c411@laas.fr> Hi all, I think I found a bug but I am not sure where to report it (ie Ubuntu or Scilab). The current Ubuntu 18.04 (beta) ships with scilab 6.0.1 in its repos, but atoms fail: $ scilab -version Scilab version "6.0.1.1518683525" scilab-6.0.1 Clicking on the AtomManager icon gives me the following message: "No ATOMS module is available. Please, check your Internet connection or make sure that your OS is compatible with ATOMS." Together with a cryptic error message on the command line (hdf5 related): HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139717342144384: ? #000: ../../../src/H5G.c line 553 in H5Gget_info(): invalid argument ??? major: Invalid arguments to routine ??? minor: Bad value HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139717342144384: ? #000: ../../../src/H5G.c line 301 in H5Gcreate2(): not a location ??? major: Invalid arguments to routine ??? minor: Inappropriate type ? #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID ??? major: Invalid arguments to routine ??? minor: Bad value HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139717342144384: ? #000: ../../../src/H5A.c line 265 in H5Acreate2(): not a location ??? major: Invalid arguments to routine ??? minor: Inappropriate type ? #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID ??? major: Invalid arguments to routine ??? minor: Bad value HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139717342144384: ? #000: ../../../src/H5D.c line 121 in H5Dcreate2(): not a location ID ??? major: Invalid arguments to routine ??? minor: Inappropriate type ? #001: ../../../src/H5Gloc.c line 253 in H5G_loc(): invalid object ID ??? major: Invalid arguments to routine ??? minor: Bad value HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 139717342144384: ? #000: ../../../src/H5F.c line 749 in H5Fclose(): not a file ID ??? major: Invalid arguments to routine ??? minor: Inappropriate type failed to close file On the same system, my local install of scilab6.0.1 (ie fresh from scilab.org download page) works perfectly and I can use AtomsManager without any issue. So, here comes the question: were should I report this bug? Cheers, Antoine From antoine.monmayrant at laas.fr Wed Apr 11 10:15:44 2018 From: antoine.monmayrant at laas.fr (antoine monmayrant) Date: Wed, 11 Apr 2018 10:15:44 +0200 Subject: [Scilab-users] weird bug with scicv: can you help me reproduce it & report it correctly? Message-ID: Hi all, I'm facing a weird bug with scicv atoms in scilab6.0.1. Under certain conditions, trying to access an image that has been deleted crashes scilab. Here is a script to reproduce the bug (almost straight from imread help page): ////////////////////////////// scicv_Init(); img = imread(getSampleImage("lena.jpg")); matplot(img); delete_Mat(img); img(:,:);//scilab crashes if this is typed in the console. No problem if ran from scinotes! ////////////////////////////// The weird thing is that running this script from scinotes (ie F5 on it) does not cause any issue. But running it and then typing : ??? img(:,:); in scilab console crashes scilab. Is this expected to get two different results when running from the console or from scinotes? Can anyone reproduce this bug? (I am under linux Ubuntu 18.04). Thanks in advance for your help, Cheers, Antoine From sgougeon at free.fr Wed Apr 11 11:09:09 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 11 Apr 2018 11:09:09 +0200 Subject: [Scilab-users] weird bug with scicv: can you help me reproduce it & report it correctly? In-Reply-To: References: Message-ID: Hello Antoine, I do not think that this behavior is proper to sciCV or any very specific function. It can be reproduced for many situations, provided that executing from Scinotes or from the console is done without echo (= in silent mode). Typically, echoing a bunch of commands into the console quite often crashes Scilab. Now, as already discussed in private for the impact on uman(), sciCV had an issue : The current version still distributed on ATOMS includes some read() and write() implementations that overwrites Scilab's ones and -- at least for write() -- are not compatible with the native versions. This yields some errors, but does not make uman crashing: https://atoms.scilab.org/toolboxes/scicv/0.4#comment2883 Simon told me that this bug is fixed, but the new version is not yet pushed on ATOMS. Regards Samuel Le 11/04/2018 ? 10:15, antoine monmayrant a ?crit : > Hi all, > > I'm facing a weird bug with scicv atoms in scilab6.0.1. > Under certain conditions, trying to access an image that has been > deleted crashes scilab. > Here is a script to reproduce the bug (almost straight from imread > help page): > > ////////////////////////////// > scicv_Init(); > img = imread(getSampleImage("lena.jpg")); > matplot(img); > delete_Mat(img); > img(:,:);//scilab crashes if this is typed in the console. No problem > if ran from scinotes! > ////////////////////////////// > > The weird thing is that running this script from scinotes (ie F5 on > it) does not cause any issue. > But running it and then typing : > img(:,:); > in scilab console crashes scilab. > > Is this expected to get two different results when running from the > console or from scinotes? > Can anyone reproduce this bug? > (I am under linux Ubuntu 18.04). > > Thanks in advance for your help, > > Cheers, > > > Antoine > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Wed Apr 11 11:12:00 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 11 Apr 2018 11:12:00 +0200 Subject: [Scilab-users] weird bug with scicv: can you help me reproduce it & report it correctly? In-Reply-To: References: Message-ID: Le 11/04/2018 ? 11:09, Samuel Gougeon a ?crit : > Hello Antoine, > > I do not think that this behavior is proper to sciCV or any very > specific function. > It can be reproduced for many situations, provided that executing from > Scinotes or from the console is done without echo (= in silent mode). Sorry: as written just on the next line: ... provided that executing is done WITH echo, while executing without echo then most often passes. > Typically, echoing a bunch of commands into the console quite often > crashes Scilab. From sgougeon at free.fr Sat Apr 14 13:44:21 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 14 Apr 2018 13:44:21 +0200 Subject: [Scilab-users] Comments in a multiline literal array definition Message-ID: <1e887092-7516-f142-ae27-819f73b022a5@free.fr> Hello, Before possibly posting a bug report, i would like to know if the following change from Scilab 5.5.2 to 6.0.0 is an expected restriction, or an unexpected one -- so a bug. Scilab 5.5.2 accepts the following: -->a = [ -->1 // line #1 -->2, // line #2 -->] a = 1. 2. while Scilab 6.0.0 does not: --> a = [ > 1 // line #1 > 2, // line #2 > ] 2, // line #2 ^ Error: syntax error, unexpected line comment Please note that the appended comment passes if it does not follow a comma. And that an error is generated even if the last row does not end with a comma. --> a = [ > 1, // line #1 > 2] 1, // line #1 ^ Error: syntax error, unexpected line comment Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.marmsoler at gmail.com Sat Apr 14 15:10:24 2018 From: martin.marmsoler at gmail.com (Martin Marmsoler) Date: Sat, 14 Apr 2018 15:10:24 +0200 Subject: [Scilab-users] Flatpak package In-Reply-To: <1522825072.23602.24.camel@esi-group.com> References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Hello, while I'm trying to pack scilab into a flatpak package, I get the following error: configure: error: libumfpack : Library missing. (Cannot find umfpack_di_solve). Check if libumfpack is installed and if the version is correct (also called lib suitesparse) If I'm locking for the file umfpack_di_solve, I don't find one. Do I need to download this file my self? Best regards, Martin 2018-04-04 8:57 GMT+02:00 Cl?ment David : > Hello Martin, > > Good idea ! I also have a first template of a Flatpak manifest with strong > inspiration from the > Octave one [1] as dependencies are very similar. The bash script used to > compile our thirdparties > [2] could also be a great source of inspiration. > > For Eigen, the included files are prefixed like in `#include > "Eigen/Eigen"`; you should probably > pass `--with-eigen-include=/app/include/` to make it work. > > [1]: https://github.com/flathub/org.octave.Octave > [2]: https://github.com/scilab/scilab-prerequirements/blob/ > master/build-dependencies.sh > > Regards, > > -- > Cl?ment > > Le mardi 03 avril 2018 ? 21:37 +0200, Martin Marmsoler a ?crit : > > Hello, > > > > I'm trying to create a flatpak package of scilab. I try to compile > scilab, but I have a different > > folder where the Eigen files are stored. Because of this i get the > following error: > > > > checking if Eigen is version 3.3.2 or later... configure: error: Version > 3.3.2 of Eigen expected > > (at least) > > > > I tried to add the path with the with-eigen-include argument, but it > does not work: > > "./scilab/configure --prefix=/app --with-eigen-include=/app/ > include/Eigen", > > > > is there anybody who know how I can add the path to the eigen .h files? > > > > Here you can find the flatpak manifest. When it is finish I will put it > on github and create a > > pullrequest > > https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_ > LACHp81hDUdEIz6y4a?dl=0 > > > > > > _______________________________________________ > > users mailing list > > users at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sat Apr 14 15:44:56 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 14 Apr 2018 15:44:56 +0200 Subject: [Scilab-users] [SEP] factorial() extension on [171, 10^4] Message-ID: <192586ac-7c55-8c6d-80a0-daba885f21f7@free.fr> Hello, While fixing the bug 7562 about a bad memory usage by factorial(), i was wondering about the poor factorial() result, since currently it can process only integers in [0, 170] before saturating and returning %inf. This Scilab Enhancement Proposed (SEP) aims to extend factorial() to all integers in [0, 10^4]. To do this, two new output arguments are proposed : * p : the power of 10 of the result * m : the mantissa of the result, in [1, 10[ The new syntaxes with p and m, and relative errors are presented in the prospective factorial help page http://bugzilla.scilab.org/attachment.cgi?id=4702 This SEP comes after a wish reported as bug 15517 . Comments are welcome. Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean-philippe.grivet at wanadoo.fr Mon Apr 16 12:53:36 2018 From: jean-philippe.grivet at wanadoo.fr (Jean-Philippe Grivet) Date: Mon, 16 Apr 2018 12:53:36 +0200 Subject: [Scilab-users] pixel level programming In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Hello, I would like to know whether and how it is possible to program individual pixels within a Scilab figure ? I have in mind a simple application: a disk moves inside a bounded region and changes the colour of every pixel it sweeps over.? Thanks for your hints. JP Grivet --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. https://www.avast.com/antivirus From Clement.David at esi-group.com Tue Apr 17 12:37:28 2018 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Tue, 17 Apr 2018 10:37:28 +0000 Subject: [Scilab-users] Flatpak package In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: <1523961446.25594.10.camel@esi-group.com> Hello, libumfpack (sometimes packed with suitesparse) is a Scilab dependency and is listed in the Octave flatpak package. You have to add it and pass the global appdir/lib appdir/include directories to the LDFLAGS and CXXFLAGS / CFLAGS variables. Feel free to also patch the configure.ac and m4/ files to support this directory. Thanks, -- Cl?ment Le samedi 14 avril 2018 ? 15:10 +0200, Martin Marmsoler a ?crit : > Hello, > > while I'm trying to pack scilab into a flatpak package, I get the following error: > configure: error: libumfpack : Library missing. (Cannot find umfpack_di_solve). Check if > libumfpack is installed and if the version is correct (also called lib suitesparse) > > If I'm locking for the file umfpack_di_solve, I don't find one. Do I need to download this file my > self? > > Best regards, > > Martin > > 2018-04-04 8:57 GMT+02:00 Cl?ment David : > > Hello Martin, > > > > Good idea ! I also have a first template of a Flatpak manifest with strong inspiration from the > > Octave one [1] as dependencies are very similar. The bash script used to compile our > > thirdparties > > [2] could also be a great source of inspiration. > > > > For Eigen, the included files are prefixed like in `#include "Eigen/Eigen"`; you should probably > > pass `--with-eigen-include=/app/include/` to make it work. > > > > [1]: https://github.com/flathub/org.octave.Octave > > [2]: https://github.com/scilab/scilab-prerequirements/blob/master/build-dependencies.sh > > > > Regards, > > > > -- > > Cl?ment > > > > Le mardi 03 avril 2018 ? 21:37 +0200, Martin Marmsoler a ?crit : > > > Hello, > > > > > > I'm trying to create a flatpak package of scilab. I try to compile scilab, but I have a > > different > > > folder where the Eigen files are stored. Because of this i get the following error: > > > > > > checking if Eigen is version 3.3.2 or later... configure: error: Version 3.3.2 of Eigen > > expected > > > (at least) > > > > > > I tried to add the path with the with-eigen-include argument, but it does not work: > > > "./scilab/configure --prefix=/app --with-eigen-include=/app/include/Eigen", > > > > > > is there anybody who know how I can add the path to the eigen .h files? > > > > > > Here you can find the flatpak manifest. When it is finish I will put it on github and create a > > > pullrequest > > > https://www.dropbox.com/sh/ezxzm748xs4a4jj/AAATpX_LACHp81hDUdEIz6y4a?dl=0 > > > > > > > > > _______________________________________________ > > > users mailing list > > > users at lists.scilab.org > > > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > > users mailing list > > users at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From p.muehlmann at gmail.com Tue Apr 17 17:52:56 2018 From: p.muehlmann at gmail.com (P M) Date: Tue, 17 Apr 2018 17:52:56 +0200 Subject: [Scilab-users] pixel level programming In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: Hi Grivet, weather...yes it is how.......if you know: - the pixel coordinate of the pixel you want to manipulate and - how to work with colormap ... you should be able to manipulate a single pixel For a start I suggest you understand how Matplot() works. This is used in IPD to draw the image, when the ShowImage() command is used. simple Example: img = ones(100,100) * 256; // white image with sioze of 100 x 100 px ShowImage(img, "white image"); img(50,50) = 0; // set a single pixel to zero (= black) ShowImage(img, "white image with one single black pixel"); Hth, Philipp 2018-04-16 12:53 GMT+02:00 Jean-Philippe Grivet < jean-philippe.grivet at wanadoo.fr>: > Hello, > > I would like to know whether and how it is possible to program individual > pixels within a Scilab figure ? I have in mind a simple application: a disk > moves inside a bounded region and changes the colour of every pixel it > sweeps over. Thanks for your hints. > > JP Grivet > > > > --- > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le > logiciel antivirus Avast. > https://www.avast.com/antivirus > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -- In Kanada is' ka' na' da. Sonst w?r' Kanada Jemanda. There we have the salad. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Apr 17 18:49:54 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 17 Apr 2018 18:49:54 +0200 Subject: [Scilab-users] [SEP] [boolean integer_class] concatenations Message-ID: Hello, Surprisingly, as reported in http://bugzilla.scilab.org/15534, after 30 years, Scilab still does not know how to concatenate booleans with encoded integers. For instance : --> [%f int8(-3)] Undefined operation for the given operands. check or define function %b_c_i for overloading. It is surprising, because * For some languages like Octave, booleans are actually some numbers restricted to 0|1, and such simple concatenations are available. * Implementing it in Scilab is trivial and does not really set any question, since both 0 and 1 are present in all Scilab integer classes. An implementation is proposed for Scilab 6.1 (see the bugzilla report). Comments are welcome. Samuel PS : Please do not comment here about the concatenation of distinct integer classes together (like [int8(-3) uint16(10)]), or with decimal numbers. A dedicated report and thread will be opened for them. A survey of how other similar languages process such concatenations is in progress. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean-philippe.grivet at wanadoo.fr Wed Apr 18 16:09:27 2018 From: jean-philippe.grivet at wanadoo.fr (Jean-Philippe Grivet) Date: Wed, 18 Apr 2018 16:09:27 +0200 Subject: [Scilab-users] pixel level programming In-Reply-To: References: <1522825072.23602.24.camel@esi-group.com> Message-ID: <54b1d87b-09ce-2e93-007d-d7e82be15854@wanadoo.fr> Thank you ?M: I'll try that. JP Grivet Le 17/04/2018 ? 17:52, P M a ?crit?: > Hi Grivet, > > weather...yes it is > > how.......if you know: > > - the pixel coordinate of the pixel you want to manipulate and > - how to work with colormap ... > > you should be able to manipulate a single pixel > > For a start I suggest you understand how Matplot() works. > This is used in IPD to draw the image, when the ShowImage() command is > used. > > simple Example: > > img = ones(100,100) * 256;??????? // white image with sioze of 100 x > 100 px > ShowImage(img, "white image"); > img(50,50) = 0;???????????????????????? // set a single pixel to zero > (= black) > ShowImage(img, "white image with one single black pixel"); > > Hth, > Philipp > > > > > 2018-04-16 12:53 GMT+02:00 Jean-Philippe Grivet > >: > > Hello, > > I would like to know whether and how it is possible to program > individual pixels within a Scilab figure ? I have in mind a simple > application: a disk moves inside a bounded region and changes the > colour of every pixel it sweeps over.? Thanks for your hints. > > JP Grivet > > > > --- > L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e > par le logiciel antivirus Avast. > https://www.avast.com/antivirus > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > > > > -- > In Kanada is' ka' na' da. Sonst w?r' Kanada Jemanda. > > There?we have the salad. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users --- L'absence de virus dans ce courrier ?lectronique a ?t? v?rifi?e par le logiciel antivirus Avast. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernanvieira at gmail.com Thu Apr 19 02:14:25 2018 From: fernanvieira at gmail.com (Fernando Fernandes Vieira) Date: Wed, 18 Apr 2018 21:14:25 -0300 Subject: [Scilab-users] HELP TOOLBOX RNA Message-ID: Dear colleagues I am having problem with the RNA toolbox, when I use the logsig activation function, I get the following messages. I need help Thanks in advance. ================================ at line 17 of function %s_pow ( C:\Program Files\scilab-6.0.1\modules\ast\macros\%s_pow.sci line 29 ) at line 3 of function %s_p_s ( C:\Program Files\scilab-6.0.1\modules\ast\macros\%s_p_s.sci line 15 ) in builtin ann_logsig_activ ( C:\Users\FERNANDO\AppData\Roaming\Scilab\scilab-6.0.1\atoms\x64\neuralnetwork\2.0\macros\computation\ann_logsig_activ.sci line 0 ) at line 1 of executed string at line 49 of function evstr ( C:\Program Files\scilab-6.0.1\modules\string\macros\evstr.sci line 64 ) at line 104 of function ann_FFBP_lm ( C:\Users\FERNANDO\AppData\Roaming\Scilab\scilab-6.0.1\atoms\x64\neuralnetwork\2.0\macros\network\ann_FFBP_lm.sci line 104 ) at line 28 of executed file E:\CODIGO\REDELMCASO1.sce %s_pow: Tamanho incorreto para o argumento de entrada #2: esperava-se uma matriz quadrada. =============================================================== Att.. _______________________________________________________ * FERNANDO FERNANDES VIEIRA* Departamento de Engenharia Sanit?ria e Ambiental - DESA Centro de Ci?ncias e Tecnologia - CCT Universidade Estadual da Para?ba - UEPB Tel: (83) 3315-3333 (DESA) - (83) 98852-1461 (Pessoal) e-mail: fernando at uepb.edu.br (fernanvieira at gmail.com) Campina Grande - PB - Brasil _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From iwoj at il.pw.edu.pl Thu Apr 19 13:28:03 2018 From: iwoj at il.pw.edu.pl (=?UTF-8?Q?Izabela_W=C3=B3jcik-Grz=C4=85ba?=) Date: Thu, 19 Apr 2018 13:28:03 +0200 Subject: [Scilab-users] Callback in checkbox for multiple figures Message-ID: <4ae3c9c91178984d01425e27ff829055@il.pw.edu.pl> Hello, In my programme in Scilab I create a figure with one plot and a checkbox which turns on/off the visibility of some parts of the plot. The callback function of checkbox works fine when there is only one figure, but when there are, for example, two figures the callback works on the current figure not the one I want to change (because I use gca). Here is the part with definition of the checkbox and callback function: box_num_w=uicontrol(przel,"style","checkbox","backgroundcolor",.. [1 1 1],"value",1,"string","Numery w?z??w","callback","niewidoczne_num_w"); function niewidoczne_num_w() a=gca; if get(gcbo,"value")==0 then value=get(gcbo,"value") a.children(7).visible="off"; else a.children(7).visible="on"; end endfunction I was trying to change the definition of a by using gcbo but none of my versions works. I would appreciate any help. Kind regards, Iza From stephane.mottelet at utc.fr Thu Apr 19 14:35:12 2018 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 19 Apr 2018 14:35:12 +0200 Subject: [Scilab-users] Callback in checkbox for multiple figures In-Reply-To: <4ae3c9c91178984d01425e27ff829055@il.pw.edu.pl> References: <4ae3c9c91178984d01425e27ff829055@il.pw.edu.pl> Message-ID: <0e409b44-e7f6-5b9d-00ad-220304fe087b@utc.fr> Hello Iza, If your uicontrol and your Axes are children of the same Figure, you can recover the Axes relatively, like in this small example: function cbfun() h=gcbo(); ax=h.parent.children(2); ax.children(1).visible=h.value; endfunction scf(0) clf uicontrol("style","checkbox","backgroundcolor",.. [1 1 1],"value",1,"callback","cbfun"); t=linspace(0,2*%pi,100); plot(t,sin(t)) plot(t,cos(t)) scf(1) clf uicontrol("style","checkbox","backgroundcolor",.. [1 1 1],"value",1,"callback","cbfun"); t=linspace(0,2*%pi,100); plot(t,sin(t)) plot(t,cos(t)) S. Le 19/04/2018 ? 13:28, Izabela W?jcik-Grz?ba a ?crit?: > Hello, > > In my programme in Scilab I create a figure with one plot and a > checkbox which turns on/off the visibility of some parts of the plot. > The callback function of checkbox works fine when there is only one > figure, but when there are, for example, two figures the callback > works on the current figure not the one I want to change (because I > use gca). Here is the part with definition of the checkbox and > callback function: > > box_num_w=uicontrol(przel,"style","checkbox","backgroundcolor",.. > [1 1 1],"value",1,"string","Numery > w?z??w","callback","niewidoczne_num_w"); > > function niewidoczne_num_w() > ???? a=gca; > ???? if get(gcbo,"value")==0 then > ???????? value=get(gcbo,"value") > ???????? a.children(7).visible="off"; > ???? else > ???????? a.children(7).visible="on"; > ???? end > endfunction > > > I was trying to change the definition of a by using gcbo but none of > my versions works. > I would appreciate any help. > > Kind regards, > Iza > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users > -- St?phane Mottelet Ing?nieur de recherche EA 4297 Transformations Int?gr?es de la Mati?re Renouvelable D?partement G?nie des Proc?d?s Industriels Sorbonne Universit?s - Universit? de Technologie de Compi?gne CS 60319, 60203 Compi?gne cedex Tel : +33(0)344234688 http://www.utc.fr/~mottelet -------------- next part -------------- An HTML attachment was scrubbed... URL: From iwoj at il.pw.edu.pl Thu Apr 19 16:16:42 2018 From: iwoj at il.pw.edu.pl (=?UTF-8?Q?Izabela_W=C3=B3jcik-Grz=C4=85ba?=) Date: Thu, 19 Apr 2018 16:16:42 +0200 Subject: [Scilab-users] Callback in checkbox for multiple figures In-Reply-To: <0e409b44-e7f6-5b9d-00ad-220304fe087b@utc.fr> References: <4ae3c9c91178984d01425e27ff829055@il.pw.edu.pl> <0e409b44-e7f6-5b9d-00ad-220304fe087b@utc.fr> Message-ID: <3f6cf816f26aa914bb66ea2b5aeeadd6@il.pw.edu.pl> Thank you for your reply. I am not sure why, but your solution doesn't work in my example. Maybe it's because the plot and the checkbox are in different frames? Here is my example code (which is a part of my whole programme): // Definition of figure f=figure("dockable","off","infobar_visible","off","toolbar_visible","off",.. "toolbar","none","menubar_visible","on","default_axes",.. "off","layout","border","figure_size",[900,750],"background",-2); // Definition of left frame with the controler of visibility r_lewa=uicontrol(f,"style","frame","constraints",createConstraints("border",.. "left",[200,0]),"border",createBorder("titled",.. createBorder("line","lightGray",1),("Kontrola rysunku"),.. "center","top"),"backgroundcolor",[1 1 1],"layout_options",.. createLayoutOptions("grid",[2,1]),"layout","grid"); // Definition of right frame with plot r_prawa=uicontrol(f,"style","frame","constraints",createConstraints("border",.. "center"),"backgroundcolor",[1 1 1]); newaxes(r_prawa); drawlater; // Drawing a plot x_fix=[1 2 3];y_fix=[2 3 1];z_fix=[1 2 1]; param3d1(x_fix,y_fix,z_fix); h1=gce(); h1.line_mode="off"; h1.mark_mode="on"; h1.mark_style=9; h1.mark_foreground=5; h1.mark_background=5; // Numbering of points xstring(x_fix,y_fix,string([1:3])); num_w=gca().children(1).children; for i=1:3 num_w(4-i).data(3)=z_fix(i); num_w(i).font_size=3; end // Settings of the plot a=gca(); a.data_bounds=[min(x_fix)-1,min(y_fix)-1,min(z_fix)-1;max(x_fix)+1,max(y_fix)+1,max(z_fix)+1]; a.box="back_half"; a.isoview="on"; a.hidden_axis_color=12; a.rotation_angles=[-110,245]; title("Siatka ciegnowa w rownowadze","fontsize",4); // Creating a frame inside the left frame for the controller of visibility przel=uicontrol(r_lewa,"style","frame","constraints",.. createConstraints("gridbag",[1 1 1 1],[0,0],"both","upper"),"border",.. createBorder("titled",createBorder("line","lightGray",1),.. ("Widocznosc"),"center","top"),"backgroundcolor",[1 1 1],.. "layout_options",createLayoutOptions("grid",[1,1]),"layout","grid"); // Definition of checkbox which turns on/off the visibility of point numbers box_num_w=uicontrol(przel,"style","checkbox","backgroundcolor",.. [1 1 1],"value",1,"string","Numery wezlow","callback","cbfun"); // Callback function definition function cbfun() h=gcbo(); ax=h.parent.children(1).children(1); ax.children(1).visible=h.value; endfunction W dniu 19.04.2018 14:35, St?phane Mottelet napisa?(a): > Hello Iza, > > If your uicontrol and your Axes are children of the same Figure, you > can recover the Axes relatively, like in this small example: > > function cbfun() > h=gcbo(); > ax=h.parent.children(2); > ax.children(1).visible=h.value; > endfunction > > scf(0) > clf > uicontrol("style","checkbox","backgroundcolor",.. > [1 1 1],"value",1,"callback","cbfun"); > t=linspace(0,2*%pi,100); > plot(t,sin(t)) > plot(t,cos(t)) > > scf(1) > clf > uicontrol("style","checkbox","backgroundcolor",.. > [1 1 1],"value",1,"callback","cbfun"); > t=linspace(0,2*%pi,100); > plot(t,sin(t)) > plot(t,cos(t)) > S. > > Le 19/04/2018 ? 13:28, Izabela W?jcik-Grz?ba a ?crit : > >> Hello, >> >> In my programme in Scilab I create a figure with one plot and a >> checkbox which turns on/off the visibility of some parts of the >> plot. The callback function of checkbox works fine when there is >> only one figure, but when there are, for example, two figures the >> callback works on the current figure not the one I want to change >> (because I use gca). Here is the part with definition of the >> checkbox and callback function: >> >> box_num_w=uicontrol(przel,"style","checkbox","backgroundcolor",.. >> [1 1 1],"value",1,"string","Numery >> w?z??w","callback","niewidoczne_num_w"); >> >> function niewidoczne_num_w() >> a=gca; >> if get(gcbo,"value")==0 then >> value=get(gcbo,"value") >> a.children(7).visible="off"; >> else >> a.children(7).visible="on"; >> end >> endfunction >> >> I was trying to change the definition of a by using gcbo but none of >> my versions works. >> I would appreciate any help. >> >> Kind regards, >> Iza >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> > https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users > > -- > St?phane Mottelet > Ing?nieur de recherche > EA 4297 Transformations Int?gr?es de la Mati?re Renouvelable > D?partement G?nie des Proc?d?s Industriels > Sorbonne Universit?s - Universit? de Technologie de Compi?gne > CS 60319, 60203 Compi?gne cedex > Tel : +33(0)344234688 > http://www.utc.fr/~mottelet > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From iwoj at il.pw.edu.pl Thu Apr 19 16:31:09 2018 From: iwoj at il.pw.edu.pl (=?UTF-8?Q?Izabela_W=C3=B3jcik-Grz=C4=85ba?=) Date: Thu, 19 Apr 2018 16:31:09 +0200 Subject: [Scilab-users] Callback in checkbox for multiple figures In-Reply-To: <0e409b44-e7f6-5b9d-00ad-220304fe087b@utc.fr> References: <4ae3c9c91178984d01425e27ff829055@il.pw.edu.pl> <0e409b44-e7f6-5b9d-00ad-220304fe087b@utc.fr> Message-ID: Ok, I think I got it. In my example gcbo() is a handle of checkbox which is in a frame which is in another frame, so I should recall different level in a function cbfun(). Thanks a lot for your help. Iza W dniu 19.04.2018 14:35, St?phane Mottelet napisa?(a): > Hello Iza, > > If your uicontrol and your Axes are children of the same Figure, you > can recover the Axes relatively, like in this small example: > > function cbfun() > h=gcbo(); > ax=h.parent.children(2); > ax.children(1).visible=h.value; > endfunction > > scf(0) > clf > uicontrol("style","checkbox","backgroundcolor",.. > [1 1 1],"value",1,"callback","cbfun"); > t=linspace(0,2*%pi,100); > plot(t,sin(t)) > plot(t,cos(t)) > > scf(1) > clf > uicontrol("style","checkbox","backgroundcolor",.. > [1 1 1],"value",1,"callback","cbfun"); > t=linspace(0,2*%pi,100); > plot(t,sin(t)) > plot(t,cos(t)) > S. > > Le 19/04/2018 ? 13:28, Izabela W?jcik-Grz?ba a ?crit : > >> Hello, >> >> In my programme in Scilab I create a figure with one plot and a >> checkbox which turns on/off the visibility of some parts of the >> plot. The callback function of checkbox works fine when there is >> only one figure, but when there are, for example, two figures the >> callback works on the current figure not the one I want to change >> (because I use gca). Here is the part with definition of the >> checkbox and callback function: >> >> box_num_w=uicontrol(przel,"style","checkbox","backgroundcolor",.. >> [1 1 1],"value",1,"string","Numery >> w?z??w","callback","niewidoczne_num_w"); >> >> function niewidoczne_num_w() >> a=gca; >> if get(gcbo,"value")==0 then >> value=get(gcbo,"value") >> a.children(7).visible="off"; >> else >> a.children(7).visible="on"; >> end >> endfunction >> >> I was trying to change the definition of a by using gcbo but none of >> my versions works. >> I would appreciate any help. >> >> Kind regards, >> Iza >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> > https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users > > -- > St?phane Mottelet > Ing?nieur de recherche > EA 4297 Transformations Int?gr?es de la Mati?re Renouvelable > D?partement G?nie des Proc?d?s Industriels > Sorbonne Universit?s - Universit? de Technologie de Compi?gne > CS 60319, 60203 Compi?gne cedex > Tel : +33(0)344234688 > http://www.utc.fr/~mottelet > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Sun Apr 22 16:06:13 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 22 Apr 2018 16:06:13 +0200 Subject: [Scilab-users] [SEP] [boolean integer_class] concatenations In-Reply-To: References: Message-ID: Le 17/04/2018 ? 18:49, Samuel Gougeon a ?crit : > > Hello, > > Surprisingly, as reported in http://bugzilla.scilab.org/15534, after > 30 years, Scilab still does not know how to concatenate booleans with > encoded integers. > For instance : > > --> [%f int8(-3)] > > Undefined operation for the given operands. > check or define function %b_c_i for overloading. > It is surprising, because > > * For some languages like Octave, booleans are actually some numbers > restricted to 0|1, and such simple concatenations are available. > * Implementing it in Scilab is trivial and does not really set any > question, since both 0 and 1 are present in all Scilab integer > classes. > > An implementation is proposed for Scilab 6.1 (see the bugzilla report). > > Comments are welcome. > No comments? The only reason i have found to understand why this is still not implemented would be to let the user define its own overloads. But which alternative to casting %f=>0 %t=>1 could we have? The first and may be only one we could imagine would be to cast integers into booleans, as in [%t int8([0 -5])] => [%t %f %t] Why not choosing this, instead of [%t int8([0 -5])] => int8([1 0 -5])? It's a poorer result, that can be obtained in a straightforward way as [%t int8([0 -5])] => int8([1 0 -5])~=0 Regards SG -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sun Apr 22 17:19:33 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 22 Apr 2018 17:19:33 +0200 Subject: [Scilab-users] dos() bug: code or documentation issue? Message-ID: <3f455796-4b55-95cc-93af-88138307bdd0@free.fr> Hello, In the dos() help page https://help.scilab.org/docs/6.0.1/en_US/dos.html , it is written: /Standard output and standard errors of the shell command are written in the calling shell./ However, for instance the commands --> consolebox on --> dos dir // shows nothing in the consolebox --> dos dira // shows no error in the consolebox The same behavior can be seen as soon as with Scilab 5.0 (where consolebox has been introduced).. and up to 5.5.2 and 6.0.1 now. Is it a dos() bug, or a documentation error? Regards Samuel Gougeon PS: by the way, dos(), unix*() and host() are duplicates. More code, more bugs.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Apr 23 09:55:09 2018 From: Christophe.Dang at sidel.com (Dang Ngoc Chan, Christophe) Date: Mon, 23 Apr 2018 07:55:09 +0000 Subject: [Scilab-users] {EXT} Re: [SEP] [boolean integer_class] concatenations In-Reply-To: References: Message-ID: Hello Samuel, > De la part de Samuel Gougeon > Envoy? : dimanche 22 avril 2018 16:06 > > http://bugzilla.scilab.org/15534 [...] > --> [%f int8(-3)] > [...] > > No comments? Unfortunately, I don't have any use of this kind of mix between booleans and integers so my opinion would not help very much. Are there some known applications where this is useful? I can imagine that integers between 0 and 1 can be used for fuzzy logic but I don't figure otherwise how the mix between different type of data, except for a list, can be interesting. Regards -- Christophe Dang Ngoc Chan cdang at wanadoo.fr This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Clement.David at esi-group.com Mon Apr 23 10:38:46 2018 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Mon, 23 Apr 2018 08:38:46 +0000 Subject: [Scilab-users] [SEP] [boolean integer_class] concatenations In-Reply-To: References: Message-ID: <1524472726.2277.29.camel@esi-group.com> Hello Samuel, Le dimanche 22 avril 2018 ? 16:06 +0200, Samuel Gougeon a ?crit : > Le 17/04/2018 ? 18:49, Samuel Gougeon a ?crit : > > Hello, > > Surprisingly, as reported in http://bugzilla.scilab.org/15534, after 30 years, Scilab still does > > not know how to concatenate booleans with encoded integers. > > For instance : > > --> [%f int8(-3)] > > > > Undefined operation for the given operands. > > check or define function %b_c_i for overloading. > > It is surprising, because > > For some languages like Octave, booleans are actually some numbers restricted to 0|1, and such > > simple concatenations are available. > > Implementing it in Scilab is trivial and does not really set any question, since both 0 and 1 > > are present in all Scilab integer classes. > > An implementation is proposed for Scilab 6.1 (see the bugzilla report). > > Comments are welcome. > > No comments? > > The only reason i have found to understand why this is still not implemented would be to let the > user define its own overloads. But which alternative to casting %f=>0 %t=>1 could we have? > The first and may be only one we could imagine would be to cast integers into booleans, as in > [%t int8([0 -5])] => [%t %f %t] > > Why not choosing this, instead of [%t int8([0 -5])] => int8([1 0 -5])? > It's a poorer result, that can be obtained in a straightforward way as > [%t int8([0 -5])] => int8([1 0 -5])~=0 To me the whole remark is in the (still open) type conversion topic : promotion or coercion to another type. Currently in Scilab most of the operations consume doubles and output doubles ; as most of our users are not computer scientists I prefer to have promotion to double whenever possible as it is currently rather than complex type coercion rules per operations (see the current implementation in modules/ast/src/cpp/operations). For exemple, using your proposal I am not sure about user expectation on: [%f int8(-3)] [int8(0) %t] [%f 1.] // promotion to double ! Thanks, -- Cl?ment From Clement.David at esi-group.com Mon Apr 23 10:49:02 2018 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Mon, 23 Apr 2018 08:49:02 +0000 Subject: [Scilab-users] Comments in a multiline literal array definition In-Reply-To: <1e887092-7516-f142-ae27-819f73b022a5@free.fr> References: <1e887092-7516-f142-ae27-819f73b022a5@free.fr> Message-ID: <1524473341.2277.30.camel@esi-group.com> Hello Samuel, This seems to be a regression on the parser, could you post a bug please ? -- Cl?ment Le samedi 14 avril 2018 ? 13:44 +0200, Samuel Gougeon a ?crit : > Hello, > Before possibly posting a bug report, i would like to know if the following change from Scilab > 5.5.2 to 6.0.0 is an expected restriction, or an unexpected one -- so a bug. > Scilab 5.5.2 accepts the following: > -->a = [ > -->1 // line #1 > -->2, // line #2 > -->] > a = > 1. > 2. > while Scilab 6.0.0 does not: > --> a = [ > > 1 // line #1 > > 2, // line #2 > > ] > 2, // line #2 > ^ > Error: syntax error, unexpected line comment > Please note that the appended comment passes if it does not follow a comma. > And that an error is generated even if the last row does not end with a comma. > --> a = [ > > 1, // line #1 > > 2] > 1, // line #1 > ^ > Error: syntax error, unexpected line comment > > Regards > Samuel > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Mon Apr 23 17:33:01 2018 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 23 Apr 2018 17:33:01 +0200 Subject: [Scilab-users] Comments in a multiline literal array definition In-Reply-To: <1524473341.2277.30.camel@esi-group.com> References: <1e887092-7516-f142-ae27-819f73b022a5@free.fr> <1524473341.2277.30.camel@esi-group.com> Message-ID: <86d94e88-8c0f-0ed3-7722-fa250b49b2d3@free.fr> Le 23/04/2018 ? 10:49, Cl?ment David a ?crit : > Hello Samuel, > > This seems to be a regression on the parser, could you post a bug please ? Done @ http://bugzilla.scilab.org/15552 From fs.andre at gmail.com Fri Apr 27 02:41:26 2018 From: fs.andre at gmail.com (=?UTF-8?B?QW5kcsOpIEZT?=) Date: Fri, 27 Apr 2018 00:41:26 +0000 Subject: [Scilab-users] F-16 aircraft model Message-ID: Hello, I recently translated the F-16 model (originally in Fortran) from Steven And Lewis book (Aircraft Control and Simulation). The code is available at GitHub [1]. I apologize for possible newbie mistakens that there might be there. I am not that expert in Scilab yet. I used this model to illustrate the (probably) most famous Non-Minimum-Phase Zero example of the Aeronautical Engineering, which is described here [2]. Maybe this model can be useful for others in the community. [1] https://github.com/fsandre/mcflight [2] http://e-feather.blogspot.com.br/2018/04/aircraft-diving-before-climbing-or-nmp.html Best regards, Andr? Ferreira da Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: From delaleau at enib.fr Sun Apr 29 18:37:36 2018 From: delaleau at enib.fr (Emmanuel Delaleau) Date: Sun, 29 Apr 2018 18:37:36 +0200 Subject: [Scilab-users] Scliab 6.0.x compilation problem (jogl2) Message-ID: <6b2a8014-6244-9c3f-3c74-1b25d79cbc64@enib.fr> I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian 9) and I obtain a message that I cannot solve: The message is: checking jogl2... no configure: error: Could not find or use the Java package/jar jogl2 used by Scilab 3D rendering - Version 2.0 (looking for package javax.media.opengl.glu.GLUnurbs) However I have packages related to jogl installed : sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni libjogl2-toolkits Lecture des listes de paquets... Fait Construction de l'arbre des d?pendances Lecture des informations d'?tat... Fait libjogl2-java is already the newest version (2.3.2+dfsg-5). libjogl2-java-doc is already the newest version (2.3.2+dfsg-5). libjogl2-jni is already the newest version (2.3.2+dfsg-5). libjogl2-toolkits is already the newest version (2.3.2+dfsg-5). What could I do ? Thank Emmanuel From nomiya at galaxy.dti.ne.jp Mon Apr 30 04:38:22 2018 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Mon, 30 Apr 2018 11:38:22 +0900 Subject: [Scilab-users] Scliab 6.0.x compilation problem (jogl2) In-Reply-To: <6b2a8014-6244-9c3f-3c74-1b25d79cbc64@enib.fr> References: <6b2a8014-6244-9c3f-3c74-1b25d79cbc64@enib.fr> Message-ID: <8736zd8llt.wl-nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : [Scilab-users] Scliab 6.0.x compilation problem (jogl2) Message-ID : <6b2a8014-6244-9c3f-3c74-1b25d79cbc64 at enib.fr> Date & Time: Sun, 29 Apr 2018 18:37:36 +0200 [ED] == Emmanuel Delaleau has written: ED> I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian 9) and I ED> obtain a message that I cannot solve: ED> The message is: ED> checking jogl2... no ED> configure: error: Could not find or use the Java package/jar jogl2 used by ED> Scilab 3D rendering - Version 2.0 (looking for package ED> javax.media.opengl.glu.GLUnurbs) ED> However I have packages related to jogl installed : ED> sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni libjogl2-toolkits ED> Lecture des listes de paquets... Fait ED> Construction de l'arbre des d?pendances ED> Lecture des informations d'?tat... Fait ED> libjogl2-java is already the newest version (2.3.2+dfsg-5). ED> libjogl2-java-doc is already the newest version (2.3.2+dfsg-5). ED> libjogl2-jni is already the newest version (2.3.2+dfsg-5). ED> libjogl2-toolkits is already the newest version (2.3.2+dfsg-5). ED> What could I do ? Thank Could you show the result, like this; $ rpm -ql jogl2-2.3.1-5.25 /usr/lib64/java/jogl2.jar /usr/lib64/jogl2 /usr/lib64/jogl2/jogl2.jar /usr/lib64/jogl2/libjogl_cg.so /usr/lib64/jogl2/libjogl_desktop.so /usr/lib64/jogl2/libjogl_mobile.so /usr/lib64/jogl2/libnativewindow_awt.so /usr/lib64/jogl2/libnativewindow_x11.so /usr/lib64/jogl2/libnewt.so /usr/share/doc/packages/jogl2 /usr/share/doc/packages/jogl2/CHANGELOG.txt /usr/share/doc/packages/jogl2/LICENSE.txt /usr/share/doc/packages/jogl2/README.txt and $ rpm -ql gluegen2-2.3.1-9.24 /usr/lib64/java/gluegen2-rt-natives.jar /usr/lib64/libgluegen2-rt.so /usr/share/doc/packages/gluegen2 /usr/share/doc/packages/gluegen2/LICENSE.txt /usr/share/java/gluegen2-rt.jar Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From delaleau at enib.fr Mon Apr 30 10:16:55 2018 From: delaleau at enib.fr (Emmanuel Delaleau) Date: Mon, 30 Apr 2018 10:16:55 +0200 Subject: [Scilab-users] Scliab 6.0.x compilation problem (jogl2) In-Reply-To: <8736zd8llt.wl-nomiya@galaxy.dti.ne.jp> References: <6b2a8014-6244-9c3f-3c74-1b25d79cbc64@enib.fr> <8736zd8llt.wl-nomiya@galaxy.dti.ne.jp> Message-ID: Dear Masaru Nomiya, thank you for your response. See result below (I am under Debian and I use dpkg instead of rpm) : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - delaleau at ed-lapt:~$ dpkg -L libjogl2-java /. /usr /usr/share /usr/share/doc /usr/share/doc/libjogl2-java /usr/share/doc/libjogl2-java/README.Debian /usr/share/doc/libjogl2-java/changelog.Debian.gz /usr/share/doc/libjogl2-java/changelog.gz /usr/share/doc/libjogl2-java/copyright /usr/share/java /usr/share/java/jogl2-2.3.2.jar /usr/share/maven-repo /usr/share/maven-repo/org /usr/share/maven-repo/org/jogamp /usr/share/maven-repo/org/jogamp/jogl /usr/share/maven-repo/org/jogamp/jogl/jogl-all /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2 /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.pom /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.pom /usr/share/java/jogl2.jar /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - delaleau at ed-lapt:~$ dpkg -L libgluegen2-rt-java /. /usr /usr/share /usr/share/doc /usr/share/doc/libgluegen2-rt-java /usr/share/doc/libgluegen2-rt-java/changelog.Debian.gz /usr/share/doc/libgluegen2-rt-java/copyright /usr/share/java /usr/share/java/gluegen2-rt-2.3.2.jar /usr/share/maven-repo /usr/share/maven-repo/org /usr/share/maven-repo/org/jogamp /usr/share/maven-repo/org/jogamp/gluegen /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2 /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.pom /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.pom /usr/share/java/gluegen2-rt.jar /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Le 30/04/2018 ? 04:38, Masaru Nomiya a ?crit?: > Hello, > > In the Message; > > Subject : [Scilab-users] Scliab 6.0.x compilation problem (jogl2) > Message-ID : <6b2a8014-6244-9c3f-3c74-1b25d79cbc64 at enib.fr> > Date & Time: Sun, 29 Apr 2018 18:37:36 +0200 > > [ED] == Emmanuel Delaleau has written: > > ED> I am trying to compile a Scilab 6.0.0 or 6.0.1 under GNU/Linux (Debian 9) and I > ED> obtain a message that I cannot solve: > > ED> The message is: > > ED> checking jogl2... no > ED> configure: error: Could not find or use the Java package/jar jogl2 used by > ED> Scilab 3D rendering - Version 2.0 (looking for package > ED> javax.media.opengl.glu.GLUnurbs) > > ED> However I have packages related to jogl installed : > > ED> sudo apt install libjogl2-java libjogl2-java-doc libjogl2-jni libjogl2-toolkits > > ED> Lecture des listes de paquets... Fait > ED> Construction de l'arbre des d?pendances > ED> Lecture des informations d'?tat... Fait > ED> libjogl2-java is already the newest version (2.3.2+dfsg-5). > ED> libjogl2-java-doc is already the newest version (2.3.2+dfsg-5). > ED> libjogl2-jni is already the newest version (2.3.2+dfsg-5). > ED> libjogl2-toolkits is already the newest version (2.3.2+dfsg-5). > > ED> What could I do ? Thank > > Could you show the result, like this; > > $ rpm -ql jogl2-2.3.1-5.25 > > /usr/lib64/java/jogl2.jar > /usr/lib64/jogl2 > /usr/lib64/jogl2/jogl2.jar > /usr/lib64/jogl2/libjogl_cg.so > /usr/lib64/jogl2/libjogl_desktop.so > /usr/lib64/jogl2/libjogl_mobile.so > /usr/lib64/jogl2/libnativewindow_awt.so > /usr/lib64/jogl2/libnativewindow_x11.so > /usr/lib64/jogl2/libnewt.so > /usr/share/doc/packages/jogl2 > /usr/share/doc/packages/jogl2/CHANGELOG.txt > /usr/share/doc/packages/jogl2/LICENSE.txt > /usr/share/doc/packages/jogl2/README.txt > > and > > $ rpm -ql gluegen2-2.3.1-9.24 > > /usr/lib64/java/gluegen2-rt-natives.jar > /usr/lib64/libgluegen2-rt.so > /usr/share/doc/packages/gluegen2 > /usr/share/doc/packages/gluegen2/LICENSE.txt > /usr/share/java/gluegen2-rt.jar > > Regards, > > --- > ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ???? > ???? "Bill! You married with Computers. > Not with Me!" > "No..., with money." > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From nomiya at galaxy.dti.ne.jp Mon Apr 30 13:22:44 2018 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Mon, 30 Apr 2018 20:22:44 +0900 Subject: [Scilab-users] Scliab 6.0.x compilation problem (jogl2) In-Reply-To: References: <6b2a8014-6244-9c3f-3c74-1b25d79cbc64@enib.fr> <8736zd8llt.wl-nomiya@galaxy.dti.ne.jp> Message-ID: <87lgd5djln.wl-nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : Re: [Scilab-users] Scliab 6.0.x compilation problem (jogl2) Message-ID : Date & Time: Mon, 30 Apr 2018 10:16:55 +0200 [ED] == Emmanuel Delaleau has written: ED> Dear Masaru Nomiya, thank you for your response. See result below (I am under ED> Debian and I use dpkg instead of rpm) : ED> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ED> delaleau at ed-lapt:~$ dpkg -L libjogl2-java ED> /. ED> /usr ED> /usr/share ED> /usr/share/doc ED> /usr/share/doc/libjogl2-java ED> /usr/share/doc/libjogl2-java/README.Debian ED> /usr/share/doc/libjogl2-java/changelog.Debian.gz ED> /usr/share/doc/libjogl2-java/changelog.gz ED> /usr/share/doc/libjogl2-java/copyright ED> /usr/share/java ED> /usr/share/java/jogl2-2.3.2.jar ED> /usr/share/maven-repo ED> /usr/share/maven-repo/org ED> /usr/share/maven-repo/org/jogamp ED> /usr/share/maven-repo/org/jogamp/jogl ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2 ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.pom ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.pom ED> /usr/share/java/jogl2.jar ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/2.3.2/jogl-all-2.3.2.jar ED> /usr/share/maven-repo/org/jogamp/jogl/jogl-all/debian/jogl-all-debian.jar ED> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ED> delaleau at ed-lapt:~$ dpkg -L libgluegen2-rt-java ED> /. ED> /usr ED> /usr/share ED> /usr/share/doc ED> /usr/share/doc/libgluegen2-rt-java ED> /usr/share/doc/libgluegen2-rt-java/changelog.Debian.gz ED> /usr/share/doc/libgluegen2-rt-java/copyright ED> /usr/share/java ED> /usr/share/java/gluegen2-rt-2.3.2.jar ED> /usr/share/maven-repo ED> /usr/share/maven-repo/org ED> /usr/share/maven-repo/org/jogamp ED> /usr/share/maven-repo/org/jogamp/gluegen ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2 ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.pom ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.pom ED> /usr/share/java/gluegen2-rt.jar ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/2.3.2/gluegen-rt-2.3.2.jar ED> /usr/share/maven-repo/org/jogamp/gluegen/gluegen-rt/debian/gluegen-rt-debian.jar As you might know, gulegen2 and jogl2 ara key factors for building scilab 6.0.x. You don't have gluegen2-rt.so, do you? This is strange. Without gluegen2-rt.so, you can't compile scilab. Another problem.?Do as follows; # mkdir /usr/lib64/java # ln -s /usr/share/java/jogl2.jar /usr/lib64/java Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money."