From allan.cornet at scilab.org Tue Jun 1 08:16:13 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 1 Jun 2010 08:16:13 +0200 Subject: [scilab-Users] Xcos problems on MacBook In-Reply-To: <8CE0C0BD-A701-4750-B450-ED93A3AE488B@gmail.com> References: <8CE0C0BD-A701-4750-B450-ED93A3AE488B@gmail.com> Message-ID: <000601cb0151$ef6762e0$ce3628a0$@cornet@scilab.org> Hi, Have you got a C compiler installed on your MacOS ? Modelica demos required a C compiler (xcode) http://developer.apple.com/technologies/tools/xcode.html http://bugzilla.scilab.org/show_bug.cgi?id=5491 Best regards Allan CORNET -----Message d'origine----- De?: Jan Laarhuis [mailto:jan.laarhuis at gmail.com] Envoy??: lundi 31 mai 2010 22:22 ??: users at lists.scilab.org Objet?: [scilab-Users] Xcos problems on MacBook Hi all, can any of you tell me why Xcos does not work on my MacBook? Even when I open one of the Xcos demos (in this case the RLC Modelica demo) and run it causes a freeze of Xcos and gives the following error messages: --------------------------------------------- Startup execution: loading initial environment Modelica code generated at "/private/tmp/SD_1050_/imppart_RLC_Modelica.mo" C code generated at "/private/tmp/SD_1050_/imppart_RLC_Modelica.c" Modelica blocks are reduced to a block with: Number of continuous time states: 2 Number of discrete time states : 0 Number of zero-crossing surfaces: 0 Number of modes : 0 Number of inputs : 0 Number of outputs: 2 Compile and link Modelica generated C code Generate a loader file Generate a Makefile ilib_gen_Make: configure : Generate Makefile. configure: error: in `/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/dynamic_ link/src/scripts': ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR ilib_gen_Make: Did not copy imppart_RLC_Modelica.c: Source and target directories are the same (/private/tmp/SD_1050_). ilib_gen_Make: configure : Generate Makefile. configure: error: in `/private/tmp/SD_1050_': ilib_gen_Make: Modification of the Makefile in TMPDIR. ilib_gen_Make: Error while modifying the reference Makefile: Running the Makefile ilib_compile: An error occurred during the compilation: sh: make: command not found ilib_compile: The command was: make CFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../../i nclude/scilab/ -I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/scicos_ blocks/includes/" CXXFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../.. /include/scilab/ -I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/scicos_ blocks/includes/" FFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../../i nclude/scilab/ " Generate a cleaner file Link failed for dynamic library '/private/tmp/SD_1050_/libimppart_RLC_Modelica.dylib'. An error occurred: dlopen(/private/tmp/SD_1050_/libimppart_RLC_Modelica.dylib, 10): image not found art_RLC_Modelica'],'c') !--error 236 link: The shared archive was not loaded: (null) at line 9 of exec file called by : at line 185 of function buildnewblock called by : at line 219 of function compile_modelica called by : at line 24 of function build_modelica_block called by : at line 200 of function c_pass1 called by : at line 50 of function do_compile called by : at line 96 of function do_update called by : at line 108 of function xcos_simulate called by : 0);xcos_simulate(scs_m);deletefile("/var/folder while executing a callback --------------------------------------------- I have a MacBook late 2009 with Snow Leopard 10.6.3 and I have installed Scilab 5.2.2. Thanks in anticipation for your responses and suggestions. Best regards, Jan From jan.laarhuis at gmail.com Tue Jun 1 08:48:55 2010 From: jan.laarhuis at gmail.com (Jan Laarhuis) Date: Tue, 1 Jun 2010 08:48:55 +0200 Subject: [scilab-Users] Xcos problems on MacBook In-Reply-To: <000601cb0151$ef6762e0$ce3628a0$@cornet@scilab.org> References: <8CE0C0BD-A701-4750-B450-ED93A3AE488B@gmail.com> <000601cb0151$ef6762e0$ce3628a0$@cornet@scilab.org> Message-ID: Alan, thank you for your response, but unfortunately the install of the Xcode essentials didn't solve the problem. I got the same error messages while running the RLC Modelica demo. Is something else missing? Regards, Jan Op 1 jun 2010, om 08:16 heeft Allan CORNET het volgende geschreven: > Hi, > > Have you got a C compiler installed on your MacOS ? > > Modelica demos required a C compiler (xcode) > > http://developer.apple.com/technologies/tools/xcode.html > > > http://bugzilla.scilab.org/show_bug.cgi?id=5491 > > Best regards > > Allan CORNET > > > > -----Message d'origine----- > De : Jan Laarhuis [mailto:jan.laarhuis at gmail.com] > Envoy? : lundi 31 mai 2010 22:22 > ? : users at lists.scilab.org > Objet : [scilab-Users] Xcos problems on MacBook > > Hi all, > > can any of you tell me why Xcos does not work on my MacBook? Even when I > open one of the Xcos demos (in this case the RLC Modelica demo) and run it > causes a freeze of Xcos and gives the following error messages: > > --------------------------------------------- > Startup execution: > loading initial environment > Modelica code generated at > "/private/tmp/SD_1050_/imppart_RLC_Modelica.mo" > C code generated at "/private/tmp/SD_1050_/imppart_RLC_Modelica.c" > > Modelica blocks are reduced to a block with: > Number of continuous time states: 2 > Number of discrete time states : 0 > Number of zero-crossing surfaces: 0 > Number of modes : 0 > Number of inputs : 0 > Number of outputs: 2 > > Compile and link Modelica generated C code > Generate a loader file > Generate a Makefile > ilib_gen_Make: configure : Generate Makefile. > configure: error: in > `/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/dynamic_ > link/src/scripts': ilib_gen_Make: Copy compilation files (Makefile*, > libtool...) to TMPDIR > ilib_gen_Make: Did not copy imppart_RLC_Modelica.c: Source and target > directories are the same (/private/tmp/SD_1050_). > ilib_gen_Make: configure : Generate Makefile. > configure: error: in `/private/tmp/SD_1050_': ilib_gen_Make: Modification > of the Makefile in TMPDIR. > ilib_gen_Make: Error while modifying the reference Makefile: > Running the Makefile > ilib_compile: An error occurred during the compilation: > > sh: make: command not found > > ilib_compile: The command was: > make > CFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../../i > nclude/scilab/ > -I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/scicos_ > blocks/includes/" > CXXFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../.. > /include/scilab/ > -I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/modules/scicos_ > blocks/includes/" > FFLAGS="-I/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/../../i > nclude/scilab/ " > Generate a cleaner file > Link failed for dynamic library > '/private/tmp/SD_1050_/libimppart_RLC_Modelica.dylib'. > An error occurred: > dlopen(/private/tmp/SD_1050_/libimppart_RLC_Modelica.dylib, 10): image not > found > art_RLC_Modelica'],'c') > !--error 236 > link: The shared archive was not loaded: (null) > at line 9 of exec file called by : > > at line 185 of function buildnewblock called by : > at line 219 of function compile_modelica called by : > at line 24 of function build_modelica_block called by : > at line 200 of function c_pass1 called by : > at line 50 of function do_compile called by : > at line 96 of function do_update called by : > at line 108 of function xcos_simulate called by : > 0);xcos_simulate(scs_m);deletefile("/var/folder > while executing a callback > > --------------------------------------------- > > I have a MacBook late 2009 with Snow Leopard 10.6.3 and I have installed > Scilab 5.2.2. > > > Thanks in anticipation for your responses and suggestions. > > > Best regards, Jan > > =================== Jan Laarhuis Keppelerdijk 248 7534 PA Enschede 053 4617114 jan.laarhuis at gmail.com From bernard.secher at cea.fr Tue Jun 1 15:02:18 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Tue, 01 Jun 2010 15:02:18 +0200 Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: References: <4BF546F1.1050806@cea.fr> Message-ID: <4C0504DA.1040400@cea.fr> My video card is nVidia G84 [Quadro FX 1700] I have openGL installed on my system, so I don't understand why I get this error message and scilab cannot display graphics. Other software display graphics very well. Is there something to configure for scilab ? Bernard Adelson Oliveira a ?crit : > Isn't it the intel graphics problem? Is your video card an intel one? > Try reading the "details" about your problem. > > 2010/5/20 Bernard Secher - SFME/LGLS > > > I have installed scilab 5.2.2. > When I tried to display 2D graphic I get the following error message: > > "An error occurred when Scilab tried to open a Canvas: Unable to > select one of the provided GLCapabilities" > > Thanks to help me > > Bernard > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.gonzalez at ymail.com Tue Jun 1 15:22:06 2010 From: julio.gonzalez at ymail.com (Julio Gonzalez-Saenz) Date: Tue, 1 Jun 2010 13:22:06 +0000 (GMT) Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <4C0504DA.1040400@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> Message-ID: <936924.83024.qm@web28308.mail.ukl.yahoo.com> Dear Bernard, Maybe your installation of OpenGL is conflicting with SCILAB. As far as I know, openGL is not a requirement.. it is embedded in the application.. Julio ________________________________ From: Bernard Secher - SFME/LGLS To: users at lists.scilab.org Sent: Tue, 1 June, 2010 15:02:18 Subject: Re: [scilab-Users] problem of configuration of scilab 5.2.2 My video card is nVidia G84 [Quadro FX 1700] I have openGL installed on my system, so I don't understand why I get this error message and scilab cannot display graphics. Other software display graphics very well. Is there something to configure for scilab ? Bernard Adelson Oliveira a ?crit : Isn't it the intel graphics problem? Is your video card an >intel one? Try reading the "details" about your problem. > > >2010/5/20 Bernard Secher - SFME/LGLS > >I have installed scilab 5.2.2. >>>>When I tried to display 2D graphic I get the following error message: >> >>>>"An error occurred when Scilab tried to open a Canvas: Unable to select >>one of the provided GLCapabilities" >> >>>>Thanks to help me >> >>>>Bernard >> >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From calixte.denizet at ac-rennes.fr Tue Jun 1 15:26:11 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 01 Jun 2010 15:26:11 +0200 Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <4C0504DA.1040400@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> Message-ID: <1275398771.2238.116.camel@calixte-laptop> Hello Bernard, Please make a bug report at bugzilla.scilab.org. Calixte Le mardi 01 juin 2010 ? 15:02 +0200, Bernard Secher - SFME/LGLS a ?crit : > My video card is nVidia G84 [Quadro FX 1700] > I have openGL installed on my system, so I don't understand why I get > this error message and scilab cannot display graphics. Other software > display graphics very well. > Is there something to configure for scilab ? > > Bernard > > Adelson Oliveira a ?crit : > > Isn't it the intel graphics problem? Is your video card an intel > > one? Try reading the "details" about your problem. > > > > 2010/5/20 Bernard Secher - SFME/LGLS > > I have installed scilab 5.2.2. > > When I tried to display 2D graphic I get the following error > > message: > > > > "An error occurred when Scilab tried to open a Canvas: > > Unable to select one of the provided GLCapabilities" > > > > Thanks to help me > > > > Bernard > > > > > > > > > > > > > From bernard.secher at cea.fr Tue Jun 1 15:27:27 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Tue, 01 Jun 2010 15:27:27 +0200 Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <936924.83024.qm@web28308.mail.ukl.yahoo.com> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <936924.83024.qm@web28308.mail.ukl.yahoo.com> Message-ID: <4C050ABF.1020809@cea.fr> Dear Julio, Thanks a lot for your answer. It is very curious that openGL is embedded in scilab. My openGL libraries is installed by my video card drivers. If scilab cannot use it and provides an openGL library, I cannot use hardware graphic acceleration, and I only get a software graphic display. Best Bernard Julio Gonzalez-Saenz a ?crit : > Dear Bernard, > > Maybe your installation of OpenGL is conflicting with SCILAB. As far > as I know, openGL is not a requirement.. it is embedded in the > application.. > > Julio > > ------------------------------------------------------------------------ > *From:* Bernard Secher - SFME/LGLS > *To:* users at lists.scilab.org > *Sent:* Tue, 1 June, 2010 15:02:18 > *Subject:* Re: [scilab-Users] problem of configuration of scilab 5.2.2 > > My video card is nVidia G84 [Quadro FX 1700] > I have openGL installed on my system, so I don't understand why I get > this error message and scilab cannot display graphics. Other software > display graphics very well. > > Is there something to configure for scilab ? > > Bernard > > Adelson Oliveira a ?crit : >> Isn't it the intel graphics problem? Is your video card an intel one? >> Try reading the "details" about your problem. >> >> 2010/5/20 Bernard Secher - SFME/LGLS > > >> >> I have installed scilab 5.2.2. >> When I tried to display 2D graphic I get the following error message: >> >> "An error occurred when Scilab tried to open a Canvas: Unable to >> select one of the provided GLCapabilities" >> >> Thanks to help me >> >> Bernard >> >> >> >> >> >> > > > > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Tue Jun 1 15:34:03 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Tue, 01 Jun 2010 15:34:03 +0200 Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <1275398771.2238.116.camel@calixte-laptop> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> Message-ID: <4C050C4B.6030700@cea.fr> Thanks Calixte! That's done. The bug number is 7201 Best Bernard calixte a ?crit : > Hello Bernard, > > Please make a bug report at bugzilla.scilab.org. > > Calixte > > Le mardi 01 juin 2010 ? 15:02 +0200, Bernard Secher - SFME/LGLS a > ?crit : > >> My video card is nVidia G84 [Quadro FX 1700] >> I have openGL installed on my system, so I don't understand why I get >> this error message and scilab cannot display graphics. Other software >> display graphics very well. >> Is there something to configure for scilab ? >> >> Bernard >> >> Adelson Oliveira a ?crit : >> >>> Isn't it the intel graphics problem? Is your video card an intel >>> one? Try reading the "details" about your problem. >>> >>> 2010/5/20 Bernard Secher - SFME/LGLS >>> I have installed scilab 5.2.2. >>> When I tried to display 2D graphic I get the following error >>> message: >>> >>> "An error occurred when Scilab tried to open a Canvas: >>> Unable to select one of the provided GLCapabilities" >>> >>> Thanks to help me >>> >>> Bernard >>> >>> >>> >>> >>> >>> >> >> > > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.gonzalez at ymail.com Tue Jun 1 15:39:08 2010 From: julio.gonzalez at ymail.com (Julio Gonzalez-Saenz) Date: Tue, 1 Jun 2010 13:39:08 +0000 (GMT) Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <4C050ABF.1020809@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <936924.83024.qm@web28308.mail.ukl.yahoo.com> <4C050ABF.1020809@cea.fr> Message-ID: <395467.46608.qm@web28303.mail.ukl.yahoo.com> Dear Bernard, I have a running version of scilab 5.2.2 under windows 7 and I never installed open GL.. Now, as you mentioned, I wonder, if the libraries come embedded in my video card software. I have an INTEL video card.. Not sure about this... Julio ________________________________ From: Bernard Secher - SFME/LGLS To: users at lists.scilab.org Sent: Tue, 1 June, 2010 15:27:27 Subject: Re: [scilab-Users] problem of configuration of scilab 5.2.2 Dear Julio, Thanks a lot for your answer. It is very curious that openGL is embedded in scilab. My openGL libraries is installed by my video card drivers. If scilab cannot use it and provides an openGL library, I cannot use hardware graphic acceleration, and I only get a software graphic display. Best Bernard Julio Gonzalez-Saenz a ?crit : > >Dear Bernard, > >>Maybe your installation of OpenGL is conflicting with SCILAB. As far as >I know, openGL is not a requirement.. it is embedded in the >application.. > >>Julio > > > > ________________________________ From: >Bernard Secher - SFME/LGLS >To: users at lists.scilab.org >Sent: Tue, 1 June, >2010 15:02:18 >Subject: Re: >[scilab-Users] problem of configuration of scilab 5.2.2 > >>My video card is nVidia G84 [Quadro FX 1700] >>I have openGL installed on my system, so I don't understand why I get >this error message and scilab cannot display graphics. Other software >display graphics very well. > >>Is there something to configure for scilab ? > >>Bernard > >>Adelson Oliveira a ?crit : > >Isn't it the intel graphics problem? Is your >>video card an >>intel one? Try reading the "details" about your problem. >> >> >>2010/5/20 Bernard Secher - SFME/LGLS >> >>I have installed scilab 5.2.2. >>>>>>When I tried to display 2D graphic I get the following error message: >>> >>>>>>"An error occurred when Scilab tried to open a Canvas: Unable to select >>>one of the provided GLCapabilities" >>> >>>>>>Thanks to help me >>> >>>>>>Bernard >>> >>> >> > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.gonzalez at ymail.com Tue Jun 1 15:52:37 2010 From: julio.gonzalez at ymail.com (Julio Gonzalez-Saenz) Date: Tue, 1 Jun 2010 13:52:37 +0000 (GMT) Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <4C050ABF.1020809@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <936924.83024.qm@web28308.mail.ukl.yahoo.com> <4C050ABF.1020809@cea.fr> Message-ID: <401653.33375.qm@web28315.mail.ukl.yahoo.com> Bernard, I see you are part of CEA! Is CEA aware of the new neutrino/tau discovery by CERN? julio.gonzalez at part-time-scientists.com Regards, Julio ________________________________ From: Bernard Secher - SFME/LGLS To: users at lists.scilab.org Sent: Tue, 1 June, 2010 15:27:27 Subject: Re: [scilab-Users] problem of configuration of scilab 5.2.2 Dear Julio, Thanks a lot for your answer. It is very curious that openGL is embedded in scilab. My openGL libraries is installed by my video card drivers. If scilab cannot use it and provides an openGL library, I cannot use hardware graphic acceleration, and I only get a software graphic display. Best Bernard Julio Gonzalez-Saenz a ?crit : > >Dear Bernard, > >>Maybe your installation of OpenGL is conflicting with SCILAB. As far as >I know, openGL is not a requirement.. it is embedded in the >application.. > >>Julio > > > > ________________________________ From: >Bernard Secher - SFME/LGLS >To: users at lists.scilab.org >Sent: Tue, 1 June, >2010 15:02:18 >Subject: Re: >[scilab-Users] problem of configuration of scilab 5.2.2 > >>My video card is nVidia G84 [Quadro FX 1700] >>I have openGL installed on my system, so I don't understand why I get >this error message and scilab cannot display graphics. Other software >display graphics very well. > >>Is there something to configure for scilab ? > >>Bernard > >>Adelson Oliveira a ?crit : > >Isn't it the intel graphics problem? Is your >>video card an >>intel one? Try reading the "details" about your problem. >> >> >>2010/5/20 Bernard Secher - SFME/LGLS >> >>I have installed scilab 5.2.2. >>>>>>When I tried to display 2D graphic I get the following error message: >>> >>>>>>"An error occurred when Scilab tried to open a Canvas: Unable to select >>>one of the provided GLCapabilities" >>> >>>>>>Thanks to help me >>> >>>>>>Bernard >>> >>> >> > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Tue Jun 1 15:56:15 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Tue, 01 Jun 2010 15:56:15 +0200 Subject: [scilab-Users] problem of configuration of scilab 5.2.2 In-Reply-To: <401653.33375.qm@web28315.mail.ukl.yahoo.com> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <936924.83024.qm@web28308.mail.ukl.yahoo.com> <4C050ABF.1020809@cea.fr> <401653.33375.qm@web28315.mail.ukl.yahoo.com> Message-ID: <4C05117F.9070500@cea.fr> I don't know Julio. Best Bernard Julio Gonzalez-Saenz a ?crit : > Bernard, > > I see you are part of CEA! Is CEA aware of the new neutrino/tau > discovery by CERN? > > julio.gonzalez at part-time-scientists.com > > Regards, > > Julio > > ------------------------------------------------------------------------ > *From:* Bernard Secher - SFME/LGLS > *To:* users at lists.scilab.org > *Sent:* Tue, 1 June, 2010 15:27:27 > *Subject:* Re: [scilab-Users] problem of configuration of scilab 5.2.2 > > Dear Julio, > > Thanks a lot for your answer. > It is very curious that openGL is embedded in scilab. My openGL > libraries is installed by my video card drivers. If scilab cannot use > it and provides an openGL library, I cannot use hardware graphic > acceleration, and I only get a software graphic display. > > Best > Bernard > > > Julio Gonzalez-Saenz a ?crit : >> Dear Bernard, >> >> Maybe your installation of OpenGL is conflicting with SCILAB. As far >> as I know, openGL is not a requirement.. it is embedded in the >> application.. >> >> Julio >> >> ------------------------------------------------------------------------ >> *From:* Bernard Secher - SFME/LGLS >> *To:* users at lists.scilab.org >> *Sent:* Tue, 1 June, 2010 15:02:18 >> *Subject:* Re: [scilab-Users] problem of configuration of scilab 5.2.2 >> >> My video card is nVidia G84 [Quadro FX 1700] >> I have openGL installed on my system, so I don't understand why I get >> this error message and scilab cannot display graphics. Other software >> display graphics very well. >> >> Is there something to configure for scilab ? >> >> Bernard >> >> Adelson Oliveira a ?crit : >>> Isn't it the intel graphics problem? Is your video card an intel >>> one? Try reading the "details" about your problem. >>> >>> 2010/5/20 Bernard Secher - SFME/LGLS >> > >>> >>> I have installed scilab 5.2.2. >>> When I tried to display 2D graphic I get the following error >>> message: >>> >>> "An error occurred when Scilab tried to open a Canvas: Unable to >>> select one of the provided GLCapabilities" >>> >>> Thanks to help me >>> >>> Bernard >>> >>> >>> >>> >>> >>> >> >> >> >> >> > > > -- > _\\|//_ > (' 0 0 ') > ____ooO (_) Ooo______________________________________________________ > Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr > CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 > 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 > ------------Oooo--------------------------------------------------- > oooO ( ) > ( ) ) / > \ ( (_/ > \_) > > > Ce message ?lectronique et tous les fichiers attach?s qu'il contient > sont confidentiels et destin?s exclusivement ? l'usage de la personne > ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, > merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver > de copie. > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual to whom they are addressed. > If you have received this e-mail in error please inform the sender > immediately, without keeping any copy thereof. > > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Wed Jun 2 11:45:56 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Wed, 02 Jun 2010 11:45:56 +0200 Subject: beginning with xcos In-Reply-To: <1275398771.2238.116.camel@calixte-laptop> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> Message-ID: <4C062854.6000706@cea.fr> Hello every body, I begin with xcos, and I would like to know if it is possible to create a xcos graph with only one generic box without input and without output, which executes one scilab function. For example a scilab function which display one graphic, like this: function toto() plot2d(1:100,sin(1:100)) endfunction Best Bernard Secher -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Wed Jun 2 11:53:29 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Wed, 02 Jun 2010 11:53:29 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C062854.6000706@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> Message-ID: <1275472409.2156.1.camel@pinarellu.inria.fr> Hello, To use any scilab function, you can use the scifunction block on the user defined palette. Regards, -- Cl?ment > Hello every body, > > I begin with xcos, and I would like to know if it is possible to > create a xcos graph with only one generic box without input and > without output, which executes one scilab function. > > For example a scilab function which display one graphic, like this: > > function toto() > plot2d(1:100,sin(1:100)) > endfunction > > Best > Bernard Secher > > From bernard.secher at cea.fr Wed Jun 2 12:09:48 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Wed, 02 Jun 2010 12:09:48 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <1275472409.2156.1.camel@pinarellu.inria.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> Message-ID: <4C062DEC.8080903@cea.fr> Thanks Clement! If I want 2 input ports, what is the syntax in the dialog box ? Bernard Cl?ment DAVID a ?crit : > Hello, > > To use any scilab function, you can use the scifunction block on the > user defined palette. > > Regards, > > -- > Cl?ment > > >> Hello every body, >> >> I begin with xcos, and I would like to know if it is possible to >> create a xcos graph with only one generic box without input and >> without output, which executes one scilab function. >> >> For example a scilab function which display one graphic, like this: >> >> function toto() >> plot2d(1:100,sin(1:100)) >> endfunction >> >> Best >> Bernard Secher >> >> >> > > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Wed Jun 2 12:39:21 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Wed, 02 Jun 2010 12:39:21 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C062DEC.8080903@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> Message-ID: <4C0634D9.8080905@cea.fr> I cannot open the help for scifunction block. I get the following error message: Scilab help files not loaded. Please check if SCI/modules/helptools/jar/scilab_*_help.jar files exist and are Java Help files. I have only the following file: SCI/modules/helptools/jar/org.scilab.modules.helptools.jar What's happen ? How can I get documentation about the use of scifunction block in xcos ? Thanks Bernard Secher -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Wed Jun 2 12:55:20 2010 From: yann.collette at scilab.org (Collette yann) Date: Wed, 02 Jun 2010 12:55:20 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C0634D9.8080905@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> Message-ID: <4C063898.6090808@scilab.org> If you have compiled scilab from sources, maybe you forgot to do a "make doc" ? YC Le 02/06/2010 12:39, Bernard Secher - SFME/LGLS a ?crit : > I cannot open the help for scifunction block. I get the following > error message: > Scilab help files not loaded. Please check if SCI/modules/helptools/jar/scilab_*_help.jar files exist and are Java Help files. > > I have only the following file: SCI/modules/helptools/jar/org.scilab.modules.helptools.jar > > > > What's happen ? > > How can I get documentation about the use of scifunction block in xcos ? > > Thanks > Bernard Secher > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Wed Jun 2 14:14:41 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Wed, 02 Jun 2010 14:14:41 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C063898.6090808@scilab.org> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> <4C063898.6090808@scilab.org> Message-ID: <4C064B31.40407@cea.fr> Thanks, I have done "make doc" and "make install". But now when I try to display graphic with plot2d, I get the following error message: An error occurred when Scilab tried to open a Canvas: no gluegen-rt in java.library.path Very strange ... why doc modify display of graphic ? Bernard Collette yann a ?crit : > If you have compiled scilab from sources, maybe you forgot to do a > "make doc" ? > > YC > > Le 02/06/2010 12:39, Bernard Secher - SFME/LGLS a ?crit : >> I cannot open the help for scifunction block. I get the following >> error message: >> Scilab help files not loaded. Please check if SCI/modules/helptools/jar/scilab_*_help.jar files exist and are Java Help files. >> >> I have only the following file: SCI/modules/helptools/jar/org.scilab.modules.helptools.jar >> >> >> >> What's happen ? >> >> How can I get documentation about the use of scifunction block in xcos ? >> >> Thanks >> Bernard Secher >> >> > -- _\\|//_ (' 0 0 ') ____ooO (_) Ooo______________________________________________________ Bernard S?cher DEN/DM2S/SFME/LGLS mailto : bsecher at cea.fr CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 ------------Oooo--------------------------------------------------- oooO ( ) ( ) ) / \ ( (_/ \_) Ce message ?lectronique et tous les fichiers attach?s qu'il contient sont confidentiels et destin?s exclusivement ? l'usage de la personne ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver de copie. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you have received this e-mail in error please inform the sender immediately, without keeping any copy thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Wed Jun 2 14:59:43 2010 From: yann.collette at scilab.org (Collette yann) Date: Wed, 02 Jun 2010 14:59:43 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C064B31.40407@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> <4C063898.6090808@scilab.org> <4C064B31.40407@cea.fr> Message-ID: <4C0655BF.8020901@scilab.org> Once you have done a make install, you need to install the *.so files in Linux/bin/*.so in /install_prefix/lib/scilab (Linux is the directory where are all the thirdparty tools. On a linux 32 bits, this directory is called Linux, on linux 64, it's linux64). This path is in scilab/etc/librarypath.xml You will certainly need to install manually too some jar files. See in scilab/etc/classpath.xml for some possible installation paths. YC Le 02/06/2010 14:14, Bernard Secher - SFME/LGLS a ?crit : > Thanks, > > I have done "make doc" and "make install". > > But now when I try to display graphic with plot2d, I get the following > error message: > > An error occurred when Scilab tried to open a Canvas: no gluegen-rt in > java.library.path > > Very strange ... why doc modify display of graphic ? > > Bernard > > Collette yann a ?crit : >> If you have compiled scilab from sources, maybe you forgot to do a >> "make doc" ? >> >> YC >> >> Le 02/06/2010 12:39, Bernard Secher - SFME/LGLS a ?crit : >>> I cannot open the help for scifunction block. I get the following >>> error message: >>> Scilab help files not loaded. Please check if SCI/modules/helptools/jar/scilab_*_help.jar files exist and are Java Help files. >>> >>> I have only the following file: SCI/modules/helptools/jar/org.scilab.modules.helptools.jar >>> >>> >>> >>> What's happen ? >>> >>> How can I get documentation about the use of scifunction block in xcos ? >>> >>> Thanks >>> Bernard Secher >>> >>> >> > > > -- > _\\|//_ > (' 0 0 ') > ____ooO (_) Ooo______________________________________________________ > Bernard S?cher DEN/DM2S/SFME/LGLS mailto :bsecher at cea.fr > CEA Saclay, B?t 454, Pi?ce 114 Phone : 33 (0)1 69 08 73 78 > 91191 Gif-sur-Yvette Cedex, France Fax : 33 (0)1 69 08 10 87 > ------------Oooo--------------------------------------------------- > oooO ( ) > ( ) ) / > \ ( (_/ > \_) > > > Ce message ?lectronique et tous les fichiers attach?s qu'il contient > sont confidentiels et destin?s exclusivement ? l'usage de la personne > ? laquelle ils sont adress?s. Si vous avez re?u ce message par erreur, > merci d'en avertir imm?diatement son ?metteur et de ne pas en conserver > de copie. > > This e-mail and any files transmitted with it are confidential and > intended solely for the use of the individual to whom they are addressed. > If you have received this e-mail in error please inform the sender > immediately, without keeping any copy thereof. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bernard.secher at cea.fr Wed Jun 2 15:06:47 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Wed, 02 Jun 2010 15:06:47 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C0655BF.8020901@scilab.org> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> <4C063898.6090808@scilab.org> <4C064B31.40407@cea.fr> <4C0655BF.8020901@scilab.org> Message-ID: <4C065767.2070905@cea.fr> Thanks, I have reinstalled all scilab with documentation from scratch from binary files, and all is working now. I look at scifunc_block documentation, but I don't understand the format for *input port sizes*. By default the value is [1,1] for one input port. I tried different values for two input ports, like [2,1], [1,2], [2,2], and so on , but I have always only one input port. Please, what can I write to have two input ports in my scifunc_block ? Thanks Bernard -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Wed Jun 2 15:09:36 2010 From: yann.collette at scilab.org (Collette yann) Date: Wed, 02 Jun 2010 15:09:36 +0200 Subject: [scilab-Users] beginning with xcos In-Reply-To: <4C065767.2070905@cea.fr> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> <4C063898.6090808@scilab.org> <4C064B31.40407@cea.fr> <4C0655BF.8020901@scilab.org> <4C065767.2070905@cea.fr> Message-ID: <4C065810.6050709@scilab.org> The format of the input port size is: [rows_input1, cols_input1;rows_input2,cols_input2; ...] Don't forget to do the same kind of thing for the input type: [type_input1; type_input2; ...] YC Le 02/06/2010 15:06, Bernard Secher - SFME/LGLS a ?crit : > Thanks, > > I have reinstalled all scilab with documentation from scratch from > binary files, and all is working now. > > I look at scifunc_block documentation, but I don't understand the > format for *input port sizes*. > By default the value is [1,1] for one input port. > I tried different values for two input ports, like [2,1], [1,2], > [2,2], and so on , but I have always only one input port. > > Please, what can I write to have two input ports in my scifunc_block ? > > Thanks > Bernard > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Jun 2 07:52:23 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 02 Jun 2010 07:52:23 +0200 Subject: [scilab-Users] can console mode of scilab use the GNU library readline or bind user's own shortcuts? In-Reply-To: References: Message-ID: <1275457943.25545.55.camel@zlarin> Le lundi 31 mai 2010 ? 12:46 +0800, hkm a ?crit : > I don't know wether I can define my own shortcuts in console mode of > scilab. I like emacs and bind many key bindings like( alt+f, alt > +b, ...) . > But in console mode of scilab( start as "scilab -nw"), ctrl+w doesn't > work, neither does ctrl+left or ctrl+right. while, scilab seems > abandons the alt .... For now, the current command line interpreter in NW or NWNI is based on ncurses but some parts of the code are not optimal (some are based on ncurses and some are done by hand). We are not very happy about that but since it is most working well in most of the cases, it is not a top priority to update this part of the code... If you want to contribute here, don't hesitate. It should not be very hard and I can help. Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From luc.gabriel at petersime.com Thu Jun 3 07:50:45 2010 From: luc.gabriel at petersime.com (=?iso-8859-1?Q?Luc_Gabri=EBl?=) Date: Thu, 3 Jun 2010 07:50:45 +0200 Subject: 3D- plot Message-ID: <8C0D4681E899C346AD725AE5756C54B71C00CCC5A6@nts05.petersime.local> Good morning I have a spatial measuring system (placed into an incubator). When running a test is temperature one of my key parameters. Now I want to display this system in a 4d representation where the 3d is the spatial position of the sensors (in form of a scatter plot) and the forth dimension is the color which represent a temperature level. I know how to do it in Matlab but I don't get away with it in scilab. Is it possible and can you give me a hint? Thank you. Luc Gabri?l luc.gabriel at telenet.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Thu Jun 3 09:05:11 2010 From: yann.collette at scilab.org (Collette yann) Date: Thu, 03 Jun 2010 09:05:11 +0200 Subject: [scilab-Users] 3D- plot In-Reply-To: <8C0D4681E899C346AD725AE5756C54B71C00CCC5A6@nts05.petersime.local> References: <8C0D4681E899C346AD725AE5756C54B71C00CCC5A6@nts05.petersime.local> Message-ID: <4C075427.4020905@scilab.org> Hello, You can try to use the following form of plot3d: plot3d(xf,yf,list(zf,colors),) where the shape is described by xf, yf and zf, and for each point, you can give a color. YC Le 03/06/2010 07:50, Luc Gabri?l a ?crit : > > Good morning > > I have a spatial measuring system (placed into an incubator). When > running a test is temperature one of my key parameters. > > Now I want to display this system in a 4d representation where the 3d > is the spatial position of the sensors (in form of a scatter plot) > and the forth dimension is the color which represent a temperature level. > > I know how to do it in Matlab but I don't get away with it in scilab. > > Is it possible and can you give me a hint? > > Thank you. > > Luc Gabri?l > > luc.gabriel at telenet.be > -------------- next part -------------- An HTML attachment was scrubbed... URL: From magali.jodeau at edf.fr Thu Jun 3 11:55:30 2010 From: magali.jodeau at edf.fr (Magali JODEAU) Date: Thu, 3 Jun 2010 11:55:30 +0200 Subject: [scilab-Users] 3D- plot Message-ID: Accus? de r?ception Votre document : [scilab-Users] 3D- plot a ?t? re?u par : magali.jodeau at edf.fr le : 03/06/2010 11:55:30 -------------- next part -------------- An HTML attachment was scrubbed... URL: From norman.beamish at m4s.be Thu Jun 3 12:12:57 2010 From: norman.beamish at m4s.be (Norman Beamish) Date: Thu, 03 Jun 2010 11:12:57 +0100 Subject: Question on using plot in call_scilab module Message-ID: <4C078029.1000906@m4s.be> Hi, I'm using the call_scilab module to access scilab functions from within a C program. I'm using MS Visual C++ 2008 on MS Vista. Everything that just writes its output to the console works ok. However when I use the scilab plot command SendScilabJob("plot(x,y, style);") I find that the plot window freezes and the plot menu options are unavailable unless I run the following loop: - while( ScilabHaveAGraph() ) { ScilabDoOneEvent(); } Of course this loop stops my program from doing anything else. My question: I believe this problem arises because everything is operating in a single thread. Is there a way to make the plot command start out in a separate thread so that it can still monitor for user events such as mouse clicks while the rest of my program continues. thanks, Norm From jjdmon at pobox.com Thu Jun 3 13:55:06 2010 From: jjdmon at pobox.com (Jeff DuMonthier) Date: Thu, 3 Jun 2010 07:55:06 -0400 Subject: [scilab-Users] Problems on MacOSX Snow Leopard - Scilab not starting In-Reply-To: References: Message-ID: There is too much on my iMac to make a list, but the only thing there that looks at all familiar is Garmin Training Center. I have the Garmin communicator plugin as well as some of the mapping programs to work with my Garmin GPS. I've been trying the master builds occasionally and the last couple are crashing on launch for a different reason now. The console log looks like this: 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] dyld: Library not loaded: /sw/lib/gcc4.4/lib/libgomp.1.dylib 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] Referenced from: /Users/jeff/Applications/scilab-master-1275472046.app/Contents/MacOS/lib/scilab//libscistring.5.dylib 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] Reason: image not found 6/3/10 7:41:52 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] /Users/jeff/Applications/scilab-master-1275472046.app/Contents/MacOS/bin/scilab: line 533: 3494 Trace/BPT trap "$SCILABBIN" "$@" 6/3/10 7:41:52 AM com.apple.launchd.peruser.502[128] ([0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468]) Exited with exit code: 133 On May 31, 2010, at 1:17 AM, Kay-Uwe G?tz wrote: > Hi, > > several of us have reported problems about Scilab not starting on one of their machines while it is starting on their other Mac. A typical setup is that it works on a MacBook while it is not working on an iMac. This is also the case in my setup. In my setup, I can run Scilab without any problem on my MacBook Air. On my iMac I have the problem of "the hanging java logo". I can start Scilab on the iMac if I add the parameter -nogui. > > I've tried all the suggestions of checking links in Java_Home, installing 1.5.0 in addition to 1.6 etc. Nothing worked. > > I suspect that it is an interaction of Scilab with some other installed software. My proposal is that people experiencing the same problem (works on one machine, but not on the other) post here a list of software that is installed on the machine where it doesn't run, but NOT on the machine, where it runs. Maybe we can find some similarities and track the problem down. > > Here is my list: > + 1password > + Airfoil Speakers > + Airfoil > + Garmin Training Center > + Gisteq Phototrackr > + GoogleEarth > + iTunes Library Manager > + MAX > + LINN Download Manager > + Spyder2Express > + Adobe AIR Application Installer/Uninstaller > + iPhone Backup Extractor > + TrueCrypt > > Regards > Kay-Uwe > > From sylvestre.ledru at scilab.org Thu Jun 3 16:11:54 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 03 Jun 2010 16:11:54 +0200 Subject: [scilab-Users] Problems on MacOSX Snow Leopard - Scilab not starting In-Reply-To: References: Message-ID: <1275574314.29703.3.camel@zlarin> The problem you are experiencing with the master is different from the one described before. In Scilab 5.3.0, we will introduce a parallel function (parallel_run) for multithread computation. We have to improve the Mac OS X binary (libgomp.1.dylib sounds missing from it). Thanks for reporting this issue. Sylvestre Le jeudi 03 juin 2010 ? 07:55 -0400, Jeff DuMonthier a ?crit : > There is too much on my iMac to make a list, but the only thing there that looks at all familiar is Garmin Training Center. I have the Garmin communicator plugin as well as some of the mapping programs to work with my Garmin GPS. > > I've been trying the master builds occasionally and the last couple are crashing on launch for a different reason now. The console log looks like this: > > 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] dyld: Library not loaded: /sw/lib/gcc4.4/lib/libgomp.1.dylib > 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] Referenced from: /Users/jeff/Applications/scilab-master-1275472046.app/Contents/MacOS/lib/scilab//libscistring.5.dylib > 6/3/10 7:41:51 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] Reason: image not found > 6/3/10 7:41:52 AM [0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468] /Users/jeff/Applications/scilab-master-1275472046.app/Contents/MacOS/bin/scilab: line 533: 3494 Trace/BPT trap "$SCILABBIN" "$@" > 6/3/10 7:41:52 AM com.apple.launchd.peruser.502[128] ([0x0-0xf30f3].org.scilab.modules.jvm.Scilab[3468]) Exited with exit code: 133 > > On May 31, 2010, at 1:17 AM, Kay-Uwe G?tz wrote: > > > Hi, > > > > several of us have reported problems about Scilab not starting on one of their machines while it is starting on their other Mac. A typical setup is that it works on a MacBook while it is not working on an iMac. This is also the case in my setup. In my setup, I can run Scilab without any problem on my MacBook Air. On my iMac I have the problem of "the hanging java logo". I can start Scilab on the iMac if I add the parameter -nogui. > > > > I've tried all the suggestions of checking links in Java_Home, installing 1.5.0 in addition to 1.6 etc. Nothing worked. > > > > I suspect that it is an interaction of Scilab with some other installed software. My proposal is that people experiencing the same problem (works on one machine, but not on the other) post here a list of software that is installed on the machine where it doesn't run, but NOT on the machine, where it runs. Maybe we can find some similarities and track the problem down. > > > > Here is my list: > > + 1password > > + Airfoil Speakers > > + Airfoil > > + Garmin Training Center > > + Gisteq Phototrackr > > + GoogleEarth > > + iTunes Library Manager > > + MAX > > + LINN Download Manager > > + Spyder2Express > > + Adobe AIR Application Installer/Uninstaller > > + iPhone Backup Extractor > > + TrueCrypt > > > > Regards > > Kay-Uwe > > > > > -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From bernard.secher at cea.fr Fri Jun 4 11:21:27 2010 From: bernard.secher at cea.fr (Bernard Secher - SFME/LGLS) Date: Fri, 04 Jun 2010 11:21:27 +0200 Subject: loop bloc in xcos In-Reply-To: <4C065810.6050709@scilab.org> References: <4BF546F1.1050806@cea.fr> <4C0504DA.1040400@cea.fr> <1275398771.2238.116.camel@calixte-laptop> <4C062854.6000706@cea.fr> <1275472409.2156.1.camel@pinarellu.inria.fr> <4C062DEC.8080903@cea.fr> <4C0634D9.8080905@cea.fr> <4C063898.6090808@scilab.org> <4C064B31.40407@cea.fr> <4C0655BF.8020901@scilab.org> <4C065767.2070905@cea.fr> <4C065810.6050709@scilab.org> Message-ID: <4C08C597.70104@cea.fr> Hello, Is there a loop bloc in xcos ? For example I want to run a sequence of blocs until the ouptut of the last bloc is less a threshold. If the output is upper the threshold I go to the beginning of the first bloc of my sequence If the output is lower the threshold I finish my graph or I go to another bloc Bernard Secher -------------- next part -------------- An HTML attachment was scrubbed... URL: From made70 at gmx.de Fri Jun 4 13:28:05 2010 From: made70 at gmx.de (Matthias Decker) Date: Fri, 04 Jun 2010 13:28:05 +0200 Subject: *****SPAM***** Message-ID: <20100604112805.132620@gmx.net> Dear all, I am running scilab-5.2.2 with Xcos-1.0 on a PC with Windows XP SP 3 Build 2600. When using Xcos, simulation works just fine, but I cannot save any file anywhere. The save or saveas dialogue opens and i can chose a filname. In the Satusbar "File Saving..." is displayed, but no file is generated. Do know what may be the problem? Kind regards Matthias Decker -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From allan.cornet at scilab.org Fri Jun 4 14:41:37 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 4 Jun 2010 14:41:37 +0200 Subject: [scilab-Users] *****SPAM***** In-Reply-To: <20100604112805.132620@gmx.net> References: <20100604112805.132620@gmx.net> Message-ID: <002001cb03e3$45ea3eb0$d1bebc10$@cornet@scilab.org> Hi, Please report this bug @ http://bugzilla.scilab.org And attach result of : [a,b] = getdebuginfo() Can you also try this : consolebox('on') // a "dos" console will be appear do a diagram and try to save your diagram What have you got in "dos" console You can also try nightly build : http://www.scilab.org/communities/developer_zone/scilab_versions/development_version/branch_master Best Regards Allan CORNET -----Message d'origine----- De : Matthias Decker [mailto:made70 at gmx.de] Envoy? : vendredi 4 juin 2010 13:28 ? : users at lists.scilab.org Objet : [scilab-Users] *****SPAM***** Dear all, I am running scilab-5.2.2 with Xcos-1.0 on a PC with Windows XP SP 3 Build 2600. When using Xcos, simulation works just fine, but I cannot save any file anywhere. The save or saveas dialogue opens and i can chose a filname. In the Satusbar "File Saving..." is displayed, but no file is generated. Do know what may be the problem? Kind regards Matthias Decker -- GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From paul_c at gmx.de Fri Jun 4 18:59:46 2010 From: paul_c at gmx.de (Paul Czienskowski) Date: Fri, 04 Jun 2010 18:59:46 +0200 Subject: [scilab-Users] *****SPAM***** In-Reply-To: <20100604112805.132620@gmx.net> References: <20100604112805.132620@gmx.net> Message-ID: <4C093102.2050203@gmx.de> Hey Matthias, are you running WinXP with a restricted user profile? This leads to strange problems sometimes. If yes try to run it as an admin. Cheers, Paul On 04.06.2010 13:28, Matthias Decker wrote: > Dear all, > I am running scilab-5.2.2 with Xcos-1.0 on a PC with Windows XP SP 3 Build 2600. > > When using Xcos, simulation works just fine, but I cannot save any file anywhere. The save or saveas dialogue opens and i can chose a filname. In the Satusbar "File Saving..." is displayed, but no file is generated. > > Do know what may be the problem? > > Kind regards > Matthias Decker > > -- Paul Czienskowski Bj?rnsonstr. 25 12163 Berlin Tel.: (+49)(0)30/221609359 Handy: (+49)(0)1788378772 From eduardo at softwork.co.il Sat Jun 5 13:33:46 2010 From: eduardo at softwork.co.il (Eduardo Tarasiuk) Date: Sat, 05 Jun 2010 14:33:46 +0300 Subject: IPD Toolbox. Manual installation problem Message-ID: Hi I am trying to install the IPD Toolbox in a Windows XP Machine not connected to the Internet. I cannot find any method that works. Even though when a machine is connected to the internet, there is not problem to install IPD using ATOMS. [1] It is amazing for me that the zip included in the Toolboxes download is very different from the zip archived by ATOMS in the contrib\archives folder. [2] It seems that ATOMS creates inside the .atoms folder three *.bin files with the exact path of Scilab using the DOS 8.3 naming convention for paths and files, for that reason I cannot copy those files to the standalone machine (the 8.3 name of Scilab is different in both). [3] Is any reason why there is no a simple Install.txt or readme.txt file to explain how to do the manual installation ?. The exec('contrib\IPD\5.0\loader.sce') do not work for me, because the the dll's inside cpp are not recognized. It seems to be a simple PATH problem and for sure not a Microsoft Runtime problem (With ATOMS there is no problem). Thanks very much for any help or clue Eduardo -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardo at softwork.co.il Sat Jun 5 14:37:54 2010 From: eduardo at softwork.co.il (Eduardo Tarasiuk) Date: Sat, 05 Jun 2010 15:37:54 +0300 Subject: IPD Toolbox. Manual installation problem Message-ID: Very Sorry My Problem, copying the installed SCILAB\contrib\archives\IPD-5-0-Windows.zip in a standalone machine and executing the loader.sce worked on a different machine. My only open question is why the zip included in the Toolboxes download is very different from the zip archived by ATOMS in the contrib\archives folder. Thanks ! Eduardo -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsu at neurology.wisc.edu Sat Jun 5 08:20:35 2010 From: hsu at neurology.wisc.edu (Hsu (David)) Date: Sat, 5 Jun 2010 01:20:35 -0500 Subject: reading or loading big files Message-ID: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> I am just learning SciLab. I need to read enormous EEG files (electroencephalograms), for example, 20 channels sampled at 32,000 Hz for days on end. This data may be saved as a matrix with 20 columns but a huge number of rows, so big that I run up against size limits if I try to load the whole thing as a matrix. This data is usually in binary format. I tried using stacksize('max') to maximize these size limits but am still running into size limits. Is there a way to load or read in just a part of this huge matrix, process that, then go back and load or read the next chunk? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab.org Fri Jun 4 15:23:02 2010 From: communication at scilab.org (Scilab Communication) Date: Fri, 04 Jun 2010 15:23:02 +0200 Subject: Invitation to ScilabTec'10 Message-ID: <4C08FE36.30800@scilab.org> We are very pleased to invite you to the next annual Scilab Users' Day, ScilabTec'10 which will take place on Wednesday 16th 2010 at the ?cole Polytechnique. Free online registration at: http://www.teratec.eu/gb/forum/inscription.php Program includes: technical workshops on the morning on Scilab 6, Xcos, GPU Programming with HPC Project... and conferences on the afternoon with the MIT, National Instruments, Nvidia, PSA Peugeot Citro?n, VALEO, INRIA and the ?cole des Mines de Saint-?tienne. Complete program available at: http://www.scilab.org/en/news/events/20100517 Best Regards, ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France -------------- next part -------------- A non-text attachment was scrubbed... Name: Scilabtec10.pdf Type: application/pdf Size: 63408 bytes Desc: not available URL: From perrichon.pierre at wanadoo.fr Mon Jun 7 08:49:05 2010 From: perrichon.pierre at wanadoo.fr (Perrichon Pierre) Date: Mon, 7 Jun 2010 08:49:05 +0200 Subject: [scilab-Users] Invitation to ScilabTec'10 In-Reply-To: <4C08FE36.30800@scilab.org> References: <4C08FE36.30800@scilab.org> Message-ID: Hello, I have not well understood what was the scope during Tuesday June 15. Could you inform me ? Best regards. Nous prot?geons notre environnement : n'imprimez ce mail que si n?cessaire. :._______________ CONFIDENTIALITE : Ce message et les ?ventuelles pi?ces attach?es sont confidentiels. Si vous n'?tes pas dans la liste des destinataires, veuillez informer l'exp?diteur imm?diatement et ne pas divulguer le contenu ? une tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas stocker ou copier l'information qu'il contient sur un quelconque support. -----Message d'origine----- De?: Scilab Communication [mailto:communication at scilab.org] Envoy??: vendredi 4 juin 2010 15:23 ??: dev at lists.scilab.org; users at lists.scilab.org Objet?: [scilab-Users] Invitation to ScilabTec'10 We are very pleased to invite you to the next annual Scilab Users' Day, ScilabTec'10 which will take place on Wednesday 16th 2010 at the ?cole Polytechnique. Free online registration at: http://www.teratec.eu/gb/forum/inscription.php Program includes: technical workshops on the morning on Scilab 6, Xcos, GPU Programming with HPC Project... and conferences on the afternoon with the MIT, National Instruments, Nvidia, PSA Peugeot Citro?n, VALEO, INRIA and the ?cole des Mines de Saint-?tienne. Complete program available at: http://www.scilab.org/en/news/events/20100517 Best Regards, ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France -------------- next part -------------- A non-text attachment was scrubbed... Name: Pierre PERRICHON.vcf Type: application/octet-stream Size: 1580 bytes Desc: not available URL: From julie.paul at scilab.org Mon Jun 7 09:01:23 2010 From: julie.paul at scilab.org (Julie PAUL) Date: Mon, 7 Jun 2010 09:01:23 +0200 Subject: [scilab-Users] Invitation to ScilabTec'10 In-Reply-To: References: <4C08FE36.30800@scilab.org> Message-ID: Hello Pierre, ScilabTec is organized within Ter at tec Forum which is an event dedicated on HPC developments and innovation. The first day (15th of June) will propose plenary sessions and an exhibition. The second day (16th of June) is dedicated to workshops. The Scilab Consortium participates to both days, with a stand on the first, and our Users' Day on the second. For further information you can have a look on Ter at tec website : http://www.teratec.eu/gb/forum/index.html Best Regards ------------------------- Julie PAUL Communication Officer Phone: +33.1.39.63.55.26 ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France Le 7 juin 10 ? 08:49, Perrichon Pierre a ?crit : > Hello, > I have not well understood what was the scope during Tuesday June 15. > Could you inform me ? > Best regards. > > > > Nous prot?geons notre environnement : n'imprimez ce mail que si > n?cessaire. > :._______________ > > CONFIDENTIALITE : Ce message et les ?ventuelles pi?ces attach?es sont > confidentiels. Si vous n'?tes pas dans la liste des destinataires, > veuillez > informer l'exp?diteur imm?diatement et ne pas divulguer le contenu ? > une > tierce personne, ne pas l'utiliser pour quelque raison que ce soit, > ne pas > stocker ou copier l'information qu'il contient sur un quelconque > support. > > > -----Message d'origine----- > De : Scilab Communication [mailto:communication at scilab.org] > Envoy? : vendredi 4 juin 2010 15:23 > ? : dev at lists.scilab.org; users at lists.scilab.org > Objet : [scilab-Users] Invitation to ScilabTec'10 > > We are very pleased to invite you to the next annual Scilab Users' > Day, > ScilabTec'10 which will take place on Wednesday 16th 2010 at the ?cole > Polytechnique. > Free online registration at: http://www.teratec.eu/gb/forum/inscription.php > > Program includes: technical workshops on the morning on Scilab 6, > Xcos, GPU > Programming with HPC Project... and conferences on the afternoon > with the > MIT, National Instruments, Nvidia, PSA Peugeot Citro?n, VALEO, INRIA > and the > ?cole des Mines de Saint-?tienne. > > Complete program available at: http://www.scilab.org/en/news/events/20100517 > > Best Regards, > > > ----------------------------------------------- > The Scilab Consortium R&D Team > ----------------------------------------------- > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex - France > > > From Samuel.Gougeon at univ-lemans.fr Mon Jun 7 11:18:28 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Mon, 07 Jun 2010 11:18:28 +0200 Subject: reading or loading big files In-Reply-To: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> References: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> Message-ID: <4C0CB964.90207@univ-lemans.fr> Hello, ----- Message d'origine ----- De : Hsu (David) Date : 05/06/2010 08:20: > I am just learning SciLab. I need to read enormous EEG files > (electroencephalograms), for example, 20 channels sampled at 32,000 Hz > for days on end. This data may be saved as a matrix with 20 columns > but a huge number of rows, so big that I run up against size limits if > I try to load the whole thing as a matrix. This data is usually in > binary format. I tried using stacksize('max') to maximize these size > limits but am still running into size limits. A simple calculation: 20 channels x 32000 measurements/s/channel x 1 byte/measurement x 3600x24 s/day ~ 55 Gbytes/day If you want to load the whole data as a int8() or uint8() matrix (as minimal data format), you need at least ~ 60 Gbytes of RAM. Do you have it (assuming that Scilab or another software could handle it)? It looks unrealistic to load and handle these data as a whole into a matrix. You will likely need to use some detailled binary commands after mopen() : mseek(), mtell(), mget()... to read some piece of data. Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From yamaguchi.thomas at gmail.com Mon Jun 7 22:28:13 2010 From: yamaguchi.thomas at gmail.com (Thomas Yamaguchi) Date: Mon, 7 Jun 2010 16:28:13 -0400 Subject: cant save a file where a multiplication (PROD_f) Message-ID: This is not allowing for file to be save and preventing to run the simulation. Is there a workaround? From gnelson at quantasonics.com Tue Jun 8 02:34:33 2010 From: gnelson at quantasonics.com (Gary Nelson) Date: Mon, 7 Jun 2010 17:34:33 -0700 Subject: [scilab-Users] Re: reading or loading big files In-Reply-To: <4C0CB964.90207@univ-lemans.fr> References: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> <4C0CB964.90207@univ-lemans.fr> Message-ID: I have a similar issue with large wav files. Is there any way to read in a large file, for example in buffers, process the buffer(s) as if the data are continuous, and write out results so that stacksize is not exceeded? For example, suppose I want to simply filter a large (>100MB) file with a complex FIR filter 401 points long and save the results in another file. One issue that I don't understand yet deals with data format. My convolution routine wants the filter kernel as a row vector and the data as a column vector. However, wav files seem to read in as row vectors after which I transpose them. This continuous read-filter-write process would render my present method unworkable. Can a loadwav incoming file be transposed as it is read? A related issue -- so far all my tests have been done with known-length files using length(file). But if we don't bring the entire file in before we begging filtering, can we know the length? Thanks Gary Nelson On Jun 7, 2010, at 2:18 AM, Samuel Gougeon wrote: > Hello, > > ----- Message d'origine ----- > De : Hsu (David) > Date : 05/06/2010 08:20: >> >> I am just learning SciLab. I need to read enormous EEG files (electroencephalograms), for example, 20 channels sampled at 32,000 Hz for days on end. This data may be saved as a matrix with 20 columns but a huge number of rows, so big that I run up against size limits if I try to load the whole thing as a matrix. This data is usually in binary format. I tried using stacksize('max') to maximize these size limits but am still running into size limits. > A simple calculation: > 20 channels x 32000 measurements/s/channel x 1 byte/measurement > x 3600x24 s/day ~ 55 Gbytes/day > If you want to load the whole data as a int8() or uint8() matrix > (as minimal data format), you need at least ~ 60 Gbytes of RAM. > Do you have it (assuming that Scilab or another software could handle it)? > It looks unrealistic to load and handle these data as a whole into a matrix. > You will likely need to use some detailled binary commands > after mopen() : mseek(), mtell(), mget()... to read some piece of data. > > Samuel > Gary Nelson gnelson at quantasonics.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From coolastro at gmail.com Tue Jun 8 01:04:30 2010 From: coolastro at gmail.com (bhargav vaidya) Date: Mon, 7 Jun 2010 16:04:30 -0700 Subject: Latex fonts in xs2eps Message-ID: <7E9ED096-DB64-4395-BDEA-0235057F5845@gmail.com> Hello Scilab Users..... I have recently started using scilab .and find it very useful especially after using Matlab for some years now.. .. I am trying to export a plot to eps file using xs2eps(win_num,'plotname.eps') I have also tried xs2eps(gcf(),'plotname.eps') . .. the plot labels have Latex fonts I can see them very well in the Graphics window generated by Scilab BUT the problem is then when I see the eps file these fonts do not appear in the eps version... It would be great if someone can help me with this regards. Cheers Bhargav Vaidya From t_sedgman at yahoo.com Tue Jun 8 11:31:01 2010 From: t_sedgman at yahoo.com (tom sedgman) Date: Tue, 8 Jun 2010 02:31:01 -0700 (PDT) Subject: [scilab-Users] conversion to matlab In-Reply-To: Message-ID: <96857.74123.qm@web38502.mail.mud.yahoo.com> Hi, is there a function with the same or similar function to the audiosample function in MATLAB, the help files have turned a blank. here is the code i'm trying to convert from MATLAB, i've converted all except for this last function: > f = (k-1)*50+1; % First sample in the segment > L = f + 50; % Last sample in the segment > segment = audioSample(f:L) any help would be greatly appreciated. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanjeev211988 at gmail.com Tue Jun 8 11:38:53 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Tue, 8 Jun 2010 12:38:53 +0300 Subject: Problem saving xcos file. Message-ID: Hi, I am using Scilab version 5.2.2 with Xcos 1.0. I am facing a problem in saving any model (even blank diagram) in Xcos. I even reinstalled the software, still the problem persists. Please help me in this regard. Thanks in anticipation. -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Tue Jun 8 11:44:28 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Tue, 08 Jun 2010 11:44:28 +0200 Subject: [scilab-Users] Problem saving xcos file. In-Reply-To: References: Message-ID: <1275990268.2117.7.camel@pinarellu.inria.fr> Hello, Can you post any useful backtrace from the Scilab console or from the console window (use F12 on windows to get it) please ? -- Cl?ment DAVID > Hi, > > I am using Scilab version 5.2.2 with Xcos 1.0. I am facing a problem > in saving any model (even blank diagram) in Xcos. I even reinstalled > the software, still the problem persists. Please help me in this > regard. Thanks in anticipation. > > -- > Sanjeev Pandey > > Graduate Student, > Process Systems Engineering > Helsinki University of Technology,Finland From sanjeev211988 at gmail.com Tue Jun 8 11:45:26 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Tue, 8 Jun 2010 12:45:26 +0300 Subject: [scilab-Users] Problem saving xcos file. In-Reply-To: <1275990268.2117.7.camel@pinarellu.inria.fr> References: <1275990268.2117.7.camel@pinarellu.inria.fr> Message-ID: ___________________________________________ scilab-5.2.2 Consortium Scilab (DIGITEO) Copyright (c) 1989-2010 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException : String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.scilab.modules.xcos.graph.XcosDiagram.saveDiagramAs(Unknown Sourc e) at org.scilab.modules.xcos.graph.XcosDiagram.saveDiagram(Unknown Source) at org.scilab.modules.xcos.actions.SaveAction.actionPerformed(Unknown So urce) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Is this what you meant? 2010/6/8 Cl?ment DAVID > Hello, > > Can you post any useful backtrace from the Scilab console or from the > console window (use F12 on windows to get it) please ? > > -- > Cl?ment DAVID > > > Hi, > > > > I am using Scilab version 5.2.2 with Xcos 1.0. I am facing a problem > > in saving any model (even blank diagram) in Xcos. I even reinstalled > > the software, still the problem persists. Please help me in this > > regard. Thanks in anticipation. > > > > -- > > Sanjeev Pandey > > > > Graduate Student, > > Process Systems Engineering > > Helsinki University of Technology,Finland > > -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From calixte.denizet at ac-rennes.fr Tue Jun 8 11:51:05 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 08 Jun 2010 11:51:05 +0200 Subject: [scilab-Users] Latex fonts in xs2eps In-Reply-To: <7E9ED096-DB64-4395-BDEA-0235057F5845@gmail.com> References: <7E9ED096-DB64-4395-BDEA-0235057F5845@gmail.com> Message-ID: <1275990665.2241.10.camel@calixte-laptop> Le lundi 07 juin 2010 ? 16:04 -0700, bhargav vaidya a ?crit : > Hello Scilab Users..... > Hello Bhargav, > I have recently started using scilab .and find it very useful especially after using Matlab for some years now.. > .. I am trying to export a plot to eps file using > xs2eps(win_num,'plotname.eps') > I have also tried xs2eps(gcf(),'plotname.eps') > . Could make a bug report at bugzilla.scilab.org in giving the way to reproduce the bug, the os where you work,... ? Calixte > .. the plot labels have Latex fonts I can see them very well in the Graphics window generated by Scilab BUT the problem is then when I see the eps file these fonts do not appear in the eps version... > > It would be great if someone can help me with this regards. > > > Cheers > Bhargav Vaidya From clement.david at scilab.org Tue Jun 8 11:53:59 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Tue, 08 Jun 2010 11:53:59 +0200 Subject: [scilab-Users] Problem saving xcos file. In-Reply-To: References: <1275990268.2117.7.camel@pinarellu.inria.fr> Message-ID: <1275990839.2117.10.camel@pinarellu.inria.fr> Thanks, for this backtrace. Can you check the latest nightly build [http://www.scilab.org/communities/developer_zone/scilab_versions/development/branch_master] please ? Can you post the filepath where you are trying to save ? > Exception in thread "AWT-EventQueue-0" > java.lang.StringIndexOutOfBoundsException > : String index out of range: -1 > at java.lang.String.substring(Unknown Source) > at > org.scilab.modules.xcos.graph.XcosDiagram.saveDiagramAs(Unknown Sourc > e) From sanjeev211988 at gmail.com Tue Jun 8 12:46:48 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Tue, 8 Jun 2010 13:46:48 +0300 Subject: [scilab-Users] Problem saving xcos file. In-Reply-To: <1275990839.2117.10.camel@pinarellu.inria.fr> References: <1275990268.2117.7.camel@pinarellu.inria.fr> <1275990839.2117.10.camel@pinarellu.inria.fr> Message-ID: Hey, I downloaded Scilab from the above mentioned link and Xcos is saving models now! Thanks for the help. I was previously trying to save the Xcos model on desktop as well as in the Scilab folder. Regards, Sanjeev Pandey 2010/6/8 Cl?ment DAVID > Thanks, for this backtrace. > > Can you check the latest nightly build > [ > http://www.scilab.org/communities/developer_zone/scilab_versions/development/branch_master] > please ? > > Can you post the filepath where you are trying to save ? > > > Exception in thread "AWT-EventQueue-0" > > java.lang.StringIndexOutOfBoundsException > > : String index out of range: -1 > > at java.lang.String.substring(Unknown Source) > > at > > org.scilab.modules.xcos.graph.XcosDiagram.saveDiagramAs(Unknown Sourc > > e) > > > -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From t_sedgman at yahoo.com Tue Jun 8 13:20:20 2010 From: t_sedgman at yahoo.com (tom sedgman) Date: Tue, 8 Jun 2010 04:20:20 -0700 (PDT) Subject: [scilab-Users] conversion to matlab In-Reply-To: <96857.74123.qm@web38502.mail.mud.yahoo.com> Message-ID: <466134.69466.qm@web38508.mail.mud.yahoo.com> Please disregard, problem solved. --- On Tue, 8/6/10, tom sedgman wrote: From: tom sedgman Subject: [scilab-Users] conversion to matlab To: users at lists.scilab.org Date: Tuesday, 8 June, 2010, 10:31 Hi, is there a function with the same or similar function to the audiosample function in MATLAB, the help files have turned a blank. here is the code i'm trying to convert from MATLAB, i've converted all except for this last function: > f = (k-1)*50+1; % First sample in the segment > L = f + 50; % Last sample in the segment > segment = audioSample(f:L) any help would be greatly appreciated. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From aleksve at gmail.com Tue Jun 8 13:43:10 2010 From: aleksve at gmail.com (Aleksander Veksler) Date: Tue, 8 Jun 2010 13:43:10 +0200 Subject: Bug report? Message-ID: I get the exception listed below every time I try to connect an out_f inside a superblock. After that, superblock window freezes and refuses to even close. This is the latest nightly build. I am on Kubuntu, OpenJDK. Advise? Ragards, AV Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.scilab.modules.xcos.io.scicos.LinkElement.encodePoints(Unknown Source) at org.scilab.modules.xcos.io.scicos.LinkElement.encode(Unknown Source) at org.scilab.modules.xcos.io.scicos.DiagramElement.fillObjs(Unknown Source) at org.scilab.modules.xcos.io.scicos.DiagramElement.encode(Unknown Source) at org.scilab.modules.xcos.io.scicos.DiagramElement.encode(Unknown Source) at org.scilab.modules.xcos.io.scicos.AbstractElement.encode(Unknown Source) at org.scilab.modules.xcos.graph.XcosDiagram$SuperBlockUpdateTracker.invoke(Unknown Source) at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) at org.scilab.modules.xcos.block.SuperBlock.updateExportedPort(Unknown Source) at org.scilab.modules.xcos.graph.SuperBlockDiagram$GenericSuperBlockListener.invoke(Unknown Source) at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) at com.mxgraph.view.mxGraph.cellsAdded(Unknown Source) at com.mxgraph.view.mxGraph.addCells(Unknown Source) at com.mxgraph.view.mxGraph.addCell(Unknown Source) at com.mxgraph.view.mxGraph.addEdge(Unknown Source) at org.scilab.modules.xcos.graph.XcosDiagram.addEdge(Unknown Source) at com.mxgraph.view.mxGraph.insertEdge(Unknown Source) at com.mxgraph.view.mxGraph.insertEdge(Unknown Source) at com.mxgraph.swing.handler.mxConnectionHandler.insertEdge(Unknown Source) at com.mxgraph.swing.handler.mxConnectionHandler.connect(Unknown Source) at com.mxgraph.swing.handler.mxConnectionHandler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Tue Jun 8 13:55:30 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Tue, 08 Jun 2010 13:55:30 +0200 Subject: [scilab-Users] Bug report? In-Reply-To: References: Message-ID: <1275998130.2117.11.camel@pinarellu.inria.fr> Please file a bug. Regards, -- Cl?ment DAVID > I get the exception listed below every time I try to connect an out_f > inside a superblock. After that, superblock window freezes and refuses > to even close. This is the latest nightly build. I am on Kubuntu, > OpenJDK. Advise? > > Ragards, > > AV > > > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at > org.scilab.modules.xcos.io.scicos.LinkElement.encodePoints(Unknown > Source) > at > org.scilab.modules.xcos.io.scicos.LinkElement.encode(Unknown Source) > at > org.scilab.modules.xcos.io.scicos.DiagramElement.fillObjs(Unknown > Source) > at > org.scilab.modules.xcos.io.scicos.DiagramElement.encode(Unknown > Source) > at > org.scilab.modules.xcos.io.scicos.DiagramElement.encode(Unknown > Source) > at > org.scilab.modules.xcos.io.scicos.AbstractElement.encode(Unknown > Source) > at org.scilab.modules.xcos.graph.XcosDiagram > $SuperBlockUpdateTracker.invoke(Unknown Source) > at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) > at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) > at > org.scilab.modules.xcos.block.SuperBlock.updateExportedPort(Unknown > Source) > at org.scilab.modules.xcos.graph.SuperBlockDiagram > $GenericSuperBlockListener.invoke(Unknown Source) > at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) > at com.mxgraph.util.mxEventSource.fireEvent(Unknown Source) > at com.mxgraph.view.mxGraph.cellsAdded(Unknown Source) > at com.mxgraph.view.mxGraph.addCells(Unknown Source) > at com.mxgraph.view.mxGraph.addCell(Unknown Source) > at com.mxgraph.view.mxGraph.addEdge(Unknown Source) > at org.scilab.modules.xcos.graph.XcosDiagram.addEdge(Unknown > Source) > at com.mxgraph.view.mxGraph.insertEdge(Unknown Source) > at com.mxgraph.view.mxGraph.insertEdge(Unknown Source) > at > com.mxgraph.swing.handler.mxConnectionHandler.insertEdge(Unknown > Source) > at > com.mxgraph.swing.handler.mxConnectionHandler.connect(Unknown Source) > at > com.mxgraph.swing.handler.mxConnectionHandler.mouseReleased(Unknown > Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown > Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown > Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown > Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown > Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown > Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > From masy07 at wanadoo.fr Tue Jun 8 16:49:21 2010 From: masy07 at wanadoo.fr (Samy) Date: Tue, 8 Jun 2010 16:49:21 +0200 (CEST) Subject: problem with loader.sce (interfacing) Message-ID: <7372700.200871.1276008561556.JavaMail.www@wwinf1g11> Hello, I'm trying to interface C programs with Scilab by using SWIG as it has been advised to me. I have followed the process : * wrote the file "myfile.i" * in the shell --> swig -scilab myfile.i (in the right directory) * exec builder.sce in scilab All seem to be working until here. Then I have to "exec loader.sce" in scilab but it doesn't work. I have an example for a very (very) simple function : * "essai.i" : [ %module essai %{ int somme(int x, int y); %} extern int somme(int x, int y); ] * "essai.c" : [ #include int somme(int x, int y) { int res=x+y; return res; }; ] * here is the error message after executing "loader.sce" : " -->exec loader.sce -->// This file is released into the public domain -->// Generated by builder.sce : Please, do not edit this file -->// -->libessailib_path = get_file_path('loader.sce'); -->list_functions = [ 'somme'; -->]; -->addinter(libessailib_path+'/libessailib.so','libessailib',list_functions); Link failed for dynamic library '/home/samy/Desktop/fonction1//libessailib.so'. An error occurred: /home/samy/Desktop/fonction1//libessailib.so: undefined symbol: somme Link failed for dynamic library '/home/samy/Desktop/fonction1//libessailib.so'. An error occurred: /home/samy/Desktop/fonction1//libessailib.so: undefined symbol: somme addinter(libessailib_path+'/libessailib.so','libessailib',list_functions); !--error 236 addinter: The shared archive was not loaded: (null) at line 7 of exec file called by : exec loader.sce " I have tried to link the "libessailib.so" created after having executed "builder.sce". I link it just after executing "builder.sce" but I have a new error message : " -->link('/home/samy/Desktop/fonction1/libessailib.so') Link failed for dynamic library '/home/samy/Desktop/fonction1/libessailib.so'. An error occurred: /home/samy/Desktop/fonction1/libessailib.so: undefined symbol: somme !--error 236 link: The shared archive was not loaded: (null) " I don't know why it does not work, I don't know if my file "essai.i" is not correct or if it is something else. Could you help me please !!! Thanks. Samy From haraldgalda at yahoo.com Tue Jun 8 19:05:54 2010 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Tue, 8 Jun 2010 10:05:54 -0700 (PDT) Subject: AW: [scilab-Users] IPD Toolbox. Manual installation problem In-Reply-To: References: Message-ID: <202264.30132.qm@web112602.mail.gq1.yahoo.com> Dear Eduardo Tarasiuk, I am writing in connection with your question concerning different ZIP files. usually toolbox authors submit only the sources. Then the Scilab team creates the full versions for Windows and Linux. This is called Atoms Compilation Chain. Everything works correctly when installing a toolbox with atomsInstall(). However, IPD has never been compilated by Atoms Compilation Chain. This is the reason for problems that occur when trying to install IPD using atomsInstall(). I uploaded the full Windows version so users can download and extract it to the contrib directory. Best regards Harald Galda, Dr. Eng. (J) ________________________________ Von: Eduardo Tarasiuk An: "users at lists.scilab.org" Gesendet: Samstag, den 5. Juni 2010, 14:37:54 Uhr Betreff: [scilab-Users] IPD Toolbox. Manual installation problem Very Sorry My Problem, copying the installed SCILAB\contrib\archives\IPD-5-0-Windows.zip in a standalone machine and executing the loader.sce worked on a different machine. My only open question is why the zip included in the Toolboxes download is very different from the zip archived by ATOMS in the contrib\archives folder. Thanks ! Eduardo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanjeev211988 at gmail.com Wed Jun 9 16:40:23 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Wed, 9 Jun 2010 17:40:23 +0300 Subject: Stateflow toolbox for Scilab? Message-ID: Hi, Please let me know if there is a toolbox in Scilab which is similar to Stateflow toolbox availiablt in Matlab? Regards, -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Jun 9 17:14:11 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 09 Jun 2010 17:14:11 +0200 Subject: [scilab-Users] Stateflow toolbox for Scilab? In-Reply-To: References: Message-ID: <1276096451.7149.32.camel@zlarin> Le mercredi 09 juin 2010 ? 17:40 +0300, sanjeev pandey a ?crit : > Hi, > > Please let me know if there is a toolbox in Scilab which is similar to > Stateflow toolbox availiablt in Matlab? For now, AFAIK, no. However, we have regular requests about this subject. In the context of the Google Summer of project 2010, we started an experimental project to create a Hybrid Automata module. Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From sanjeev211988 at gmail.com Wed Jun 9 17:28:19 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Wed, 9 Jun 2010 18:28:19 +0300 Subject: [scilab-Users] Stateflow toolbox for Scilab? In-Reply-To: <1276096451.7149.32.camel@zlarin> References: <1276096451.7149.32.camel@zlarin> Message-ID: Thanks for the information. On Wed, Jun 9, 2010 at 6:14 PM, Sylvestre Ledru wrote: > Le mercredi 09 juin 2010 ? 17:40 +0300, sanjeev pandey a ?crit : > > Hi, > > > > Please let me know if there is a toolbox in Scilab which is similar to > > Stateflow toolbox availiablt in Matlab? > For now, AFAIK, no. However, we have regular requests about this > subject. > In the context of the Google Summer of project 2010, we started an > experimental project to create a Hybrid Automata module. > > Sylvestre > > -- > ------------------------- > Sylvestre Ledru > ------------------------- > The Scilab Consortium > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > France > > -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.baugh at idusconsultancy.co.uk Thu Jun 10 14:36:54 2010 From: stephen.baugh at idusconsultancy.co.uk (Stephen Baugh) Date: Thu, 10 Jun 2010 13:36:54 +0100 Subject: *****SPAM***** unsubscribe Message-ID: <000301cb0899$9c5e10e0$d51a32a0$@baugh@idusconsultancy.co.uk> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanjeev211988 at gmail.com Thu Jun 10 15:47:21 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Thu, 10 Jun 2010 16:47:21 +0300 Subject: Problem using Super Block in Xcos. Message-ID: Hi, I have been trying to make a Xcos model of a dynamic system with the help of Super Blocks. I started by defining variables in the context of the main diagram, and as per theory (of Scicos) all the variables should automtically be available in the super block. I tried to use those variables in the super block but they are unavailiable. Also please let me know if there is a ''Availiable parameters'' menu in Xcos, which is present in the Scicos version. I am using the ''IN_f'' and ''OUT_f'' blocks present in Port&Subsystem palette for the I/O in super block. Is it the correct way? Also, I tried to select a region in the main diagram and tried to make a super block region, that also dint work out and the status says ''Generate Super Block'' and remains there forever. Please help! Thanks in anticipation. Regards, -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From acm at cin.ufpe.br Thu Jun 10 16:12:06 2010 From: acm at cin.ufpe.br (Alexandre Cabral Mota) Date: Thu, 10 Jun 2010 11:12:06 -0300 Subject: [scilab-Users] From Scilab to Simulink input format Message-ID: Dear all, Please, what are the kinds of conversion utilities that I can use to exchange Scilab and Simulink files? I have some Scilab projects that I would like to export to Simulink's format in order to use scientific tools designed to work with Simulink elements (saved as MDL files). I do not intend to use Simulink. I just want my Scilab projects in Simulink's format to use as input to research tools, like model checkers, theorem provers, static checkers, etc. Best wishes, Alexandre. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Thu Jun 10 16:44:00 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Thu, 10 Jun 2010 16:44:00 +0200 Subject: [scilab-Users] cant save a file where a multiplication (PROD_f) In-Reply-To: References: Message-ID: <1276181040.2253.87.camel@pinarellu.inria.fr> Hello, This problem has been corrected on the nightly build versions. You can try it as a workaround. Regards, -- Cl?ment > This is not allowing for file to be save and preventing to run the simulation. > > Is there a workaround? From guillaume.jacquenot at gmail.com Fri Jun 11 11:07:28 2010 From: guillaume.jacquenot at gmail.com (Guillaume Jacquenot) Date: Fri, 11 Jun 2010 11:07:28 +0200 Subject: Scilab API Create/Read Structure Message-ID: Dear Scilab users Is-it possible to handle Scilab structures with the Scilab API, ie read a Scilab structure in a C code, or write a Scilab structure from a C code? In Scilab API help, there is no function that proposes to do this. Or I have not found the right one... For example, I would like to read in C the structure Scilab SC SC(1).x=[1]; SC(1).y=[1 3]; SC(2).x=[1 2 10]; SC(2).y=[1 6 98 35 14]; To be more precise, I am trying to convert a MatLab mex program to Scilab with arguments given as structure. I am looking for the Scilab-C equivalent mxGetFieldNumber mxCreateStructArray mxSetFieldByNumber By the way, I just discover the function ilib_mex_build, that is based on mexlib.c. Does this work for any Matab mex code? Is this solution reliable? Is this solution recommended to convert Matab mex code to Scilab? Best regards Guillaume -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.vergnes at cnes.fr Fri Jun 11 17:59:32 2010 From: nicolas.vergnes at cnes.fr (Vergnes Nicolas (STERIA)) Date: Fri, 11 Jun 2010 17:59:32 +0200 Subject: Scilab-5.2.2 on RedHat 4 In-Reply-To: References: Message-ID: Hello, Ok, so I use pre-compiled binaries of scilab on our RedHat x86_64 cluster, in remote session with cygwin (I tested with Exceed to same problem) All is ok in -nogui mode .... but when I start scilab in graphic mode : On a RedHat 5.x node : Scilab 5.1.1 works Scilab 5.2.0 works Scilab 5.2.2 works On a RedHat 4 as7 node : Scilab 5.1.1 works Scilab 5.2.0 works Scilab 5.2.2 dont work !!! with 5.2.2 nothing append it's the same probleme like when I start all my own compiled versions of scilab 5 5.1 and 5.2 ( When I compile scilab 5.x commandline mode is OK, and the lauching of GUI dont make nothing , no error message and dont give me back the shell ) . Do you know what changes or new checks from 5.2.0 to 5.2.2 could make this kind of problem on the GUI lauching ? Thanks! Nicolas Vergnes Produits & Logiciels Cnes 3IRT/AP /POL -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Jun 11 15:20:28 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 11 Jun 2010 15:20:28 +0200 Subject: [scilab-Users] From Scilab to Simulink input format In-Reply-To: References: Message-ID: <1276262428.8254.35.camel@zlarin> Hello, Le jeudi 10 juin 2010 ? 11:12 -0300, Alexandre Cabral Mota a ?crit : > Dear all, > > Please, what are the kinds of conversion utilities that I can use > to exchange Scilab and Simulink files? I have some Scilab projects > that I would like to export to Simulink's format in order to use > scientific tools designed to work with Simulink elements (saved as MDL > files). I do not intend to use Simulink. I just want my Scilab > projects in Simulink's format to use as input to research tools, like > model checkers, theorem provers, static checkers, etc. In the context of the Google Summer of Code 2010, we are working in providing an importer from Simulink to Xcos. However, I don't see an export to MDL in a close future. However, we are considering an exporter to the SysML format [1] and we are in touch with some partners in order to introduce some checkers on the schema. Sylvestre [1] http://en.wikipedia.org/wiki/Systems_Modeling_Language -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From sylvestre.ledru at scilab.org Fri Jun 11 23:23:22 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 11 Jun 2010 23:23:22 +0200 Subject: [scilab-Users] Scilab-5.2.2 on RedHat 4 In-Reply-To: References: Message-ID: <1276291402.8254.345.camel@zlarin> Le vendredi 11 juin 2010 ? 17:59 +0200, Vergnes Nicolas (STERIA) a ?crit : > Hello, > > Ok, so I use pre-compiled binaries of scilab on our RedHat > x86_64 cluster, in remote session with cygwin (I tested with Exceed to > same problem) > All is ok in -nogui mode > > .... but when I start scilab in graphic mode : > > On a RedHat 5.x node : > Scilab 5.1.1 works > Scilab 5.2.0 works > Scilab 5.2.2 works > > On a RedHat 4 as7 node : > Scilab 5.1.1 works > Scilab 5.2.0 works > Scilab 5.2.2 dont work !!! What means "does not work" ? Really nothing happened ? Is Scilab 100 % CPU load or 0 % ? Did you try with strace to see where it is stuck ? strace -f -o scilab_system.log scilab could help to see where it is wrong. > Do you know what changes or new checks from 5.2.0 to 5.2.2 could make > this kind of problem on the GUI lauching ? We did some updates in the startup script. I just had a look on the changelog and I don't see major modifications between versions (5.2.0 & 5.2.2) which could lead to such issues. Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From coolastro at gmail.com Sat Jun 12 00:19:21 2010 From: coolastro at gmail.com (bhargav vaidya) Date: Fri, 11 Jun 2010 15:19:21 -0700 Subject: [scilab-Users] Latex fonts in xs2eps In-Reply-To: <1275990665.2241.10.camel@calixte-laptop> References: <7E9ED096-DB64-4395-BDEA-0235057F5845@gmail.com> <1275990665.2241.10.camel@calixte-laptop> Message-ID: Hello I managed to get rid of the problem ... its seems that one needs to add more packages in LateX file. So after converting window graphics to eps with xs2eps command when i include these graphics my TeX file i do the add the following packages and it seems to work,... \usepackage{psfrag} \usepackage{graphicx} \psfragscanon \includegraphics{plotname.eps} Cheers Bhargav Vaiday On Jun 8, 2010, at 2:51 AM, calixte wrote: > Le lundi 07 juin 2010 ? 16:04 -0700, bhargav vaidya a ?crit : >> Hello Scilab Users..... >> > > Hello Bhargav, > >> I have recently started using scilab .and find it very useful especially after using Matlab for some years now.. >> .. I am trying to export a plot to eps file using >> xs2eps(win_num,'plotname.eps') >> I have also tried xs2eps(gcf(),'plotname.eps') >> . > > Could make a bug report at bugzilla.scilab.org in giving the way to > reproduce the bug, the os where you work,... ? > > Calixte > >> .. the plot labels have Latex fonts I can see them very well in the Graphics window generated by Scilab BUT the problem is then when I see the eps file these fonts do not appear in the eps version... >> >> It would be great if someone can help me with this regards. >> >> >> Cheers >> Bhargav Vaidya > > From calixte.denizet at ac-rennes.fr Sat Jun 12 00:44:05 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Sat, 12 Jun 2010 00:44:05 +0200 Subject: [scilab-Users] Latex fonts in xs2eps In-Reply-To: References: <7E9ED096-DB64-4395-BDEA-0235057F5845@gmail.com> <1275990665.2241.10.camel@calixte-laptop> Message-ID: <1276296245.2228.22.camel@calixte-laptop> Hello Bhargav, Interessant but you didn't explain what is exactly the problem, so your solution cannot be useful for the other users (and for me who is interested by this kind of problem) Calixte Le vendredi 11 juin 2010 ? 15:19 -0700, bhargav vaidya a ?crit : > Hello > > I managed to get rid of the problem ... its seems that one needs to add more packages in LateX file. > > > So after converting window graphics to eps with xs2eps command when i include these graphics my TeX file i do the add the following packages and it seems to work,... > > > \usepackage{psfrag} > \usepackage{graphicx} > \psfragscanon > \includegraphics{plotname.eps} > > Cheers > Bhargav Vaiday > > On Jun 8, 2010, at 2:51 AM, calixte wrote: > > > Le lundi 07 juin 2010 ? 16:04 -0700, bhargav vaidya a ?crit : > >> Hello Scilab Users..... > >> > > > > Hello Bhargav, > > > >> I have recently started using scilab .and find it very useful especially after using Matlab for some years now.. > >> .. I am trying to export a plot to eps file using > >> xs2eps(win_num,'plotname.eps') > >> I have also tried xs2eps(gcf(),'plotname.eps') > >> . > > > > Could make a bug report at bugzilla.scilab.org in giving the way to > > reproduce the bug, the os where you work,... ? > > > > Calixte > > > >> .. the plot labels have Latex fonts I can see them very well in the Graphics window generated by Scilab BUT the problem is then when I see the eps file these fonts do not appear in the eps version... > >> > >> It would be great if someone can help me with this regards. > >> > >> > >> Cheers > >> Bhargav Vaidya > > > > > From christophe.solere at gmail.com Sat Jun 12 11:35:28 2010 From: christophe.solere at gmail.com (Christophe) Date: Sat, 12 Jun 2010 10:35:28 +0100 Subject: SciMysql : Mysql for Scilab and storing result set in a matrix Message-ID: <4C1354E0.4080205@gmail.com> Is there a way to fetch the full content of a query result, or a certain number of rows predefined, into a matrix or a list using SciMysql in Scilab? Right now the only way I can do that is to loop through the content which is an inconvenient way to work with large dataset. I think R has a fetch command that does that. But also the Scilab ReadXls function does load the content of a spreadsheet into 2 matrix a number matric and a text matrix, which could be useful as well here. Thanks Christophe From christophe.solere at gmail.com Sat Jun 12 13:20:27 2010 From: christophe.solere at gmail.com (Christophe) Date: Sat, 12 Jun 2010 12:20:27 +0100 Subject: SciMysql connect to an ODBC data source Message-ID: <4C136D7B.4060507@gmail.com> I am currently working with SciMysql library. Is there a way to setup a connection string to query a database defined by and ODBC connection. Regards Christophe From z-saito at guitar.ocn.ne.jp Sat Jun 12 17:15:40 2010 From: z-saito at guitar.ocn.ne.jp (Hiroshi Saito) Date: Sun, 13 Jun 2010 00:15:40 +0900 Subject: [scilab-Users] SciMysql connect to an ODBC data source References: <4C136D7B.4060507@gmail.com> Message-ID: Hi Christophe-san. Sorry to be the reason this is not the help to you. but, I want to know the portion which you mean. It is if possible.. The interface of ODBC is under build status. (sorry, it has not upload yet.) http://forge.scilab.org/index.php/p/odbc/ and some information. http://www.winpg.jp/~saito/Scilab/ I use PostgreSQL. and, psqlODBC by PostgreSQL. http://psqlodbc.projects.postgresql.org/ Then, I'm examining the optimal usage. , what usage do you desire? Thank you in advance for your understanding. Best regards, Hiroshi Saito ----- Original Message ----- From: "Christophe" > > I am currently working with SciMysql library. > Is there a way to setup a connection string to query a database defined > by and ODBC connection. > > Regards > > Christophe From sylvestre.ledru at scilab.org Sat Jun 12 17:17:50 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 12 Jun 2010 17:17:50 +0200 Subject: [scilab-Users] SciMysql connect to an ODBC data source In-Reply-To: References: <4C136D7B.4060507@gmail.com> Message-ID: <1276355870.5048.33.camel@zlarin> Hello Horishi, By the way, do you have an idea on when the first release will be available ? ;) Thanks, Sylvestre Le dimanche 13 juin 2010 ? 00:15 +0900, Hiroshi Saito a ?crit : > Hi Christophe-san. > > Sorry to be the reason this is not the help to you. but, I want to know the portion > which you mean. It is if possible.. > > The interface of ODBC is under build status. (sorry, it has not upload yet.) > http://forge.scilab.org/index.php/p/odbc/ > and some information. > http://www.winpg.jp/~saito/Scilab/ > I use PostgreSQL. and, psqlODBC by PostgreSQL. > http://psqlodbc.projects.postgresql.org/ > > Then, I'm examining the optimal usage. , what usage do you desire? > Thank you in advance for your understanding. > > Best regards, > Hiroshi Saito > > ----- Original Message ----- > From: "Christophe" > > > > > > I am currently working with SciMysql library. > > Is there a way to setup a connection string to query a database defined > > by and ODBC connection. > > > > Regards > > > > Christophe -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From z-saito at guitar.ocn.ne.jp Sat Jun 12 17:29:50 2010 From: z-saito at guitar.ocn.ne.jp (Hiroshi Saito) Date: Sun, 13 Jun 2010 00:29:50 +0900 Subject: [scilab-Users] SciMysql connect to an ODBC data source References: <4C136D7B.4060507@gmail.com> <1276355870.5048.33.camel@zlarin> Message-ID: <066BFF6FD5664778AC1C275226AF9AE1@acer08f817a9b5> Hi Sylvestre-san. Ahhh, Probably I will development this summer, I don't have the margin of time yet. However, I dream strongly.!! It will be the release of autumn if allowed.:-) Regards, Hiroshi Saito ----- Original Message ----- From: "Sylvestre Ledru" > Hello Horishi, > > By the way, do you have an idea on when the first release will be > available ? ;) > > Thanks, > Sylvestre > > Le dimanche 13 juin 2010 ? 00:15 +0900, Hiroshi Saito a ?crit : >> Hi Christophe-san. >> >> Sorry to be the reason this is not the help to you. but, I want to know the portion >> which you mean. It is if possible.. >> >> The interface of ODBC is under build status. (sorry, it has not upload yet.) >> http://forge.scilab.org/index.php/p/odbc/ >> and some information. >> http://www.winpg.jp/~saito/Scilab/ >> I use PostgreSQL. and, psqlODBC by PostgreSQL. >> http://psqlodbc.projects.postgresql.org/ >> >> Then, I'm examining the optimal usage. , what usage do you desire? >> Thank you in advance for your understanding. >> >> Best regards, >> Hiroshi Saito >> >> ----- Original Message ----- >> From: "Christophe" >> >> >> > >> > I am currently working with SciMysql library. >> > Is there a way to setup a connection string to query a database defined >> > by and ODBC connection. >> > >> > Regards >> > >> > Christophe > > -- > ------------------------- > Sylvestre Ledru > ------------------------- > The Scilab Consortium > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > France > From christophe.solere at gmail.com Sat Jun 12 18:27:22 2010 From: christophe.solere at gmail.com (Christophe) Date: Sat, 12 Jun 2010 17:27:22 +0100 Subject: [scilab-Users] SciMysql connect to an ODBC data source In-Reply-To: References: <4C136D7B.4060507@gmail.com> Message-ID: <4C13B56A.9070008@gmail.com> Hi Hiroshi-San, I guess I was wondering if there was a way to set a connection string with the sql commands that are currently available in the scimysql package. It's great to know you are progressing and a stand alone odbc package. I can't wait for this summer. Arigato Gozaimashita, On 12/06/2010 16:15, Hiroshi Saito wrote: > Hi Christophe-san. > > Sorry to be the reason this is not the help to you. but, I want to > know the portion which you mean. It is if possible.. > > The interface of ODBC is under build status. (sorry, it has not upload > yet.) > http://forge.scilab.org/index.php/p/odbc/ > and some information. > http://www.winpg.jp/~saito/Scilab/ > I use PostgreSQL. and, psqlODBC by PostgreSQL. > http://psqlodbc.projects.postgresql.org/ > > Then, I'm examining the optimal usage. , what usage do you desire? > Thank you in advance for your understanding. > > Best regards, > Hiroshi Saito > > ----- Original Message ----- From: "Christophe" > > > >> >> I am currently working with SciMysql library. >> Is there a way to setup a connection string to query a database >> defined by and ODBC connection. >> >> Regards >> >> Christophe From z-saito at guitar.ocn.ne.jp Sat Jun 12 18:50:22 2010 From: z-saito at guitar.ocn.ne.jp (Hiroshi Saito) Date: Sun, 13 Jun 2010 01:50:22 +0900 Subject: [scilab-Users] SciMysql connect to an ODBC data source References: <4C136D7B.4060507@gmail.com> <4C13B56A.9070008@gmail.com> Message-ID: Hi. Ugaa..:-) I'm thinking about the still optimal usage. then, it is ad-hoc structure. However, I think that there are very few required functions. I do my best. thanks!! P.S) > Arigato Gozaimashita, doitashimashite!!:-) Regards, Hiroshi Saito ----- Original Message ----- From: "Christophe" > Hi Hiroshi-San, > > I guess I was wondering if there was a way to set a connection string > with the sql commands that are currently available in the scimysql > package. It's great to know you are progressing and a stand alone odbc > package. I can't wait for this summer. > > Arigato Gozaimashita, > > > On 12/06/2010 16:15, Hiroshi Saito wrote: >> Hi Christophe-san. >> >> Sorry to be the reason this is not the help to you. but, I want to >> know the portion which you mean. It is if possible.. >> >> The interface of ODBC is under build status. (sorry, it has not upload >> yet.) >> http://forge.scilab.org/index.php/p/odbc/ >> and some information. >> http://www.winpg.jp/~saito/Scilab/ >> I use PostgreSQL. and, psqlODBC by PostgreSQL. >> http://psqlodbc.projects.postgresql.org/ >> >> Then, I'm examining the optimal usage. , what usage do you desire? >> Thank you in advance for your understanding. >> >> Best regards, >> Hiroshi Saito >> >> ----- Original Message ----- From: "Christophe" >> >> >> >>> >>> I am currently working with SciMysql library. >>> Is there a way to setup a connection string to query a database >>> defined by and ODBC connection. >>> >>> Regards >>> >>> Christophe > From rfongtom at yahoo.com Mon Jun 14 05:12:29 2010 From: rfongtom at yahoo.com (Robert Fong) Date: Sun, 13 Jun 2010 20:12:29 -0700 (PDT) Subject: Probability plot Message-ID: <558760.76460.qm@web114319.mail.gq1.yahoo.com> Hi, Does Scilab have the functional equivalent of "probplot" in Matlab? Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.vergnes at cnes.fr Mon Jun 14 11:34:18 2010 From: nicolas.vergnes at cnes.fr (Vergnes Nicolas (STERIA)) Date: Mon, 14 Jun 2010 11:34:18 +0200 Subject: [scilab-Users] Scilab-5.2.2 on RedHat 4 In-Reply-To: <1276291402.8254.345.camel@zlarin> References: <1276291402.8254.345.camel@zlarin> Message-ID: Hello, yes, really nothing happens : scilab-bin is running makes working the cpu (~40-50%cpu) during few seconds, less than 1 or 2seconds, and after cpu goes to 0% and process scilab-bin seems to be always in S state, but I think it works even because the trace log keeps growing . Here is a tracelog with -f , I killed the scilab process after approximativly 20 seconds and the logfile is a 8Mo file. Sometimes, if I SIGINT scilab(5.2.2 on rh4), I receive this error message, otherwise it does display nothing on terminal. Could not create a Scilab main class. Error: Exception in thread "main" java.lang.ExceptionInInitializerError at org.flexdock.docking.props.RootDockablePropertySet.(RootDockablePropertySet.java:17) at org.flexdock.docking.props.ScopedDockablePropertySet.(ScopedDockablePropertySet.java:18) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.flexdock.docking.props.PropertyManager.class$(PropertyManager.java:28) at org.flexdock.docking.props.PropertyManager.(PropertyManager.java:32) at org.flexdock.docking.defaults.DefaultDockingPort.getDockingProperties(DefaultDockingPort.java:1851) at org.flexdock.docking.defaults.DefaultDockingPort.(DefaultDockingPort.java:306) at org.flexdock.docking.defaults.DefaultDockingPort.(DefaultDockingPort.java:287) at org.scilab.modules.gui.bridge.window.SwingScilabWindow.(Unknown Source) at org.scilab.modules.gui.window.ScilabWindowBridge.createWindow(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createWindow(Unknown Source) at org.scilab.modules.gui.window.ScilabWindow.(Unknown Source) at org.scilab.modules.gui.window.ScilabWindow.createWindow(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Caused by: java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(Unknown Source) at java.lang.Runtime.addShutdownHook(Unknown Source) at org.flexdock.docking.DockingManager.init(DockingManager.java:231) at org.flexdock.docking.DockingManager.(DockingManager.java:147) ... 15 more Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available). Thanks for your help, Nicolas Vergnes -----Message d'origine----- De : Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] Envoy? : vendredi 11 juin 2010 23:23 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Scilab-5.2.2 on RedHat 4 Le vendredi 11 juin 2010 ? 17:59 +0200, Vergnes Nicolas (STERIA) a ?crit : > Hello, > > Ok, so I use pre-compiled binaries of scilab on our RedHat > x86_64 cluster, in remote session with cygwin (I tested with Exceed to > same problem) > All is ok in -nogui mode > > .... but when I start scilab in graphic mode : > > On a RedHat 5.x node : > Scilab 5.1.1 works > Scilab 5.2.0 works > Scilab 5.2.2 works > > On a RedHat 4 as7 node : > Scilab 5.1.1 works > Scilab 5.2.0 works > Scilab 5.2.2 dont work !!! What means "does not work" ? Really nothing happened ? Is Scilab 100 % CPU load or 0 % ? Did you try with strace to see where it is stuck ? strace -f -o scilab_system.log scilab could help to see where it is wrong. > Do you know what changes or new checks from 5.2.0 to 5.2.2 could make > this kind of problem on the GUI lauching ? We did some updates in the startup script. I just had a look on the changelog and I don't see major modifications between versions (5.2.0 & 5.2.2) which could lead to such issues. Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab522.log.tgz Type: application/x-compressed Size: 470983 bytes Desc: scilab522.log.tgz URL: From joerg.rudnick at t-online.de Tue Jun 15 00:20:53 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Tue, 15 Jun 2010 00:20:53 +0200 Subject: [scilab-Users] cant save a file where a multiplication (PROD_f) In-Reply-To: <1276181040.2253.87.camel@pinarellu.inria.fr> References: <1276181040.2253.87.camel@pinarellu.inria.fr> Message-ID: <4C16AB45.7060303@t-online.de> Thank you for your efforts, we use Scilab for university lectures this semester, and we would like to introduce Xcos to our students for this sake. Unfortunately, at the moment, as we understand, (a) the current release version 5.2.2 still suffers from the PROD_f problem (which we discovered for addition before we realized it should be the same problem) on a great deal of platforms Linux and Windows as well. (b) meanwhile, the nightly build versions seemingly do not allow copying blocks out out the palette browser onto the model window, which appears even more aggravating to us. I would be very grateful to anybody who would point the way to a version which is can be used for academic teaching -- something which we can be present to our students, preferably binaries. I think there was a usable version at some point of time, but I cannot find it at the moment. Can anybody give a hint, somebody who uses Xcos with success? Thank you very much in advance, Nick Cl?ment DAVID wrote: > Hello, > > This problem has been corrected on the nightly build versions. You can > try it as a workaround. > > Regards, > > -- > Cl?ment > > >> This is not allowing for file to be save and preventing to run the simulation. >> >> Is there a workaround? >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniele_tomatis at hotmail.com Tue Jun 15 23:17:42 2010 From: daniele_tomatis at hotmail.com (Daniele Tomatis) Date: Tue, 15 Jun 2010 23:17:42 +0200 Subject: sci2for - where is it ? Message-ID: Dear SciLab community, I am writing you about converting scilab code 2 fortran. I read that sci2for isn't supported anymore: http://bugzilla.scilab.org/show_bug.cgi?id=1631. Is someone aware of any other project like sci2for, please ? Thanks in advance, Daniele _________________________________________________________________ Tanti account di posta? Unisci tutto sotto Hotmail http://www.windowslive.it/hotmail/GestisciAltriAccount.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From lucianavliria at hotmail.com Wed Jun 16 01:42:13 2010 From: lucianavliria at hotmail.com (Luciana Liria) Date: Tue, 15 Jun 2010 23:42:13 +0000 Subject: GUIs and Xcos Message-ID: Hello, I am writing this email in order to ask some questions about Scicos and Scilab. Firstly, I want to open a .jpg file in a frame but i have some problems because i do not know which command use. Secondly, i need to do a similar thing with a graphics window of the result of a xcos simulation. I need to show it in a frame of a GUI. In both cases i intent to do it but the jpg file and the graphics windows open in a new window, and this is not what i need. So,I would be gratefull if you could help me with this problem.In addition, if you have an example and you could send me it,it will help me, too. Thanks, Luciana _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Wed Jun 16 18:14:49 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 16 Jun 2010 18:14:49 +0200 (CEST) Subject: basic question in using Scilab in batch mode Message-ID: <159620602.549651276704889974.JavaMail.root@zimbra26-e5.priv.proxad.net> All, I'm under windows and I'm working in using Scilab in relation to a FEA code => so I'm working/learning in creating a .cmd file !!!! In a first step I want to launch Scilab in batch mode : what exe file i've to point to ? Indeed I tried Scilex (or WScilex) but I always in the "working environment" and my file test in not loaded in memory ... ... any suggestion ? Thanks PC From bob.hyrsut at wanadoo.fr Wed Jun 16 18:54:10 2010 From: bob.hyrsut at wanadoo.fr (sebastien salmon) Date: Wed, 16 Jun 2010 18:54:10 +0200 (CEST) Subject: [scilab-Users] basic question in using Scilab in batch mode In-Reply-To: <159620602.549651276704889974.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <159620602.549651276704889974.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <17048703.102680.1276707250619.JavaMail.www@wwinf1j06> Bonjour, voici un lien qui devrait vous int?resser : http://philippe.matthieu.free.fr/serendipity/index.php?/archives/17-Scilab-Lancer-Scilab-en-mode-batch.html et je suis int?ress? par par la m?thode utilis?e pour cr?er le lien entre Code Aster et Scilab (si c'est bien le logiciel que vous utilisez) Cordialement, Hi, here a link may be interesting : http://philippe.matthieu.free.fr/serendipity/index.php?/archives/17-Scilab-Lancer-Scilab-en-mode-batch.html Best regards, S?bastien SALMON > Message du 16/06/10 18:15 > De : paul.carrico at free.fr > A : users at lists.scilab.org > Copie ? : > Objet : [scilab-Users] basic question in using Scilab in batch mode > > > All, > > I'm under windows and I'm working in using Scilab in relation to a FEA code => so I'm working/learning in creating a .cmd file !!!! > > In a first step I want to launch Scilab in batch mode : what exe file i've to point to ? > > Indeed I tried Scilex (or WScilex) but I always in the "working environment" and my file test in not loaded in memory ... > > ... any suggestion ? > > Thanks > > PC > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From constellationathome at googlemail.com Wed Jun 16 18:54:48 2010 From: constellationathome at googlemail.com (Constellation Athome) Date: Wed, 16 Jun 2010 18:54:48 +0200 Subject: Wrap up everything as executable without the need of installed scilab? Scilab for BOINC-Project Message-ID: Dear Scilab-Users, my former plan to use scilab from a java *.jar file didn't work so I would like to ask in a broader sense. We are currently planing a BOINC-project http://en.wikipedia.org/wiki/Boincand therefor it would be nice to have a self running / executable scilab app. This is important, because BOINC will send the app to all kind of users and the users' BOINC clients will run them. And you can't expect everyone to have an installed scilab-software (olthough this would be nice :)), so the app must contain everything that is needed to run the scilab script and everything without installing it. Just think of it as a big package that can run on your private PC or on your work PC, for which you don't have admin rights and can't install everything. It just must be startable (exe or console command) and runable. So, is this possible, and how? And of course how big is the folder size? It should be as few as few as possible. for example it should just calculate in a console, loading the workunit file, saving the result, no graphic output is needed so it should be seperated, but it would be nice to have this also in the package, because BOINC is a screensaver, so the graphic output could be interesting for feeding the screensaver window :). And perhaps you ask yourself why we want to use scilab? It's simple because of the simulation creators. Mostly the person with the good idea is able to do the mathmagic, but the person is unable to code in any common progamming language. So using scilab would give us a way to bring BOINC to more scientists/students than right now. I am aware of the decreased performance but this is discussable when you gain an easier scripting language in contrast to a programming language, and perhaps there is a real scilab compiler or just a code translator to c/c++/java. Thank you in advance for your help, Andreas Hornig www.constellation.pro.tc (BETA!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From constellationathome at googlemail.com Wed Jun 16 18:04:22 2010 From: constellationathome at googlemail.com (Constellation Athome) Date: Wed, 16 Jun 2010 18:04:22 +0200 Subject: Wrap up everything as executable without the need of installed scilab? Scilab for BOINC-Project Message-ID: Dear Scilab-Users, my former plan to use scilab from a java *.jar file didn't work so I would like to ask in a broader sense. We are currently planing a BOINC-project http://en.wikipedia.org/wiki/Boincand therefor it would be nice to have a self running / executable scilab app. This is important, because BOINC will send the app to all kind of users and the users' BOINC clients will run them. And you can't expect everyone to have an installed scilab-software (olthough this would be nice :)), so the app must contain everything that is needed to run the scilab script and everything without installing it. Just think of it as a big package that can run on your private PC or on your work PC, for which you don't have admin rights and can't install everything. It just must be startable (exe or console command) and runable. So, is this possible, and how? And of course how big is the folder size? It should be as few as few as possible. for example it should just calculate in a console, loading the workunit file, saving the result, no graphic output is needed so it should be seperated, but it would be nice to have this also in the package, because BOINC is a screensaver, so the graphic output could be interesting for feeding the screensaver window :). And perhaps you ask yourself why we want to use scilab? It's simple because of the simulation creators. Mostly the person with the good idea is able to do the mathmagic, but the person is unable to code in any common progamming language. So using scilab would give us a way to bring BOINC to more scientists/students than right now. I am aware of the decreased performance but this is discussable when you gain an easier scripting language in contrast to a programming language, and perhaps there is a real scilab compiler or just a code translator to c/c++/java. Thank you in advance for your help, Andreas Hornig www.constellation.pro.tc (BETA!) -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Wed Jun 16 22:19:58 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Wed, 16 Jun 2010 22:19:58 +0200 Subject: [scilab-Users] basic question in using Scilab in batch mode In-Reply-To: <17048703.102680.1276707250619.JavaMail.www@wwinf1j06> References: <159620602.549651276704889974.JavaMail.root@zimbra26-e5.priv.proxad.net> <17048703.102680.1276707250619.JavaMail.www@wwinf1j06> Message-ID: <002101cb0d91$4b3d7910$e1b86b30$@carrico@free.fr> Sebastien, Unfortunately it?s not Code Aster but another (commercial) FEA code. Thanks for your link I?ll have a look tomorrow on it Regards Paul De : sebastien salmon [mailto:bob.hyrsut at wanadoo.fr] Envoy? : mercredi 16 juin 2010 18:54 ? : users at lists.scilab.org Objet : re: [scilab-Users] basic question in using Scilab in batch mode Bonjour, voici un lien qui devrait vous int?resser : http://philippe.matthieu.free.fr/serendipity/index.php?/archives/17-Scilab-Lancer-Scilab-en-mode-batch.html et je suis int?ress? par par la m?thode utilis?e pour cr?er le lien entre Code Aster et Scilab (si c'est bien le logiciel que vous utilisez) Cordialement, Hi, here a link may be interesting : http://philippe.matthieu.free.fr/serendipity/index.php?/archives/17-Scilab-Lancer-Scilab-en-mode-batch.html Best regards, S?bastien SALMON > Message du 16/06/10 18:15 > De : paul.carrico at free.fr > A : users at lists.scilab.org > Copie ? : > Objet : [scilab-Users] basic question in using Scilab in batch mode > > > All, > > I'm under windows and I'm working in using Scilab in relation to a FEA code => so I'm working/learning in creating a .cmd file !!!! > > In a first step I want to launch Scilab in batch mode : what exe file i've to point to ? > > Indeed I tried Scilex (or WScilex) but I always in the "working environment" and my file test in not loaded in memory ... > > ... any suggestion ? > > Thanks > > PC > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From coolastro at gmail.com Thu Jun 17 00:09:39 2010 From: coolastro at gmail.com (bhargav vaidya) Date: Wed, 16 Jun 2010 15:09:39 -0700 Subject: Possible Bug in resize_matrix. Message-ID: <03B0A860-2DD2-496A-88F2-CFADE6B9810D@gmail.com> Hello everyone... I am trying to resize my matrix which has number of rows as 400 and no of column is 1. to a new matrix which should be 20 X 20. So I decided to use the "resize_matrix" function with Scilab... but it seems there is problem in it. So here is the sample test case -->H = rand(4,1) H = 0.2113249 0.7560439 0.0002211 0.3303271 -->G = resize_matrix(H,2,2) G = 0.2113249 0. 0.7560439 0. which is not correct ...and please let me know if I am doing anything wrong or this is the possible bug in the code.? Regards Bhargav vaidya From Samuel.Gougeon at univ-lemans.fr Thu Jun 17 02:39:05 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Thu, 17 Jun 2010 02:39:05 +0200 Subject: [scilab-Users] Possible Bug in resize_matrix. In-Reply-To: <03B0A860-2DD2-496A-88F2-CFADE6B9810D@gmail.com> References: <03B0A860-2DD2-496A-88F2-CFADE6B9810D@gmail.com> Message-ID: <20100617023905.12584rmxvsyy7u68@webmail1.univ-lemans.fr> Hello, bhargav vaidya a ?crit?: > Hello everyone... > > I am trying to resize my matrix which has number of rows as 400 and > no of column is 1. > to a new matrix which should be 20 X 20. So I decided to use the > "resize_matrix" function with Scilab... but it seems there is > problem in it. If the total number of components must be conserved and that you want just to reshape the matrix, matrix() is the convenient function to be used. resize_matrix() crops it. matrix() reshapes it. Regards Samuel From coolastro at gmail.com Thu Jun 17 02:59:42 2010 From: coolastro at gmail.com (bhargav vaidya) Date: Wed, 16 Jun 2010 17:59:42 -0700 Subject: [scilab-Users] Possible Bug in resize_matrix. In-Reply-To: <20100617023905.12584rmxvsyy7u68@webmail1.univ-lemans.fr> References: <03B0A860-2DD2-496A-88F2-CFADE6B9810D@gmail.com> <20100617023905.12584rmxvsyy7u68@webmail1.univ-lemans.fr> Message-ID: <34548A87-E726-4E85-A4AA-4ED01413AA96@gmail.com> Hello Samuel, Ok..... the matrix() was exactly what I was looking for .... thanks for the hint!! Regards Bhargav On Jun 16, 2010, at 5:39 PM, Samuel Gougeon wrote: > Hello, > > bhargav vaidya a ?crit : > >> Hello everyone... >> >> I am trying to resize my matrix which has number of rows as 400 and no of column is 1. >> to a new matrix which should be 20 X 20. So I decided to use the "resize_matrix" function with Scilab... but it seems there is problem in it. > > If the total number of components must be conserved and > that you want just to reshape the matrix, matrix() is the > convenient function to be used. > resize_matrix() crops it. matrix() reshapes it. > > Regards > Samuel > From paul.carrico at free.fr Thu Jun 17 16:46:25 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 17 Jun 2010 16:46:25 +0200 (CEST) Subject: link .sce file with batch mode Message-ID: <613639918.675841276785985227.JavaMail.root@zimbra26-e5.priv.proxad.net> Hi All, I created a batch file (under windows) that launch my .sce file ... In this .sce file I would like to specify the working directory in "batch language" i.e. like "%D%" instead of "C:\...." : ..... // chemin d'acc?s CHEMIN = "%D%"; // ouverture du fichier resultat RESU= mopen(CHEMIN + "/resu.dat", 'w'); ..... Of course %D% doesn't work .... How can I proceed ? Is there any tutorial that explains how to include system instructions into Scilab files ? regards PC From allan.cornet at scilab.org Thu Jun 17 16:59:19 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Thu, 17 Jun 2010 16:59:19 +0200 Subject: [scilab-Users] link .sce file with batch mode In-Reply-To: <613639918.675841276785985227.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <613639918.675841276785985227.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <005b01cb0e2d$a9aee640$fd0cb2c0$@cornet@scilab.org> Hi, See: help get_absolute_file_path And also : help sciargs Best regards Allan -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : jeudi 17 juin 2010 16:46 ? : users at lists.scilab.org Objet : [scilab-Users] link .sce file with batch mode Hi All, I created a batch file (under windows) that launch my .sce file ... In this .sce file I would like to specify the working directory in "batch language" i.e. like "%D%" instead of "C:\...." : ..... // chemin d'acc?s CHEMIN = "%D%"; // ouverture du fichier resultat RESU= mopen(CHEMIN + "/resu.dat", 'w'); ..... Of course %D% doesn't work .... How can I proceed ? Is there any tutorial that explains how to include system instructions into Scilab files ? regards PC From jean-michel.innocent at centrale-marseille.fr Thu Jun 17 18:05:52 2010 From: jean-michel.innocent at centrale-marseille.fr (Jean-Michel Innocent) Date: Thu, 17 Jun 2010 18:05:52 +0200 Subject: [scilab-Users] Unable to unscribe from the list In-Reply-To: References: Message-ID: <4C1A47E0.3060909@centrale-marseille.fr> S?bastien Bihorel a ?crit : > Hi, > > I have subscribed to the disgest because I would like to stop > receiving all posts individually. Now I am receiving both digest and > individual posts. How I can stop the posts to be send to me? > > Thanks > > Sebastien Bonjour, votre mail a la liste de diffusion de Scilab a attire mon attention, je serais egalement desireux de ne plus recevoir tous les messages individuels mais recevoir plutot un digest. Pouvez-vous m'indiquer comment finalement * se desinscrire de la liste users? * s'inscrire a la liste digest? (je n'ai pas trouve cette liste sur le site scilab.org) merci d'avance -- Jean-Michel INNOCENT Mathematiques Ecole Centrale de Marseille (http://www.ec-marseille.fr/) IMT - Technopole de Chateau-Gombert 38, rue Joliot-Curie 13451 Marseille Cedex 20 Tel: +33 4 91 05 46 73 Fax: +33 4 91 05 45 98 Email: jean-michel.innocent at centrale-marseille.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashwindamle at gmail.com Thu Jun 17 17:21:15 2010 From: ashwindamle at gmail.com (ashwin damle) Date: Thu, 17 Jun 2010 20:51:15 +0530 Subject: Regarding solvers in scilab Message-ID: Hello, I want to change the solver in scicos. I read the documentation at sundials' about the solvers CVODE and IDA but I cant figure out about how to change the solver using number 0,1,etc Lets suppose I wasnt to use AM2 what corresponding number or what should be put in so that the numerical integration is AM2 Thank you. -- Ashwin M. Damle -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Thu Jun 17 18:34:09 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Thu, 17 Jun 2010 18:34:09 +0200 Subject: [scilab-Users] link .sce file with batch mode In-Reply-To: <005b01cb0e2d$a9aee640$fd0cb2c0$@cornet@scilab.org> References: <613639918.675841276785985227.JavaMail.root@zimbra26-e5.priv.proxad.net> <005b01cb0e2d$a9aee640$fd0cb2c0$@cornet@scilab.org> Message-ID: <001e01cb0e3a$ea4e6790$beeb36b0$@carrico@free.fr> Thanks Anna, Unfortunately (from the help files) : "get_absolute_file_path ? Given an absolute pathname of a file opened in scilab" => my file is not opened since I want to create it "sciargs - Cette fonction renvoie un vecteur de cha?nes de caract?res contenant les arguments de la commande de lancement de Scilab. Le premier terme du vecteur args contient le nom complet (avec le chemin) du fichier ex?cutable de Scilab." -> I don't think it's applicable here ! Paul -----Message d'origine----- De : Allan CORNET [mailto:allan.cornet at scilab.org] Envoy? : jeudi 17 juin 2010 16:59 ? : users at lists.scilab.org Objet : RE: [scilab-Users] link .sce file with batch mode Hi, See: help get_absolute_file_path And also : help sciargs Best regards Allan -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : jeudi 17 juin 2010 16:46 ? : users at lists.scilab.org Objet : [scilab-Users] link .sce file with batch mode Hi All, I created a batch file (under windows) that launch my .sce file ... In this .sce file I would like to specify the working directory in "batch language" i.e. like "%D%" instead of "C:\...." : ..... // chemin d'acc?s CHEMIN = "%D%"; // ouverture du fichier resultat RESU= mopen(CHEMIN + "/resu.dat", 'w'); ..... Of course %D% doesn't work .... How can I proceed ? Is there any tutorial that explains how to include system instructions into Scilab files ? regards PC From joerg.rudnick at t-online.de Thu Jun 17 21:20:15 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Thu, 17 Jun 2010 21:20:15 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <4C1A47E0.3060909@centrale-marseille.fr> References: <4C1A47E0.3060909@centrale-marseille.fr> Message-ID: <4C1A756F.9000003@t-online.de> Dear all, some days ago I posted an -- unfortunately unanswered -- request for access to a version of 5.2.2 usable for academic teaching. We tried out the ?official? release and, unfortunately, where unable to save Xcos models with sum blocks -- on five different systems, including several Windowses and Linux. The bug seems to be identical to one reported very recently (Thomas Yamaguchi, 2010-6-7 22:28) about the same problem with prod blocks -- which reportedly was solved at the then-actual nightly build. Unfortunately, the nightly build *I downloaded* did not even allow dragging blocks out of the palette browser. My question: Can anybody give a comment right to o confirm our observations or not, o provide a link to the nightly build version which helped the guy with the prod block problem -- or an equivalent one? Although the only answer we got right now was somebody advising us to switch to scicos we still cannot believe Scilab 5.2.2 has been *all the time until now* in a state as unstable as we found it -- we are desperately looking for a solution. *Please* answer and do not keep silent... Thank you a lot in advance, Nick From ray at aarden.us Thu Jun 17 22:12:49 2010 From: ray at aarden.us (ray joseph) Date: Thu, 17 Jun 2010 15:12:49 -0500 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> Message-ID: <042801cb0e59$75befc40$0302a8c0@HOUC35439> Nick, I found a similar problem on a new installation on a Windows 2000 machine. I found that many things did not work ... right away. After a few minutes, features began to work. Ray ----- Original Message ----- From: "Nick Rudnick" To: Sent: Thursday, June 17, 2010 2:20 PM Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? > Dear all, > > > some days ago I posted an -- unfortunately unanswered -- request for > access to a version of 5.2.2 usable for academic teaching. > > We tried out the ?official? release and, unfortunately, where unable to > save Xcos models with sum blocks -- on five different systems, including > several Windowses and Linux. > > The bug seems to be identical to one reported very recently (Thomas > Yamaguchi, 2010-6-7 22:28) about the same problem with prod blocks -- > which reportedly was solved at the then-actual nightly build. > > Unfortunately, the nightly build *I downloaded* did not even allow > dragging blocks out of the palette browser. > > My question: Can anybody give a comment right to > > o confirm our observations or not, > > o provide a link to the nightly build version which helped the guy > with the prod block problem -- or an equivalent one? > > Although the only answer we got right now was somebody advising us to > switch to scicos we still cannot believe Scilab 5.2.2 has been *all the > time until now* in a state as unstable as we found it -- we are > desperately looking for a solution. > > *Please* answer and do not keep silent... > > > Thank you a lot in advance, > > Nick > > > From joerg.rudnick at t-online.de Fri Jun 18 05:32:20 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Fri, 18 Jun 2010 05:32:20 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <042801cb0e59$75befc40$0302a8c0@HOUC35439> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> Message-ID: <4C1AE8C4.6000200@t-online.de> Thank you, Ray, this is a hint :-) -- but are you speaking about the problem (a) the impossibility saving with SUM/PROD, (b) the impossibility of dragging blocks out of the Palette browser, i.e. are you speaking about the current release 5.2.2 or a nightly build (which one)? I already tried your proposal at some of our systems, without success so far -- the nightly build is still missing, and I would be very pleased if there is a solution. As it requires GLIBC_2.11, which is not supported by my distro, I will get another one running and try out. Hopefully, more people will reply to my request in the meantime. All the best, Nick I tried the ray joseph wrote: > Nick, > > I found a similar problem on a new installation on a Windows 2000 machine. > I found that many things did not work ... right away. After a few minutes, > features began to work. > > Ray > > ----- Original Message ----- > From: "Nick Rudnick" > To: > Sent: Thursday, June 17, 2010 2:20 PM > Subject: [scilab-Users] SOS: Version with Xcos usable for academic > teaching?? > > > >> Dear all, >> >> >> some days ago I posted an -- unfortunately unanswered -- request for >> access to a version of 5.2.2 usable for academic teaching. >> >> We tried out the ?official? release and, unfortunately, where unable to >> save Xcos models with sum blocks -- on five different systems, including >> several Windowses and Linux. >> >> The bug seems to be identical to one reported very recently (Thomas >> Yamaguchi, 2010-6-7 22:28) about the same problem with prod blocks -- >> which reportedly was solved at the then-actual nightly build. >> >> Unfortunately, the nightly build *I downloaded* did not even allow >> dragging blocks out of the palette browser. >> >> My question: Can anybody give a comment right to >> >> o confirm our observations or not, >> >> o provide a link to the nightly build version which helped the guy >> with the prod block problem -- or an equivalent one? >> >> Although the only answer we got right now was somebody advising us to >> switch to scicos we still cannot believe Scilab 5.2.2 has been *all the >> time until now* in a state as unstable as we found it -- we are >> desperately looking for a solution. >> >> *Please* answer and do not keep silent... >> >> >> Thank you a lot in advance, >> >> Nick >> >> >> >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ray at aarden.us Fri Jun 18 05:44:04 2010 From: ray at aarden.us (ray joseph) Date: Thu, 17 Jun 2010 22:44:04 -0500 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> Message-ID: <059501cb0e98$8011a910$0302a8c0@HOUC35439> Nick, The specific match is (b) dragging blocks in 5.2.2. This did not work the first couple of times. But after waiting a while, it worked. This was repeatable. Ray ----- Original Message ----- From: Nick Rudnick To: users at lists.scilab.org Sent: Thursday, June 17, 2010 10:32 PM Subject: Re: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? Thank you, Ray, this is a hint :-) -- but are you speaking about the problem (a) the impossibility saving with SUM/PROD, (b) the impossibility of dragging blocks out of the Palette browser, i.e. are you speaking about the current release 5.2.2 or a nightly build (which one)? I already tried your proposal at some of our systems, without success so far -- the nightly build is still missing, and I would be very pleased if there is a solution. As it requires GLIBC_2.11, which is not supported by my distro, I will get another one running and try out. Hopefully, more people will reply to my request in the meantime. All the best, Nick I tried the ray joseph wrote: Nick, I found a similar problem on a new installation on a Windows 2000 machine. I found that many things did not work ... right away. After a few minutes, features began to work. Ray ----- Original Message ----- From: "Nick Rudnick" To: Sent: Thursday, June 17, 2010 2:20 PM Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? Dear all, some days ago I posted an -- unfortunately unanswered -- request for access to a version of 5.2.2 usable for academic teaching. We tried out the ?official? release and, unfortunately, where unable to save Xcos models with sum blocks -- on five different systems, including several Windowses and Linux. The bug seems to be identical to one reported very recently (Thomas Yamaguchi, 2010-6-7 22:28) about the same problem with prod blocks -- which reportedly was solved at the then-actual nightly build. Unfortunately, the nightly build *I downloaded* did not even allow dragging blocks out of the palette browser. My question: Can anybody give a comment right to o confirm our observations or not, o provide a link to the nightly build version which helped the guy with the prod block problem -- or an equivalent one? Although the only answer we got right now was somebody advising us to switch to scicos we still cannot believe Scilab 5.2.2 has been *all the time until now* in a state as unstable as we found it -- we are desperately looking for a solution. *Please* answer and do not keep silent... Thank you a lot in advance, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab.org Fri Jun 18 14:24:10 2010 From: clement.david at scilab.org (=?ISO-8859-1?Q?Cl=E9ment?= DAVID) Date: Fri, 18 Jun 2010 14:24:10 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <059501cb0e98$8011a910$0302a8c0@HOUC35439> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> Message-ID: <1276863850.2167.8.camel@pinarellu.inria.fr> Dear list, I apologize for this inconvenience. We just released the 5.2.2 version on a rush to correct some blocking bugs (related to hdf5 and our hdf5 wrapper) and just use a rapid validation phase. The next version will provide more and more improvement on the Xcos editor and we will validate it even more than any previous Xcos version. If you are using nightly builds please resync the third-party repository as some thirdparties has been updated. Some delay may also appear when dragging icons from the palette please report these issues if you find it unacceptable. Regards, Cl?ment > Nick, > > The specific match is (b) dragging blocks in 5.2.2. This did not work > the first couple of times. But after waiting a while, it worked. > This was repeatable. > > Ray > ----- Original Message ----- > From: Nick Rudnick > To: users at lists.scilab.org > Sent: Thursday, June 17, 2010 10:32 PM > Subject: Re: [scilab-Users] SOS: Version with Xcos usable for > academic teaching?? > > > Thank you, Ray, > > this is a hint :-) -- but are you speaking about the problem > > (a) the impossibility saving with SUM/PROD, > > (b) the impossibility of dragging blocks out of the Palette > browser, > > i.e. are you speaking about the current release 5.2.2 or a > nightly build (which one)? > > I already tried your proposal at some of our systems, without > success so far -- the nightly build is still missing, and I > would be very pleased if there is a solution. As it requires > GLIBC_2.11, which is not supported by my distro, I will get > another one running and try out. > > Hopefully, more people will reply to my request in the > meantime. > > > All the best, > > Nick > > > I tried the > > ray joseph wrote: > > Nick, > > > > I found a similar problem on a new installation on a Windows 2000 machine. > > I found that many things did not work ... right away. After a few minutes, > > features began to work. > > > > Ray > > > > ----- Original Message ----- > > From: "Nick Rudnick" > > To: > > Sent: Thursday, June 17, 2010 2:20 PM > > Subject: [scilab-Users] SOS: Version with Xcos usable for academic > > teaching?? > > > > > > > > > Dear all, > > > > > > > > > some days ago I posted an -- unfortunately unanswered -- request for > > > access to a version of 5.2.2 usable for academic teaching. > > > > > > We tried out the ?official? release and, unfortunately, where unable to > > > save Xcos models with sum blocks -- on five different systems, including > > > several Windowses and Linux. > > > > > > The bug seems to be identical to one reported very recently (Thomas > > > Yamaguchi, 2010-6-7 22:28) about the same problem with prod blocks -- > > > which reportedly was solved at the then-actual nightly build. > > > > > > Unfortunately, the nightly build *I downloaded* did not even allow > > > dragging blocks out of the palette browser. > > > > > > My question: Can anybody give a comment right to > > > > > > o confirm our observations or not, > > > > > > o provide a link to the nightly build version which helped the guy > > > with the prod block problem -- or an equivalent one? > > > > > > Although the only answer we got right now was somebody advising us to > > > switch to scicos we still cannot believe Scilab 5.2.2 has been *all the > > > time until now* in a state as unstable as we found it -- we are > > > desperately looking for a solution. > > > > > > *Please* answer and do not keep silent... > > > > > > > > > Thank you a lot in advance, > > > > > > Nick > > > > > > > > > > > > > > > > > > > From joerg.rudnick at t-online.de Fri Jun 18 16:19:31 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Fri, 18 Jun 2010 16:19:31 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <059501cb0e98$8011a910$0302a8c0@HOUC35439> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> Message-ID: <4C1B8073.3050203@t-online.de> Wow, Ray, that's good news... Thank you very much, Nick ray joseph wrote: > Nick, > > The specific match is (b) dragging blocks in 5.2.2. This did not work > the first couple of times. But after waiting a while, it worked. > This was repeatable. > > Ray -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.rudnick at t-online.de Fri Jun 18 16:38:54 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Fri, 18 Jun 2010 16:38:54 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <1276863850.2167.8.camel@pinarellu.inria.fr> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> <1276863850.2167.8.camel@pinarellu.inria.fr> Message-ID: <4C1B84FE.4060509@t-online.de> SIGH... Thank you for answering, Cl?ment, This gives hope... With at least mediocre Java & C/C++ knowledge, is there a way to assist you? I would be interested in binaries for {Linux|Windows}{64|32} to be handed out to our students -- do you know of a nightly build of the past time that ran quite stable? I saw lots of new features (especially in regard of the GUI) at the current nightly build; maybe there is on without these, but running fine? We are only doing introductory stuff, no specialties are needed -- others might also be interested in having a (temporary) link to a such release, I assume. If the delay is as described by Ray -- do you already have a theory how this might be fixed, and can I support you in any way? I would love to contribute in making available these four binaries for {Linux|Windows}{64|32}... All the best, Nick Cl?ment DAVID wrote: > Dear list, > > I apologize for this inconvenience. We just released the 5.2.2 version > on a rush to correct some blocking bugs (related to hdf5 and our hdf5 > wrapper) and just use a rapid validation phase. > > The next version will provide more and more improvement on the Xcos > editor and we will validate it even more than any previous Xcos version. > If you are using nightly builds please resync the third-party repository > as some thirdparties has been updated. > > Some delay may also appear when dragging icons from the palette please > report these issues if you find it unacceptable. > > Regards, > > Cl?ment > > >> Nick, >> >> The specific match is (b) dragging blocks in 5.2.2. This did not work >> the first couple of times. But after waiting a while, it worked. >> This was repeatable. >> >> Ray From sylvestre.ledru at scilab.org Sat Jun 19 17:03:16 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 19 Jun 2010 17:03:16 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <4C1B84FE.4060509@t-online.de> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> <1276863850.2167.8.camel@pinarellu.inria.fr> <4C1B84FE.4060509@t-online.de> Message-ID: <1276959796.6837.2874.camel@zlarin> Hello Nick, We will try to provide good nightly build during next week (on our code review system [1], we accepted a lot of new patches during the last few days. They should fix some issues) and we are planning to release a beta of Scilab 5.3.0 during the next few weeks. If you want to help, you are welcome. There are many way to help us. You can provide some real life demos (or showing what we should improve) on Xcos (or Scilab). With some coordination with Cl?ment, you could also help us by fixing some bugs [2] or provide some tutorials on Xcos. There are many ways to help us, it is up to you. Don't hesitate to contact me if you have any questions. Cheers, Sylvestre [1] http://codereview.scilab.org/ [2] http://bugzilla.scilab.org/ Le vendredi 18 juin 2010 ? 16:38 +0200, Nick Rudnick a ?crit : > SIGH... Thank you for answering, Cl?ment, > > This gives hope... With at least mediocre Java & C/C++ knowledge, is > there a way to assist you? > > I would be interested in binaries for {Linux|Windows}{64|32} to be > handed out to our students -- do you know of a nightly build of the past > time that ran quite stable? I saw lots of new features (especially in > regard of the GUI) at the current nightly build; maybe there is on > without these, but running fine? > > We are only doing introductory stuff, no specialties are needed -- > others might also be interested in having a (temporary) link to a such > release, I assume. > > If the delay is as described by Ray -- do you already have a theory how > this might be fixed, and can I support you in any way? I would love to > contribute in making available these four binaries for > {Linux|Windows}{64|32}... > > > All the best, > > Nick > > > Cl?ment DAVID wrote: > > Dear list, > > > > I apologize for this inconvenience. We just released the 5.2.2 version > > on a rush to correct some blocking bugs (related to hdf5 and our hdf5 > > wrapper) and just use a rapid validation phase. > > > > The next version will provide more and more improvement on the Xcos > > editor and we will validate it even more than any previous Xcos version. > > If you are using nightly builds please resync the third-party repository > > as some thirdparties has been updated. > > > > Some delay may also appear when dragging icons from the palette please > > report these issues if you find it unacceptable. > > > > Regards, > > > > Cl?ment > > > > > >> Nick, > >> > >> The specific match is (b) dragging blocks in 5.2.2. This did not work > >> the first couple of times. But after waiting a while, it worked. > >> This was repeatable. > >> > >> Ray > -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From joerg.rudnick at t-online.de Mon Jun 21 09:30:26 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Mon, 21 Jun 2010 09:30:26 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <1276959796.6837.2874.camel@zlarin> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> <1276863850.2167.8.camel@pinarellu.inria.fr> <4C1B84FE.4060509@t-online.de> <1276959796.6837.2874.camel@zlarin> Message-ID: <4C1F1512.8060004@t-online.de> Hello Sylvestre, thank you for your mail -- at the moment I can say that in the weekend, I have tested scilab-master-1276871586.exe quite thoroughly and am so satisfied that I forwarded it to our students, together with scilab-master-1276780858_x64.exe, which I am about to test soon. If I have a choice, I would prefer to assist in fixing bugs at the Linux builds, which still suffer from problems that prohibit usage -- I inspected mostly the 64 bit version, but I expect the 32 bit version to be equally affected, as the error message seemingly is thrown by the Java frontend. Specifically, at scilab-master-1276266589.bin.linux-x86_64.tar.gz, I would like to present the error message I receive -- as I suspect a java.lang.UnsatisfiedLinkError to be possibly a problem of access to a native library which might be very easy to solve. It is thrown whenever I try to drag something out of the palette browser (didn't find this at Bugzilla): = 8< ================================= (process:3353): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Error parsing gtk-icon-sizes string: '' Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: ncsa.hdf.hdf5lib.HDF5Constants.H5_SZIP_MAX_PIXELS_PER_BLOCK()I at ncsa.hdf.hdf5lib.HDF5Constants.H5_SZIP_MAX_PIXELS_PER_BLOCK(Native Method) at ncsa.hdf.hdf5lib.HDF5Constants.(HDF5Constants.java:33) at org.scilab.modules.hdf5.read.H5Read.openFile(Unknown Source) at org.scilab.modules.xcos.io.scicos.H5RWHandler.readBlock(Unknown Source) at org.scilab.modules.xcos.palette.PaletteBlockCtrl.loadBlock(Unknown Source) at org.scilab.modules.xcos.palette.PaletteBlockCtrl.getTransferable(Unknown Source) at org.scilab.modules.xcos.palette.PaletteBlockCtrl$1.dragGestureRecognized(Unknown Source) at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(Unknown Source) at sun.awt.X11.XMouseDragGestureRecognizer.mouseDragged(Unknown Source) at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source) at java.awt.Component.processMouseMotionEvent(Unknown Source) at javax.swing.JComponent.processMouseMotionEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) = 8< ================================= In regard of a tutorial, I am in fact writing at the moment something which might be regarded as one, 20-30 pages, with economically motivated examples which should be easy to integrate into lessons, consuming about 2-6 hours of lecture, depending on the students. Once I can forward working binaries for Linux, too, I will be very satisfied, and could assist the Tk to JGraphX transition -- here I first would like to improve the branching of connections. Seemingly, some (O)Caml code is used inside Scilab... very interesting stuff... :-) All the best, and thank you for your reply, Nick Sylvestre Ledru wrote: > Hello Nick, > > We will try to provide good nightly build during next week (on our code > review system [1], we accepted a lot of new patches during the last few > days. They should fix some issues) and we are planning to release a beta > of Scilab 5.3.0 during the next few weeks. > > If you want to help, you are welcome. There are many way to help us. You > can provide some real life demos (or showing what we should improve) on > Xcos (or Scilab). With some coordination with Cl?ment, you could also > help us by fixing some bugs [2] or provide some tutorials on Xcos. > > There are many ways to help us, it is up to you. > Don't hesitate to contact me if you have any questions. > > Cheers, > Sylvestre > [1] http://codereview.scilab.org/ > [2] http://bugzilla.scilab.org/ > > Le vendredi 18 juin 2010 ? 16:38 +0200, Nick Rudnick a ?crit : > >> SIGH... Thank you for answering, Cl?ment, >> >> This gives hope... With at least mediocre Java & C/C++ knowledge, is >> there a way to assist you? >> >> I would be interested in binaries for {Linux|Windows}{64|32} to be >> handed out to our students -- do you know of a nightly build of the past >> time that ran quite stable? I saw lots of new features (especially in >> regard of the GUI) at the current nightly build; maybe there is on >> without these, but running fine? >> >> We are only doing introductory stuff, no specialties are needed -- >> others might also be interested in having a (temporary) link to a such >> release, I assume. >> >> If the delay is as described by Ray -- do you already have a theory how >> this might be fixed, and can I support you in any way? I would love to >> contribute in making available these four binaries for >> {Linux|Windows}{64|32}... >> >> >> All the best, >> >> Nick >> >> >> Cl?ment DAVID wrote: >> >>> Dear list, >>> >>> I apologize for this inconvenience. We just released the 5.2.2 version >>> on a rush to correct some blocking bugs (related to hdf5 and our hdf5 >>> wrapper) and just use a rapid validation phase. >>> >>> The next version will provide more and more improvement on the Xcos >>> editor and we will validate it even more than any previous Xcos version. >>> If you are using nightly builds please resync the third-party repository >>> as some thirdparties has been updated. >>> >>> Some delay may also appear when dragging icons from the palette please >>> report these issues if you find it unacceptable. >>> >>> Regards, >>> >>> Cl?ment >>> >>> >>> >>>> Nick, >>>> >>>> The specific match is (b) dragging blocks in 5.2.2. This did not work >>>> the first couple of times. But after waiting a while, it worked. >>>> This was repeatable. >>>> >>>> Ray >>>> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Jun 21 15:00:35 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 21 Jun 2010 15:00:35 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <4C1F1512.8060004@t-online.de> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> <1276863850.2167.8.camel@pinarellu.inria.fr> <4C1B84FE.4060509@t-online.de> <1276959796.6837.2874.camel@zlarin> <4C1F1512.8060004@t-online.de> Message-ID: <1277125235.26374.899.camel@korcula.inria.fr> Le lundi 21 juin 2010 ? 09:30 +0200, Nick Rudnick a ?crit : > Hello Sylvestre, > > If I have a choice, I would prefer to assist in fixing bugs at the > Linux builds, which still suffer from problems that prohibit usage -- > I inspected mostly the 64 bit version, but I expect the 32 bit version > to be equally affected, as the error message seemingly is thrown by > the Java frontend. We are currently focusing the development version. That means we are not testing a lot the binary. We will starting doing so in the next few days for the first beta of Scilab 5.3.0. > Specifically, at scilab-master-1276266589.bin.linux-x86_64.tar.gz, I > would like to present the error message I receive -- as I suspect a > java.lang.UnsatisfiedLinkError to be possibly a problem of access to a > native library which might be very easy to solve. It is thrown > whenever I try to drag something out of the palette browser (didn't > find this at Bugzilla): Thanks for the bug report. This might be related to an issue with hdf5 libraries. > > In regard of a tutorial, I am in fact writing at the moment something > which might be regarded as one, 20-30 pages, with economically > motivated examples which should be easy to integrate into lessons, > consuming about 2-6 hours of lecture, depending on the students. OK, great. Let me know how it goes! > Once I can forward working binaries for Linux, too, I will be very > satisfied, and could assist the Tk to JGraphX transition -- here I > first would like to improve the branching of connections. I am not sure to understand what you are talking about here ?! AFAIK, there is no Tk into Xcos now. > Seemingly, some (O)Caml code is used inside Scilab... very interesting > stuff... :-) Indeed, we use it for the Modelica capabilities in Xcos. By the way, if you don't mind, we could switch to dev at lists.scilab.org (or private if you prefer) to chat about contribution aspects. Thanks, Sylvestre From cbk at lanl.gov Tue Jun 22 00:29:43 2010 From: cbk at lanl.gov (Charles Basenga Kiyanda) Date: Mon, 21 Jun 2010 16:29:43 -0600 Subject: recursion using fsolve Message-ID: <4C1FE7D7.8000404@lanl.gov> I need to use the fsolve command within itself (obviously with a different residual function) and scilab keeps returning error 22, recursion problems. There actually is no recursion problem as I can use the second call of fsolve on its won and the correct solution is returned. I'm thinking the algorithm which detects recursion problems is returning a false positive. I'm using scilab version 5.1.1 on linux. Is this a problem which was addressed in the 5.2 line? I'm including a sample script which reproduces the problem. Thanks, Charles -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test.sci URL: From joerg.rudnick at t-online.de Tue Jun 22 07:10:01 2010 From: joerg.rudnick at t-online.de (Nick Rudnick) Date: Tue, 22 Jun 2010 07:10:01 +0200 Subject: [scilab-Users] SOS: Version with Xcos usable for academic teaching?? In-Reply-To: <1277125235.26374.899.camel@korcula.inria.fr> References: <4C1A47E0.3060909@centrale-marseille.fr> <4C1A756F.9000003@t-online.de> <042801cb0e59$75befc40$0302a8c0@HOUC35439> <4C1AE8C4.6000200@t-online.de> <059501cb0e98$8011a910$0302a8c0@HOUC35439> <1276863850.2167.8.camel@pinarellu.inria.fr> <4C1B84FE.4060509@t-online.de> <1276959796.6837.2874.camel@zlarin> <4C1F1512.8060004@t-online.de> <1277125235.26374.899.camel@korcula.inria.fr> Message-ID: <4C2045A9.6010605@t-online.de> Hello Sylvestre, the moment seems to come where I have to look into the sources -- do you have other clues besides the version of HDF5? Sylvestre Ledru wrote: >> If I have a choice, I would prefer to assist in fixing bugs at the >> Linux builds, which still suffer from problems that prohibit usage -- >> I inspected mostly the 64 bit version, but I expect the 32 bit version >> to be equally affected, as the error message seemingly is thrown by >> the Java frontend. >> > We are currently focusing the development version. That means we are not > testing a lot the binary. We will starting doing so in the next few days > for the first beta of Scilab 5.3.0. > ;-)) Of course, I would not assist on basis of the binaries... but I am not a build system expert and I need binaries to distribute to our students, so I would be happy to have the automatic build process activated in time after I have done a fix... That's all. >> Specifically, at scilab-master-1276266589.bin.linux-x86_64.tar.gz, I >> would like to present the error message I receive -- as I suspect a >> java.lang.UnsatisfiedLinkError to be possibly a problem of access to a >> native library which might be very easy to solve. It is thrown >> whenever I try to drag something out of the palette browser (didn't >> find this at Bugzilla): >> > Thanks for the bug report. > This might be related to an issue with hdf5 libraries. > Unfortunately, I have version 1.8.4, as required, installed: nick at weg:~$ strings /usr/lib/libhdf5.so | grep "version: " HDF5 library version: %d.%d.%d HDF5 library version: 1.8.4 HDF5 library version: 1.8.4 >> In regard of a tutorial, I am in fact writing at the moment something >> which might be regarded as one, 20-30 pages, with economically >> motivated examples which should be easy to integrate into lessons, >> consuming about 2-6 hours of lecture, depending on the students. >> > OK, great. Let me know how it goes! > I am finishing it the next day, and translate it then, which -- thanks Google Translate -- should go quickly. >> Once I can forward working binaries for Linux, too, I will be very >> satisfied, and could assist the Tk to JGraphX transition -- here I >> first would like to improve the branching of connections. >> > I am not sure to understand what you are talking about here ?! > AFAIK, there is no Tk into Xcos now. > Excuse me, this was unclear: I wanted to address the branching, i.e. improving the reliability of marking a connection light green right to be able to drag a branch. I guessed this to be one of the problems people usually have when migrating from Tk, as Tk has features in graphics object interaction which are missing in most other GUI Toolkits and have to be implemented manually -- in this special case I thought I identified a line object selection problem. >> Seemingly, some (O)Caml code is used inside Scilab... very interesting >> stuff... :-) >> > Indeed, we use it for the Modelica capabilities in Xcos. > > By the way, if you don't mind, we could switch to dev at lists.scilab.org > (or private if you prefer) to chat about contribution aspects. > I sent a request to dev at lists.scilab.org. All the best, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsu at neurology.wisc.edu Tue Jun 22 04:00:55 2010 From: hsu at neurology.wisc.edu (Hsu (David)) Date: Mon, 21 Jun 2010 21:00:55 -0500 Subject: reading or loading big files In-Reply-To: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> References: <95ECD1500CCA774592DB2A1705797E6B0117CB9E8E84@HECTOR.network.wisc.edu> Message-ID: <95ECD1500CCA774592DB2A1705797E6B0117DAF52E35@HECTOR.network.wisc.edu> Thank you to Samuel Gougeon, these do appear to be the commands I need, will try them. Dave Subject: Re: reading or loading big files From: Samuel Gougeon ####@####.#### Date: 7 Jun 2010 11:18:33 +0200 Message-Id: <4C0CB964.90207 at univ-lemans.fr> ________________________________ Hello, ----- Message d'origine ----- De : Hsu (David) Date : 05/06/2010 08:20: > I am just learning SciLab. I need to read enormous EEG files > (electroencephalograms), for example, 20 channels sampled at 32,000 Hz > for days on end. This data may be saved as a matrix with 20 columns > but a huge number of rows, so big that I run up against size limits if > I try to load the whole thing as a matrix. This data is usually in > binary format. I tried using stacksize('max') to maximize these size > limits but am still running into size limits. A simple calculation: 20 channels x 32000 measurements/s/channel x 1 byte/measurement x 3600x24 s/day ~ 55 Gbytes/day If you want to load the whole data as a int8() or uint8() matrix (as minimal data format), you need at least ~ 60 Gbytes of RAM. Do you have it (assuming that Scilab or another software could handle it)? It looks unrealistic to load and handle these data as a whole into a matrix. You will likely need to use some detailled binary commands after mopen() : mseek(), mtell(), mget()... to read some piece of data. Samuel ________________________________ From: Hsu (David) Sent: Saturday, June 05, 2010 1:21 AM To: users at lists.scilab.org Subject: reading or loading big files I am just learning SciLab. I need to read enormous EEG files (electroencephalograms), for example, 20 channels sampled at 32,000 Hz for days on end. This data may be saved as a matrix with 20 columns but a huge number of rows, so big that I run up against size limits if I try to load the whole thing as a matrix. This data is usually in binary format. I tried using stacksize('max') to maximize these size limits but am still running into size limits. Is there a way to load or read in just a part of this huge matrix, process that, then go back and load or read the next chunk? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Wed Jun 23 09:23:35 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Wed, 23 Jun 2010 09:23:35 +0200 Subject: [scilab-Users] recursion using fsolve In-Reply-To: <4C1FE7D7.8000404@lanl.gov> References: <4C1FE7D7.8000404@lanl.gov> Message-ID: <4C21B677.7000700@scilab.org> Dear Sir, I think that I understand the problem. The bug is similar to the bug 1657: http://bugzilla.scilab.org/show_bug.cgi?id=1657 where the ode function shows its limits. The call tree is : test > fsolve > f3 > fsolve > f2 This has a clear meaning and is correct. But fsolve has the same limitation as ode: even if the computation makes perfect sense, it cannot be done because of a limitation of Scilab's interpreter and, may be, a limitation of the fsolve routine itself. In the body of f3, we cannot call fsolve because it is already in the call stack. This error is generated at the interpreter level. The reason behind the generation of this error is not clear: it might be a limitation of the interpreter, or a limitation of the fsolve routine itself, which may use static variables. You should create a bug report so that we can check that the bug is fixed in Scilab v6. Best regards, Micha?l Baudin Charles Basenga Kiyanda a ?crit : > I need to use the fsolve command within itself (obviously with a > different residual function) and scilab keeps returning error 22, > recursion problems. There actually is no recursion problem as I can > use the second call of fsolve on its won and the correct solution is > returned. I'm thinking the algorithm which detects recursion problems > is returning a false positive. I'm using scilab version 5.1.1 on > linux. Is this a problem which was addressed in the 5.2 line? > > I'm including a sample script which reproduces the problem. > > Thanks, > > Charles -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From cbk at lanl.gov Wed Jun 23 16:45:15 2010 From: cbk at lanl.gov (Charles Basenga Kiyanda) Date: Wed, 23 Jun 2010 08:45:15 -0600 Subject: [scilab-Users] recursion using fsolve In-Reply-To: <4C21B677.7000700@scilab.org> References: <4C1FE7D7.8000404@lanl.gov> <4C21B677.7000700@scilab.org> Message-ID: <4C221DFB.9020607@lanl.gov> Hi, Thanks for the reply. I actually stumbled upon the same bug report late yesterday, but you beat me in replying to the list. You are correct, it's a known limitation (not to say bug). The bug report does describe the fsolve routine as non reentrable. One solution that's proposed is to rewrite the code in C, although one would lose connection to the original fortran code. Maybe it's time for me to finally jump in and start contributing properly to an open source project. I could see about fixing this problem. Funny enough, in the course of trying to solve this problem, I tried octave and the same behaviour is exhibited. Now, I'm wondering if matlab will exhibit the same behaviour as well, but I don't have a working copy on hand to test. Charles Micha?l Baudin wrote: > Dear Sir, > > I think that I understand the problem. > The bug is similar to the bug 1657: > http://bugzilla.scilab.org/show_bug.cgi?id=1657 > where the ode function shows its limits. > The call tree is : > > test > fsolve > f3 > fsolve > f2 > > This has a clear meaning and is correct. > But fsolve has the same limitation as ode: even if the computation > makes perfect sense, it cannot be done because of a limitation > of Scilab's interpreter and, may be, a limitation of the fsolve routine > itself. > In the body of f3, we cannot call fsolve because it is > already in the call stack. This error is generated at the interpreter > level. The reason behind the generation of this error is not clear: > it might be a limitation of the interpreter, or a limitation of the fsolve > routine itself, which may use static variables. > You should create a bug report so that we can check that > the bug is fixed in Scilab v6. > > Best regards, > > Micha?l Baudin > > Charles Basenga Kiyanda a ?crit : >> I need to use the fsolve command within itself (obviously with a >> different residual function) and scilab keeps returning error 22, >> recursion problems. There actually is no recursion problem as I can >> use the second call of fsolve on its won and the correct solution is >> returned. I'm thinking the algorithm which detects recursion problems >> is returning a false positive. I'm using scilab version 5.1.1 on >> linux. Is this a problem which was addressed in the 5.2 line? >> >> I'm including a sample script which reproduces the problem. >> >> Thanks, >> >> Charles > > From nickothieno at gmail.com Thu Jun 24 02:05:12 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Wed, 23 Jun 2010 20:05:12 -0400 Subject: call_scilab Message-ID: Hi Guys, I am trying to compile one of the examples on using call_scilab. I created the Makefile based on the example given though made some changes because my scilab is a precompiled binary. This is the Makefile I made: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB):$(PATH_TO_LIB_CALL_SCILAB) gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c However I get a long list of errors when I try to compile. They are: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab -L/home/nick/scilab-5.2.2/lib/thirdparty -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicall_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /tmp/ccO0EyJh.o: In function `main': simple_call_scilab.c:(.text+0x46): undefined reference to `StartScilab' simple_call_scilab.c:(.text+0x7f): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x89): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x93): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x9d): undefined reference to `TerminateScilab' collect2: ld returned 1 exit status make: *** [all] Error 1 How can I solve this problem? Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner7_11 at hotmail.com Thu Jun 24 07:55:31 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Thu, 24 Jun 2010 00:55:31 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: Message-ID: It appears to me you have a single error, that being an incorrect path to libscilab.so. Without having access to your file system, it is difficult to determine what the correct path should be. Getting the correct path should resolve the undefined references... Charlie Date: Wed, 23 Jun 2010 20:05:12 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: [scilab-Users] call_scilab Hi Guys, I am trying to compile one of the examples on using call_scilab. I created the Makefile based on the example given though made some changes because my scilab is a precompiled binary. This is the Makefile I made: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB):$(PATH_TO_LIB_CALL_SCILAB) gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c However I get a long list of errors when I try to compile. They are: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab -L/home/nick/scilab-5.2.2/lib/thirdparty -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicall_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /tmp/ccO0EyJh.o: In function `main': simple_call_scilab.c:(.text+0x46): undefined reference to `StartScilab' simple_call_scilab.c:(.text+0x7f): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x89): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x93): undefined reference to `SendScilabJob' simple_call_scilab.c:(.text+0x9d): undefined reference to `TerminateScilab' collect2: ld returned 1 exit status make: *** [all] Error 1 How can I solve this problem? Nick _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Thu Jun 24 09:16:12 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 24 Jun 2010 09:16:12 +0200 (CEST) Subject: Reading of text file including characters and numbers In-Reply-To: <332195689.706761277363624614.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1403111006.707061277363772943.JavaMail.root@zimbra26-e5.priv.proxad.net> All, What keywords I've to use to read a text file including character strings and reals (matrix format) ... I mean I what to both records words and numbers !!! Thanks PC From nfinke at biology.sdu.dk Thu Jun 24 11:23:23 2010 From: nfinke at biology.sdu.dk (Niko Finke) Date: Thu, 24 Jun 2010 11:23:23 +0200 Subject: unix.err does not exist Message-ID: <243282B01198D04EA64ACAC409929EE239BC579BDE@ADM-EXMBX0CD.adm.c.sdu.dk> Hello, I am trying to reinstall scilab 4.1.2 on a computer with Windows XP where it used to run before. But the computer had been reinstalled. Every time I install scilab 4.1.1 or 4.1.2 I can not open it afterwards but get the following message: Startup execution: loading initial environment !--error 241 File C:\DOCUME~1\nfinke\Local Settings\Temp\SCI_TMP_5412_\unix.err does not exist or read access denied at line 58 of function unix_g called by : line 29 of function listfiles called by : line 27 of function toolboxes called by : toolboxes(SCI+'/contrib'); line 2 of exec file called by : exec(SCI+'/contrib/loader.sce'); line 201 of exec file called by : exec('SCI/scilab.star',-1);; --> I checked and it is true that the "unix.err" is not there, but I do not know how to get it there. Is that a problem with the new installation of windows, did I miss to install anything? I do need a 4.x version of Scilab as I have some programs that are written for it and do not run with 5.x. Thanks for the help Niko Med venlig hilsen Niko Finke Post doc., Nordisk Center for Jordens Udvikling (NordCEE) Tlf. 6550 2745 Fax 6550 2786 Email nfinke at biology.sdu.dk Web http://www.sdu.dk/ansat/nfinke.aspx Adr. Campusvej 55, 5230 Odense M [cid:image001.jpg at 01CB138F.9FE22480] ________________________________ Campusvej 55 * 5230 Odense M * Tlf. 6550 1000 * www.sdu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 4389 bytes Desc: image001.jpg URL: From julio.gonzalez at ymail.com Thu Jun 24 11:39:39 2010 From: julio.gonzalez at ymail.com (Julio Gonzalez-Saenz) Date: Thu, 24 Jun 2010 02:39:39 -0700 (PDT) Subject: [scilab-Users] Reading of text file including characters and numbers In-Reply-To: <1403111006.707061277363772943.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1403111006.707061277363772943.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <837885.36846.qm@web28301.mail.ukl.yahoo.com> Hi Paul, You can use the cell type... Julio ________________________________ From: "paul.carrico at free.fr" To: users at lists.scilab.org Sent: Thu, 24 June, 2010 10:16:12 Subject: [scilab-Users] Reading of text file including characters and numbers All, What keywords I've to use to read a text file including character strings and reals (matrix format) ... I mean I what to both records words and numbers !!! Thanks PC -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Thu Jun 24 11:50:42 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Thu, 24 Jun 2010 11:50:42 +0200 Subject: [scilab-Users] Reading of text file including characters and numbers In-Reply-To: <1403111006.707061277363772943.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1403111006.707061277363772943.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <20100624115042.707969fkjj787erk@webmail1.univ-lemans.fr> Hello, paul.carrico at free.fr a ?crit?: > What keywords I've to use to read a text file including character > strings and reals (matrix format) ... I mean I what to both records > words and numbers !!! read_csv(), fscanfMat(), and related writing functions Regards Samuel From nickothieno at gmail.com Thu Jun 24 16:23:28 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Thu, 24 Jun 2010 10:23:28 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: References: Message-ID: The path is not incorrect: [root at nick scilab-progs]# locate libscilab.so /home/nick/scilab-5.2.2/lib/scilab/libscilab.so /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 It must be something else. Nick On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner wrote: > It appears to me you have a single error, that being an incorrect path to > libscilab.so. Without having access to your file system, it is difficult to > determine what the correct path should be. Getting the correct path should > resolve the undefined references... > > Charlie > > ------------------------------ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > Subject: [scilab-Users] call_scilab > > > Hi Guys, > > I am trying to compile one of the examples on using call_scilab. > > I created the Makefile based on the example given though made some changes > because my scilab is a precompiled binary. This is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB):$(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c > > > However I get a long list of errors when I try to compile. They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > ------------------------------ > Hotmail: Free, trusted and rich email service. Get it now. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Jun 24 16:29:03 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 24 Jun 2010 16:29:03 +0200 Subject: [scilab-Users] call_scilab In-Reply-To: References: Message-ID: <1277389743.20054.70.camel@korcula.inria.fr> Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > From nickothieno at gmail.com Thu Jun 24 17:01:18 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Thu, 24 Jun 2010 11:01:18 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: <1277389743.20054.70.camel@korcula.inria.fr> References: <1277389743.20054.70.camel@korcula.inria.fr> Message-ID: *Oops. More errors. I tried using:* PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab *but got:* [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru < sylvestre.ledru at scilab.org> wrote: > Try to link also against libscicall_scilab.so > > Sylvestre > > Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > > The path is not incorrect: > > > > [root at nick scilab-progs]# locate libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > > > > It must be something else. > > > > Nick > > > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > > wrote: > > It appears to me you have a single error, that being an > > incorrect path to libscilab.so. Without having access to your > > file system, it is difficult to determine what the correct > > path should be. Getting the correct path should resolve the > > undefined references... > > > > Charlie > > > > > > ______________________________________________________________ > > Date: Wed, 23 Jun 2010 20:05:12 -0400 > > From: nickothieno at gmail.com > > > > To: users at lists.scilab.org > > > > Subject: [scilab-Users] call_scilab > > > > > > > > Hi Guys, > > > > I am trying to compile one of the examples on using > > call_scilab. > > > > I created the Makefile based on the example given though made > > some changes because my scilab is a precompiled binary. This > > is the Makefile I made: > > > > PATH_SCILAB = /home/scilab-5.2.2 . > > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > SCILAB_LDFLAGS = -lscilab > > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > > PATH_TO_LIB_CALL_SCILAB > > = /home/nick/scilab-5.2.2/lib/thirdparty > > > > all: simple_call_scilab.c > > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > > $(PATH_TO_LIB_CALL_SCILAB) > > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > > simple_call_scilab.c > > > > > > However I get a long list of errors when I try to compile. > > They are: > > > > [root at nick scilab-progs]# make > > export > > > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > > -L/home/nick/scilab-5.2.2/lib/thirdparty > > -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > simple_call_scilab.c > > /usr/bin/ld: warning: libblas.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidouble.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciboolean.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciintersci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilocalization.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistatistics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitime.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscisparse.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipolynomials.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicacsd.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmx.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmat.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidifferential_equations.so.5, > > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > > found (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmex.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidata_structures.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciinteger.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicompletion.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifftw.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifunctions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihashtable.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitclsci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtk8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtcl8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigui.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscirenderer.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciconsole.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscishell.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscijvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifileio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistring.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcreposix.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcre.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: liblapack.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilibst.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixcos.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixpad.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicore.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscimalloc.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /tmp/ccO0EyJh.o: In function `main': > > simple_call_scilab.c:(.text+0x46): undefined reference to > > `StartScilab' > > simple_call_scilab.c:(.text+0x7f): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x89): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x93): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x9d): undefined reference to > > `TerminateScilab' > > collect2: ld returned 1 exit status > > make: *** [all] Error 1 > > > > > > > > How can I solve this problem? > > > > Nick > > > > > > > > ______________________________________________________________ > > Hotmail: Free, trusted and rich email service. Get it now. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner7_11 at hotmail.com Thu Jun 24 19:33:43 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Thu, 24 Jun 2010 12:33:43 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: ,,,<1277389743.20054.70.camel@korcula.inria.fr>, Message-ID: Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this particular variable is used- the compiler may be concatenating "lib/scilab" to the path again. Once more, all of your errors seem to be associated with not being able to locate "libscilab.so". Charlie Date: Thu, 24 Jun 2010 11:01:18 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Oops. More errors. I tried using: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab but got: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru wrote: Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nickothieno at gmail.com Thu Jun 24 19:44:13 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Thu, 24 Jun 2010 13:44:13 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: References: <1277389743.20054.70.camel@korcula.inria.fr> Message-ID: With that change, I get: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab /usr/bin/ld: cannot find -lscilab collect2: ld returned 1 exit status make: *** [all] Error 1 In this case, it is clear the linker cannot find libscilab.so. Nick On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: > Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to > "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this > particular variable is used- the compiler may be concatenating "lib/scilab" > to the path again. Once more, all of your errors seem to be associated with > not being able to locate "libscilab.so". > > Charlie > > ------------------------------ > Date: Thu, 24 Jun 2010 11:01:18 -0400 > > From: nickothieno at gmail.com > To: users at lists.scilab.org > Subject: Re: [scilab-Users] call_scilab > > > *Oops. More errors. I tried using:* > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) > gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) > $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab > > *but got:* > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab > gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty > -L/home/nick/scilab-5.2.2/lib/scilab > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c > -lscilab -lscicall_scilab > /usr/bin/ld: warning: libblas.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `com_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `callFunctionFromGateway' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyAlloc' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createNamedMatrixOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checklhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `freeArrayOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `intersci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `inisci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checkrhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `readNamedMatrixOfDouble' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `scirun_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `sciHasFigures' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `putlhsvar_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getNamedVarDimension' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setSCIpath' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `pvApiCtx' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyFree' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createvarfromptr_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `ExitScilab' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `settmpdir_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `InitializeLaunchScilabSignal' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `isdir' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `TerminateCorePart2' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `printError' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru < > sylvestre.ledru at scilab.org> wrote: > > Try to link also against libscicall_scilab.so > > Sylvestre > > Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > > The path is not incorrect: > > > > [root at nick scilab-progs]# locate libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > > > > It must be something else. > > > > Nick > > > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > > wrote: > > It appears to me you have a single error, that being an > > incorrect path to libscilab.so. Without having access to your > > file system, it is difficult to determine what the correct > > path should be. Getting the correct path should resolve the > > undefined references... > > > > Charlie > > > > > > ______________________________________________________________ > > Date: Wed, 23 Jun 2010 20:05:12 -0400 > > From: nickothieno at gmail.com > > > > To: users at lists.scilab.org > > > > Subject: [scilab-Users] call_scilab > > > > > > > > Hi Guys, > > > > I am trying to compile one of the examples on using > > call_scilab. > > > > I created the Makefile based on the example given though made > > some changes because my scilab is a precompiled binary. This > > is the Makefile I made: > > > > PATH_SCILAB = /home/scilab-5.2.2 . > > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > SCILAB_LDFLAGS = -lscilab > > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > > PATH_TO_LIB_CALL_SCILAB > > = /home/nick/scilab-5.2.2/lib/thirdparty > > > > all: simple_call_scilab.c > > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > > $(PATH_TO_LIB_CALL_SCILAB) > > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > > simple_call_scilab.c > > > > > > However I get a long list of errors when I try to compile. > > They are: > > > > [root at nick scilab-progs]# make > > export > > > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > > -L/home/nick/scilab-5.2.2/lib/thirdparty > > -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > simple_call_scilab.c > > /usr/bin/ld: warning: libblas.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidouble.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciboolean.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciintersci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilocalization.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistatistics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitime.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscisparse.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipolynomials.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicacsd.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmx.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmat.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidifferential_equations.so.5, > > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > > found (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmex.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidata_structures.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciinteger.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicompletion.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifftw.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifunctions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihashtable.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitclsci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtk8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtcl8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigui.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscirenderer.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciconsole.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscishell.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscijvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifileio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistring.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcreposix.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcre.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: liblapack.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilibst.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixcos.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixpad.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicore.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscimalloc.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /tmp/ccO0EyJh.o: In function `main': > > simple_call_scilab.c:(.text+0x46): undefined reference to > > `StartScilab' > > simple_call_scilab.c:(.text+0x7f): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x89): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x93): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x9d): undefined reference to > > `TerminateScilab' > > collect2: ld returned 1 exit status > > make: *** [all] Error 1 > > > > > > > > How can I solve this problem? > > > > Nick > > > > > > > > ______________________________________________________________ > > Hotmail: Free, trusted and rich email service. Get it now. > > > > > > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner7_11 at hotmail.com Thu Jun 24 20:04:25 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Thu, 24 Jun 2010 13:04:25 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: ,,,<1277389743.20054.70.camel@korcula.inria.fr>,,, Message-ID: Now your linker is finding "libscilab.so", but not the "thirdparty" libraries. Try changing "PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty" to "PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2" also. Charlie Date: Thu, 24 Jun 2010 13:44:13 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab With that change, I get: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab /usr/bin/ld: cannot find -lscilab collect2: ld returned 1 exit status make: *** [all] Error 1 In this case, it is clear the linker cannot find libscilab.so. Nick On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this particular variable is used- the compiler may be concatenating "lib/scilab" to the path again. Once more, all of your errors seem to be associated with not being able to locate "libscilab.so". Charlie Date: Thu, 24 Jun 2010 11:01:18 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Oops. More errors. I tried using: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab but got: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scila"b-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru wrote: Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > Hotmail: Powerful Free email with security by Microsoft. Get it now. _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From inderpreet_arora at rediffmail.com Thu Jun 24 20:53:55 2010 From: inderpreet_arora at rediffmail.com (Inderpreet Arora) Date: 24 Jun 2010 18:53:55 -0000 Subject: =?utf-8?B?U2NpZnVuYyBibG9jaw==?= Message-ID: <20100624185355.44030.qmail@f5mail-236-230.rediffmail.com> Hello, In one of the applications, I have a Scifunc block taking input and providing output to separate filter(continuous time transfer function) blocks. But Scicos/Xcos complains, with the following message: Algebrique loop detected; cannot be compiled. What kind of interface function or format does a transfer function block expect? Can I do that easily inside my Scilab routine that is called by the Scifunc block? Please guide. Thanks. Regards, Inderpreet -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner7_11 at hotmail.com Thu Jun 24 21:41:58 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Thu, 24 Jun 2010 14:41:58 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: ,,,<1277389743.20054.70.camel@korcula.inria.fr>,,, Message-ID: Try this: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2 PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2 Why do you have a "#" before "SCILAB_LDFLAGS" in your original? Charlie Date: Thu, 24 Jun 2010 13:44:13 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab With that change, I get: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab /usr/bin/ld: cannot find -lscilab collect2: ld returned 1 exit status make: *** [all] Error 1 In this case, it is clear the linker cannot find libscilab.so. Nick On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this particular variable is used- the compiler may be concatenating "lib/scilab" to the path again. Once more, all of your errors seem to be associated with not being able to locate "libscilab.so". Charlie Date: Thu, 24 Jun 2010 11:01:18 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Oops. More errors. I tried using: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab but got: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru wrote: Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > Hotmail: Powerful Free email with security by Microsoft. Get it now. _________________________________________________________________ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nickothieno at gmail.com Thu Jun 24 21:46:37 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Thu, 24 Jun 2010 15:46:37 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: References: <1277389743.20054.70.camel@korcula.inria.fr> Message-ID: Hey Charlie, Thanks for the help. But with he change: *Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/* *scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2" *The failure was worse not better. That is what I was trying to explain in the previous message. From what I can see, I had originally correctly defined the lib directories. But for some reason the libs cannot see each other. Is it possible for you or someone else to try the example, and see if it works? Nick On Thu, Jun 24, 2010 at 2:04 PM, Charlie Warner wrote: > Now your linker is finding "libscilab.so", but not the "thirdparty" > libraries. Try changing "PATH_TO_LIB_CALL_SCILAB = > /home/nick/scilab-5.2.2/lib/thirdparty" to "PATH_TO_LIB_CALL_SCILAB = > /home/nick/scilab-5.2.2" also. > > Charlie > ------------------------------ > Date: Thu, 24 Jun 2010 13:44:13 -0400 > > From: nickothieno at gmail.com > To: users at lists.scilab.org > Subject: Re: [scilab-Users] call_scilab > > With that change, I get: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib > gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty > -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c > -lscilab > /usr/bin/ld: cannot find -lscilab > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > In this case, it is clear the linker cannot find libscilab.so. > > Nick > > On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: > > Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to > "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this > particular variable is used- the compiler may be concatenating "lib/scilab" > to the path again. Once more, all of your errors seem to be associated with > not being able to locate "libscilab.so". > > Charlie > > ------------------------------ > Date: Thu, 24 Jun 2010 11:01:18 -0400 > > From: nickothieno at gmail.com > To: users at lists.scilab.org > Subject: Re: [scilab-Users] call_scilab > > > *Oops. More errors. I tried using:* > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) > gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) > $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab > > *but got:* > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab > gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty > -L/home/nick/scilab-5.2.2/lib/scilab > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c > -lscilab -lscicall_scilab > /usr/bin/ld: warning: libblas.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `com_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `callFunctionFromGateway' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyAlloc' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createNamedMatrixOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checklhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `freeArrayOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `intersci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `inisci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checkrhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `readNamedMatrixOfDouble' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `scirun_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `sciHasFigures' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `putlhsvar_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getNamedVarDimension' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setSCIpath' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `pvApiCtx' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyFree' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createvarfromptr_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `ExitScilab' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `settmpdir_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `InitializeLaunchScilabSignal' > /home/nick/scila"b-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `isdir' > > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `TerminateCorePart2' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `printError' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru < > sylvestre.ledru at scilab.org> wrote: > > Try to link also against libscicall_scilab.so > > Sylvestre > > Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > > The path is not incorrect: > > > > [root at nick scilab-progs]# locate libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > > > > It must be something else. > > > > Nick > > > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > > wrote: > > It appears to me you have a single error, that being an > > incorrect path to libscilab.so. Without having access to your > > file system, it is difficult to determine what the correct > > path should be. Getting the correct path should resolve the > > undefined references... > > > > Charlie > > > > > > ______________________________________________________________ > > Date: Wed, 23 Jun 2010 20:05:12 -0400 > > From: nickothieno at gmail.com > > > > To: users at lists.scilab.org > > > > Subject: [scilab-Users] call_scilab > > > > > > > > Hi Guys, > > > > I am trying to compile one of the examples on using > > call_scilab. > > > > I created the Makefile based on the example given though made > > some changes because my scilab is a precompiled binary. This > > is the Makefile I made: > > > > PATH_SCILAB = /home/scilab-5.2.2 . > > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > SCILAB_LDFLAGS = -lscilab > > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > > PATH_TO_LIB_CALL_SCILAB > > = /home/nick/scilab-5.2.2/lib/thirdparty > > > > all: simple_call_scilab.c > > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > > $(PATH_TO_LIB_CALL_SCILAB) > > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > > simple_call_scilab.c > > > > > > However I get a long list of errors when I try to compile. > > They are: > > > > [root at nick scilab-progs]# make > > export > > > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > > -L/home/nick/scilab-5.2.2/lib/thirdparty > > -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > simple_call_scilab.c > > /usr/bin/ld: warning: libblas.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidouble.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciboolean.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciintersci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilocalization.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistatistics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitime.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscisparse.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipolynomials.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicacsd.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmx.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmat.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidifferential_equations.so.5, > > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > > found (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmex.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidata_structures.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciinteger.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicompletion.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifftw.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifunctions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihashtable.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitclsci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtk8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtcl8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigui.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscirenderer.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciconsole.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscishell.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscijvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifileio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistring.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcreposix.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcre.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: liblapack.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilibst.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixcos.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixpad.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicore.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscimalloc.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /tmp/ccO0EyJh.o: In function `main': > > simple_call_scilab.c:(.text+0x46): undefined reference to > > `StartScilab' > > simple_call_scilab.c:(.text+0x7f): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x89): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x93): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x9d): undefined reference to > > `TerminateScilab' > > collect2: ld returned 1 exit status > > make: *** [all] Error 1 > > > > > > > > How can I solve this problem? > > > > Nick > > > > > > > > ______________________________________________________________ > > Hotmail: Free, trusted and rich email service. Get it now. > > > > > > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > > > > ------------------------------ > Hotmail: Trusted email with powerful SPAM protection. Sign up now. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nickothieno at gmail.com Thu Jun 24 22:06:03 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Thu, 24 Jun 2010 16:06:03 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: References: <1277389743.20054.70.camel@korcula.inria.fr> Message-ID: The commented part was just a test. It was no in the original. The new method also fails with: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2:/home/nick/scilab-5.2.2 gcc -o myExample -L/home/nick/scilab-5.2.2 -L/home/nick/scilab-5.2.2 -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab /usr/bin/ld: cannot find -lscilab collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 3:46 PM, Nick Othieno wrote: > Hey Charlie, > > Thanks for the help. But with he change: > > > *Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/* > *scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2" > > * > The failure was worse not better. That is what I was trying to explain in > the previous message. From what I can see, I had originally correctly > defined the lib directories. But for some reason the libs cannot see each > other. Is it possible for you or someone else to try the example, and see if > it works? > > Nick > > > On Thu, Jun 24, 2010 at 2:04 PM, Charlie Warner wrote: > >> Now your linker is finding "libscilab.so", but not the "thirdparty" >> libraries. Try changing "PATH_TO_LIB_CALL_SCILAB = >> /home/nick/scilab-5.2.2/lib/thirdparty" to "PATH_TO_LIB_CALL_SCILAB = >> /home/nick/scilab-5.2.2" also. >> >> Charlie >> ------------------------------ >> Date: Thu, 24 Jun 2010 13:44:13 -0400 >> >> From: nickothieno at gmail.com >> To: users at lists.scilab.org >> Subject: Re: [scilab-Users] call_scilab >> >> With that change, I get: >> >> [root at nick scilab-progs]# make >> export >> LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib >> gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty >> -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ >> -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c >> -lscilab >> /usr/bin/ld: cannot find -lscilab >> collect2: ld returned 1 exit status >> make: *** [all] Error 1 >> >> >> In this case, it is clear the linker cannot find libscilab.so. >> >> Nick >> >> On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: >> >> Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to >> "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this >> particular variable is used- the compiler may be concatenating "lib/scilab" >> to the path again. Once more, all of your errors seem to be associated with >> not being able to locate "libscilab.so". >> >> Charlie >> >> ------------------------------ >> Date: Thu, 24 Jun 2010 11:01:18 -0400 >> >> From: nickothieno at gmail.com >> To: users at lists.scilab.org >> Subject: Re: [scilab-Users] call_scilab >> >> >> *Oops. More errors. I tried using:* >> >> PATH_SCILAB = /home/scilab-5.2.2 . >> SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ >> -I/home/scilab-5.2.2/modules/call_scilab/includes/ >> SCILAB_LDFLAGS = -lscilab >> #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so >> PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab >> PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty >> >> all: simple_call_scilab.c >> export >> LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) >> gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) >> $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab >> >> *but got:* >> >> [root at nick scilab-progs]# make >> export >> LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab >> gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty >> -L/home/nick/scilab-5.2.2/lib/scilab >> -I/home/nick/scilab-5.2.2/include/scilab/ >> -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c >> -lscilab -lscicall_scilab >> /usr/bin/ld: warning: libblas.so.3gf, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidouble.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciboolean.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciintersci.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscilocalization.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscispecial_functions.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscistatistics.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscitime.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscipvm.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscisparse.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciio.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscipolynomials.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscicacsd.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libmx.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libmat.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libmex.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidata_structures.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciinteger.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidynamic_link.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscicompletion.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscifftw.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscihdf5.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscifunctions.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscigraphics.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscihashtable.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscitclsci.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libtk8.5.so.0, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libtcl8.5.so.0, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscigui.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscirenderer.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscigraphic_export.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciconsole.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscishell.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciaction_binding.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscihistory_manager.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscijvm.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscifileio.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscistring.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libpcreposix.so.3, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libpcre.so.3, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscielementary_functions.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciarnoldi.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: liblapack.so.3gf, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscilibst.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscixcos.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscixpad.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscicore.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscimalloc.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscioutput_stream.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by >> /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath >> or -rpath-link) >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `com_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `callFunctionFromGateway' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `MyAlloc' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `createNamedMatrixOfString' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `checklhs_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `freeArrayOfString' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `intersci_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `setScilabMode' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `inisci_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `checkrhs_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `readNamedMatrixOfDouble' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `scirun_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `sciHasFigures' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `putlhsvar_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `getNamedVarDimension' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `setSCIpath' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `getScilabMode' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `pvApiCtx' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `MyFree' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `createvarfromptr_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `ExitScilab' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `settmpdir_' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `InitializeLaunchScilabSignal' >> /home/nick/scila"b-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `isdir' >> >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `TerminateCorePart2' >> /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined >> reference to `printError' >> collect2: ld returned 1 exit status >> make: *** [all] Error 1 >> >> >> On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru < >> sylvestre.ledru at scilab.org> wrote: >> >> Try to link also against libscicall_scilab.so >> >> Sylvestre >> >> Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : >> > The path is not incorrect: >> > >> > [root at nick scilab-progs]# locate libscilab.so >> > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so >> > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 >> > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 >> > >> > >> > It must be something else. >> > >> > Nick >> > >> > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner >> > wrote: >> > It appears to me you have a single error, that being an >> > incorrect path to libscilab.so. Without having access to your >> > file system, it is difficult to determine what the correct >> > path should be. Getting the correct path should resolve the >> > undefined references... >> > >> > Charlie >> > >> > >> > ______________________________________________________________ >> > Date: Wed, 23 Jun 2010 20:05:12 -0400 >> > From: nickothieno at gmail.com >> > >> > To: users at lists.scilab.org >> > >> > Subject: [scilab-Users] call_scilab >> > >> > >> > >> > Hi Guys, >> > >> > I am trying to compile one of the examples on using >> > call_scilab. >> > >> > I created the Makefile based on the example given though made >> > some changes because my scilab is a precompiled binary. This >> > is the Makefile I made: >> > >> > PATH_SCILAB = /home/scilab-5.2.2 . >> > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ >> > -I/home/scilab-5.2.2/modules/call_scilab/includes/ >> > SCILAB_LDFLAGS = -lscilab >> > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab >> > PATH_TO_LIB_CALL_SCILAB >> > = /home/nick/scilab-5.2.2/lib/thirdparty >> > >> > all: simple_call_scilab.c >> > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): >> > $(PATH_TO_LIB_CALL_SCILAB) >> > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) >> > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) >> > simple_call_scilab.c >> > >> > >> > However I get a long list of errors when I try to compile. >> > They are: >> > >> > [root at nick scilab-progs]# make >> > export >> > >> LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty >> > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab >> > -L/home/nick/scilab-5.2.2/lib/thirdparty >> > -I/home/nick/scilab-5.2.2/include/scilab/ >> > -I/home/scilab-5.2.2/modules/call_scilab/includes/ >> > simple_call_scilab.c >> > /usr/bin/ld: warning: libblas.so.3gf, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscicall_scilab.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidouble.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciboolean.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciintersci.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscilocalization.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscispecial_functions.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscistatistics.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscitime.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscipvm.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscisparse.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciio.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscipolynomials.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscicacsd.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libmx.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libmat.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidifferential_equations.so.5, >> > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not >> > found (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libmex.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidata_structures.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciinteger.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidynamic_link.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscicompletion.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscifftw.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscihdf5.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscifunctions.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscigraphics.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscihashtable.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscitclsci.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libtk8.5.so.0, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libtcl8.5.so.0, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscigui.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscirenderer.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscigraphic_export.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciconsole.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscishell.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciaction_binding.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscihistory_manager.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscijvm.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscifileio.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscistring.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libpcreposix.so.3, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libpcre.so.3, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscielementary_functions.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciarnoldi.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: liblapack.so.3gf, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscilibst.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscixcos.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscixpad.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscicore.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscimalloc.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscioutput_stream.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed >> > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found >> > (try using -rpath or -rpath-link) >> > /tmp/ccO0EyJh.o: In function `main': >> > simple_call_scilab.c:(.text+0x46): undefined reference to >> > `StartScilab' >> > simple_call_scilab.c:(.text+0x7f): undefined reference to >> > `SendScilabJob' >> > simple_call_scilab.c:(.text+0x89): undefined reference to >> > `SendScilabJob' >> > simple_call_scilab.c:(.text+0x93): undefined reference to >> > `SendScilabJob' >> > simple_call_scilab.c:(.text+0x9d): undefined reference to >> > `TerminateScilab' >> > collect2: ld returned 1 exit status >> > make: *** [all] Error 1 >> > >> > >> > >> > How can I solve this problem? >> > >> > Nick >> > >> > >> > >> > ______________________________________________________________ >> > Hotmail: Free, trusted and rich email service. Get it now. >> > >> >> >> >> >> ------------------------------ >> Hotmail: Powerful Free email with security by Microsoft. Get it now. >> >> >> >> ------------------------------ >> Hotmail: Trusted email with powerful SPAM protection. Sign up now. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cwarner7_11 at hotmail.com Thu Jun 24 22:27:06 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Thu, 24 Jun 2010 15:27:06 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: ,,,<1277389743.20054.70.camel@korcula.inria.fr>,,,,, Message-ID: Send me the source code, and I will run it to see what happens. Better to send it to me directly at cwarner7_11 at hotmail.com rather than through the users list. When we get it working, we can post the solution to usrs list so that others can benefit. Charlie Date: Thu, 24 Jun 2010 15:46:37 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Hey Charlie, Thanks for the help. But with he change: Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2" The failure was worse not better. That is what I was trying to explain in the previous message. From what I can see, I had originally correctly defined the lib directories. But for some reason the libs cannot see each other. Is it possible for you or someone else to try the example, and see if it works? Nick On Thu, Jun 24, 2010 at 2:04 PM, Charlie Warner wrote: Now your linker is finding "libscilab.so", but not the "thirdparty" libraries. Try changing "PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty" to "PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2" also. Charlie Date: Thu, 24 Jun 2010 13:44:13 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab With that change, I get: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab /usr/bin/ld: cannot find -lscilab collect2: ld returned 1 exit status make: *** [all] Error 1 In this case, it is clear the linker cannot find libscilab.so. Nick On Thu, Jun 24, 2010 at 1:33 PM, Charlie Warner wrote: Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this particular variable is used- the compiler may be concatenating "lib/scilab" to the path again. Once more, all of your errors seem to be associated with not being able to locate "libscilab.so". Charlie Date: Thu, 24 Jun 2010 11:01:18 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Oops. More errors. I tried using: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab but got: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scila"b-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru wrote: Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > Hotmail: Powerful Free email with security by Microsoft. Get it now. Hotmail: Trusted email with powerful SPAM protection. Sign up now. _________________________________________________________________ Hotmail: Trusted email with Microsoft?s powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rockin.chizel at gmail.com Fri Jun 25 01:56:42 2010 From: rockin.chizel at gmail.com (Vincent Newell) Date: Thu, 24 Jun 2010 16:56:42 -0700 Subject: Can Anybody Help Me Learn Scilab? Message-ID: Hi, I recently got a summer internship and need to learn Scilab. I have downloaded it and looked at the introduction, and gone through the tutorials on the Wiki, but I still don't feel up to snuff. I am comfortable plotting graphs, using variables, creating functions, and other such stuff, but still feel like there is so much I don't know. Are there any more "advanced" tutorials that I can find? I don't really know what else I need to know, but the boss kind of made it seem like I needed to learn it all. Reading through intros about everything it can do is great, but I feel like doing problems really concretely sets the ideas in my head. Are there some easy problems that I should try to solve using Scilab, and problems that get progressively harder/require more advanced techniques. Any input would be greatly appreciated. -Vincent From yann.collette at scilab.org Fri Jun 25 09:09:12 2010 From: yann.collette at scilab.org (Collette yann) Date: Fri, 25 Jun 2010 09:09:12 +0200 Subject: [scilab-Users] Scifunc block In-Reply-To: <20100624185355.44030.qmail@f5mail-236-230.rediffmail.com> References: <20100624185355.44030.qmail@f5mail-236-230.rediffmail.com> Message-ID: <4C245618.4060502@scilab.org> Hello, Algebric loops happen when you loop a direct feedthrough input. In your loop, you must have some kind of delay to avoid this feedthrough. In the diagram alg_loop_1.xcos, the input is directly linked to the output via the sin function (no delay). Xcos can't simulate this diagram because of this direct loop. In the diagram alg_loop_1.xcos, I added a delay in the direct line. Now, there is some delay, no more direct feedthrough. And Xcos can simulate this diagram. YC Le 24/06/2010 20:53, Inderpreet Arora a ?crit : > Hello, > In one of the applications, I have a Scifunc block taking input and > providing output to separate filter(continuous time transfer function) > blocks. But Scicos/Xcos complains, with the following message: > Algebrique loop detected; cannot be compiled. > > What kind of interface function or format does a transfer function > block expect? Can I do that easily inside my Scilab routine that is > called by the Scifunc block? Please guide. > > Thanks. > > Regards, > Inderpreet > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: alg_loop_1.xcos Type: text/xml Size: 40805 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: alg_loop_2.xcos Type: text/xml Size: 78514 bytes Desc: not available URL: From sumit.adhikari at gmail.com Fri Jun 25 09:17:06 2010 From: sumit.adhikari at gmail.com (Sumit Adhikari) Date: Fri, 25 Jun 2010 09:17:06 +0200 Subject: [scilab-Users] Scifunc block In-Reply-To: <4C245618.4060502@scilab.org> References: <20100624185355.44030.qmail@f5mail-236-230.rediffmail.com> <4C245618.4060502@scilab.org> Message-ID: The error message has French and English mixed, this is a minor bug! Regards, Sumit On Fri, Jun 25, 2010 at 9:09 AM, Collette yann wrote: > Hello, > > Algebric loops happen when you loop a direct feedthrough input. In your > loop, you must have some kind of delay to avoid this feedthrough. > In the diagram alg_loop_1.xcos, the input is directly linked to the output > via the sin function (no delay). Xcos can't simulate this diagram because of > this direct loop. > In the diagram alg_loop_1.xcos, I added a delay in the direct line. Now, > there is some delay, no more direct feedthrough. And Xcos can simulate this > diagram. > > YC > > Le 24/06/2010 20:53, Inderpreet Arora a ?crit : > > Hello, > In one of the applications, I have a Scifunc block taking input and > providing output to separate filter(continuous time transfer function) > blocks. But Scicos/Xcos complains, with the following message: > Algebrique loop detected; cannot be compiled. > > What kind of interface function or format does a transfer function block > expect? Can I do that easily inside my Scilab routine that is called by the > Scifunc block? Please guide. > > Thanks. > > Regards, > Inderpreet > > > > > > > -- Sumit Adhikari, Institute of Computer Technology, Faculty of Electrical Engineering, Vienna University of Technology, Gu?hausstra?e 27-29,1040 Vienna -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Fri Jun 25 12:28:26 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Fri, 25 Jun 2010 12:28:26 +0200 (CEST) Subject: How to launch a batch file under windows Message-ID: <507222393.874891277461706596.JavaMail.root@zimbra26-e5.priv.proxad.net> Hi all Ok for launching a exec file ... however how can i proceed to launch a batch one i.e a .cmd ? Indeed either [rep,stat,err]=unix_g(go.cmd); or [rep,stat,err]=unix_g(go); doesn't work Regards PC From allan.cornet at scilab.org Fri Jun 25 13:22:11 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 25 Jun 2010 13:22:11 +0200 Subject: [scilab-Users] How to launch a batch file under windows In-Reply-To: <507222393.874891277461706596.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <507222393.874891277461706596.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <004301cb1458$a7a9c5f0$f6fd51d0$@cornet@scilab.org> Hi, See example in : help unix_g Or : unix_g("mybatch.bat") Best regards Allan CORNET -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 12:28 ? : users at lists.scilab.org Objet : [scilab-Users] How to launch a batch file under windows Hi all Ok for launching a exec file ... however how can i proceed to launch a batch one i.e a .cmd ? Indeed either [rep,stat,err]=unix_g(go.cmd); or [rep,stat,err]=unix_g(go); doesn't work Regards PC From paul.carrico at free.fr Fri Jun 25 13:34:55 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Fri, 25 Jun 2010 13:34:55 +0200 (CEST) Subject: [scilab-Users] How to launch a batch file under windows In-Reply-To: <625429536.882001277465682605.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1097738805.882021277465695471.JavaMail.root@zimbra26-e5.priv.proxad.net> Thanks However because of the usefull text editor I'm still under Scilab 5.1.1 ... and such instruction seems not to work (see attached screenshot). I think i've to focuss and the second step I'm thining to i.e to lauch directly the fea code from scilab Regards Paul ----- Mail Original ----- De: "Allan CORNET" ?: users at lists.scilab.org Envoy?: Vendredi 25 Juin 2010 13h22:11 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: RE: [scilab-Users] How to launch a batch file under windows Hi, See example in : help unix_g Or : unix_g("mybatch.bat") Best regards Allan CORNET -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 12:28 ? : users at lists.scilab.org Objet : [scilab-Users] How to launch a batch file under windows Hi all Ok for launching a exec file ... however how can i proceed to launch a batch one i.e a .cmd ? Indeed either [rep,stat,err]=unix_g(go.cmd); or [rep,stat,err]=unix_g(go); doesn't work Regards PC -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab.JPG Type: image/pjpeg Size: 132609 bytes Desc: not available URL: From allan.cornet at scilab.org Fri Jun 25 13:49:56 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 25 Jun 2010 13:49:56 +0200 Subject: [scilab-Users] How to launch a batch file under windows In-Reply-To: <1097738805.882021277465695471.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <625429536.882001277465682605.JavaMail.root@zimbra26-e5.priv.proxad.net> <1097738805.882021277465695471.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <005401cb145c$87f4b860$97de2920$@cornet@scilab.org> Hi, Are you sure that .bat is in your current directory (add full path) ? A example tested with 5.1.1: mybatchfile = TMPDIR + '\mybatch.bat'; mputl('echo hello from batch', mybatchfile) [a,b,c] = unix_g(mybatchfile) ___________________________________________ scilab-5.1.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2009 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment -->help mputl -->mybatchfile = TMPDIR + '\mybatch.bat'; -->mputl('echo hello from batch', mybatchfile) ans = T -->[a,b,c] = unix_g(mybatchfile) c = b = 0. a = ! ! ! ! !C:\Users\ME\Desktop>echo hello from batch ! ! ! !hello from batch ! Allan -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 13:35 ? : users at lists.scilab.org Objet : Re: [scilab-Users] How to launch a batch file under windows Thanks However because of the usefull text editor I'm still under Scilab 5.1.1 ... and such instruction seems not to work (see attached screenshot). I think i've to focuss and the second step I'm thining to i.e to lauch directly the fea code from scilab Regards Paul ----- Mail Original ----- De: "Allan CORNET" ?: users at lists.scilab.org Envoy?: Vendredi 25 Juin 2010 13h22:11 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: RE: [scilab-Users] How to launch a batch file under windows Hi, See example in : help unix_g Or : unix_g("mybatch.bat") Best regards Allan CORNET -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 12:28 ? : users at lists.scilab.org Objet : [scilab-Users] How to launch a batch file under windows Hi all Ok for launching a exec file ... however how can i proceed to launch a batch one i.e a .cmd ? Indeed either [rep,stat,err]=unix_g(go.cmd); or [rep,stat,err]=unix_g(go); doesn't work Regards PC From paul.carrico at esterline.com Fri Jun 25 13:52:30 2010 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 25 Jun 2010 13:52:30 +0200 Subject: [scilab-Users] How to launch a batch file under windows In-Reply-To: <005401cb145c$87f4b860$97de2920$@cornet@scilab.org> References: <625429536.882001277465682605.JavaMail.root@zimbra26-e5.priv.proxad.net> <1097738805.882021277465695471.JavaMail.root@zimbra26-e5.priv.proxad.net> <005401cb145c$87f4b860$97de2920$@cornet@scilab.org> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD09@exchsrv.AUXITROL1> Yes I think so ... Here'is a part of the code : unix('cd JOB1'); [rep,stat,err]=unix_g("go1.cmd"); // permet de pointer sur le type d'erreur s'il y en a if (stat~=0) then printf('rep = '); disp(rep); printf('err = '); disp(err); end unix('cd ..'); ----------------------------------------------------------------- PAUL CARRICO Design Engineer / Material expert Temperature Department AUXITROL SENSORS Group ESTERLINE Corporation 5, all?e Charles Path? 18941 BOURGES cedex 9 FRANCE Phone : +33 (0) 2 48 66 78 50 Fax : +33 (0) 2 48 66 78 55 Email paul.carrico at esterline.com ----------------------------------------------------------------- P Please consider the environment before printing this e-mail -----Message d'origine----- De : Allan CORNET [mailto:allan.cornet at scilab.org] Envoy? : vendredi 25 juin 2010 13:50 ? : users at lists.scilab.org Objet : RE: [scilab-Users] How to launch a batch file under windows Hi, Are you sure that .bat is in your current directory (add full path) ? A example tested with 5.1.1: mybatchfile = TMPDIR + '\mybatch.bat'; mputl('echo hello from batch', mybatchfile) [a,b,c] = unix_g(mybatchfile) ___________________________________________ scilab-5.1.1 Consortium Scilab (DIGITEO) Copyright (c) 1989-2009 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment -->help mputl -->mybatchfile = TMPDIR + '\mybatch.bat'; -->mputl('echo hello from batch', mybatchfile) ans = T -->[a,b,c] = unix_g(mybatchfile) c = b = 0. a = ! ! ! ! !C:\Users\ME\Desktop>echo hello from batch ! ! ! !hello from batch ! Allan -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 13:35 ? : users at lists.scilab.org Objet : Re: [scilab-Users] How to launch a batch file under windows Thanks However because of the usefull text editor I'm still under Scilab 5.1.1 ... and such instruction seems not to work (see attached screenshot). I think i've to focuss and the second step I'm thining to i.e to lauch directly the fea code from scilab Regards Paul ----- Mail Original ----- De: "Allan CORNET" ?: users at lists.scilab.org Envoy?: Vendredi 25 Juin 2010 13h22:11 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: RE: [scilab-Users] How to launch a batch file under windows Hi, See example in : help unix_g Or : unix_g("mybatch.bat") Best regards Allan CORNET -----Message d'origine----- De : paul.carrico at free.fr [mailto:paul.carrico at free.fr] Envoy? : vendredi 25 juin 2010 12:28 ? : users at lists.scilab.org Objet : [scilab-Users] How to launch a batch file under windows Hi all Ok for launching a exec file ... however how can i proceed to launch a batch one i.e a .cmd ? Indeed either [rep,stat,err]=unix_g(go.cmd); or [rep,stat,err]=unix_g(go); doesn't work Regards PC -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From paul.carrico at esterline.com Fri Jun 25 14:02:05 2010 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 25 Jun 2010 14:02:05 +0200 Subject: Oupss sorry for the automatic request ! Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0A@exchsrv.AUXITROL1> ----------------------------------------------------------------- PAUL CARRICO Design Engineer / Material expert Temperature Department AUXITROL SENSORS Group ESTERLINE Corporation 5, all?e Charles Path? 18941 BOURGES cedex 9 FRANCE Phone : +33 (0) 2 48 66 78 50 Fax : +33 (0) 2 48 66 78 55 Email paul.carrico at esterline.com ----------------------------------------------------------------- P Please consider the environment before printing this e-mail -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Fri Jun 25 15:15:46 2010 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 25 Jun 2010 15:15:46 +0200 Subject: Very basic question Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0D@exchsrv.AUXITROL1> All Sorry for asking that but under windows neither of all my attemps do not work : I want to go and work in the JOB1 directory I tried : unix('cd \JOB1'); unix('cd JOB1/'); and other combination .... but i failed my job remains in the current directory ... what's wrong ? Thanks for any help regards PC P Please consider the environment before printing this e-mail -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nickothieno at gmail.com Fri Jun 25 17:42:37 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Fri, 25 Jun 2010 11:42:37 -0400 Subject: Any working call_scilab implementation out there? Message-ID: Hi guys, Does anyone have a working call_scilab implementation? If yes, how did you do it? More specifically, how did you compile the program with the call_scilab function? The online example given at the scilab web site fails to compile, Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Jun 25 17:46:57 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 25 Jun 2010 17:46:57 +0200 Subject: [scilab-Users] Any working call_scilab implementation out there? In-Reply-To: References: Message-ID: <1277480817.20054.4658.camel@korcula.inria.fr> Le vendredi 25 juin 2010 ? 11:42 -0400, Nick Othieno a ?crit : > Hi guys, > > Does anyone have a working call_scilab implementation? If yes, how did > you do it? More specifically, how did you compile the program with the > call_scilab function? Did you try with a Scilab built from sources ? Sylvestre From BlanchardJ at ieee.org Fri Jun 25 18:00:08 2010 From: BlanchardJ at ieee.org (Jonathan Blanchard) Date: Fri, 25 Jun 2010 13:00:08 -0300 Subject: [scilab-Users] Very basic question In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0D@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0D@exchsrv.AUXITROL1> Message-ID: You can use the scilab chdir command. ex : chdir("/export/home/somewhere") Jonathan Blanchard On Fri, Jun 25, 2010 at 10:15 AM, Carrico, Paul wrote: > All > > Sorry for asking that but under windows neither of all my attemps do not > work : > > I want to go and work in the JOB1 directory > > I tried : > unix('cd \JOB1'); > unix('cd JOB1/'); > and other combination .... but i failed my job remains in the current > directory ... > > what's wrong ? > > Thanks for any help > > regards > > PC > P > Please consider the environment before printing this e-mail > > > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la > personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail > par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le > message de votre syst?me. Toute divulgation, copie ou distribution de cet > e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error, please contact the sender and > delete the email from your system. If you are not the named addressee you > should not disseminate, distribute or copy this email. > > From sdr at durietz.se Fri Jun 25 18:45:33 2010 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 25 Jun 2010 18:45:33 +0200 Subject: [scilab-Users] Very basic question In-Reply-To: References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0D@exchsrv.AUXITROL1> Message-ID: <4C24DD2D.3050109@durietz.se> Why does that work when unix('cd /export/home/somewhere'); does not? I had the same problem with setting an environmental variable with unix() but it worked with the Scilab function setenv(). Regards Stefan On 2010-06-25 18:00, Jonathan Blanchard wrote: -------------------- > You can use the scilab chdir command. > > ex : > > chdir("/export/home/somewhere") > > Jonathan Blanchard > > > > On Fri, Jun 25, 2010 at 10:15 AM, Carrico, Paul > wrote: >> All >> >> Sorry for asking that but under windows neither of all my attemps do not >> work : >> >> I want to go and work in the JOB1 directory >> >> I tried : >> unix('cd \JOB1'); >> unix('cd JOB1/'); >> and other combination .... but i failed my job remains in the current >> directory ... >> >> what's wrong ? >> >> Thanks for any help >> >> regards >> >> PC >> P >> Please consider the environment before printing this e-mail >> >> >> -------------------------------------------------------------------------------- >> >> >> Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la >> personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail >> par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le >> message de votre syst?me. Toute divulgation, copie ou distribution de cet >> e-mail est strictement interdite. >> >> This email and any files transmitted with it are confidential and intended >> solely for the use of the individual or entity to whom they are addressed. >> If you have received this email in error, please contact the sender and >> delete the email from your system. If you are not the named addressee you >> should not disseminate, distribute or copy this email. >> >> > From vincent.guffens at googlemail.com Fri Jun 25 20:49:16 2010 From: vincent.guffens at googlemail.com (vinsz) Date: Fri, 25 Jun 2010 19:49:16 +0100 Subject: [scilab-Users] Any working call_scilab implementation out there? In-Reply-To: References: Message-ID: <4C24FA2C.3090903@gmail.com> On 25/06/2010 16:42, Nick Othieno wrote: > Hi guys, > > Does anyone have a working call_scilab implementation? If yes, how did > you do it? More specifically, how did you compile the program with the > call_scilab function? > Hi Nick, I use call_scilab for the sciscipy project : http://forge.scilab.org/index.php/p/sciscipy/ you can see in the doc what environment variables are needed to compile - http://forge.scilab.org/index.php/p/sciscipy/page/InstallingOnLinux/ - http://forge.scilab.org/index.php/p/sciscipy/page/InstallingOnWindows/ and look at setup.py script to see the compiler option. Hope it helps, From cwarner7_11 at hotmail.com Fri Jun 25 23:12:51 2010 From: cwarner7_11 at hotmail.com (Charlie Warner) Date: Fri, 25 Jun 2010 16:12:51 -0500 Subject: [scilab-Users] call_scilab In-Reply-To: References: ,,,<1277389743.20054.70.camel@korcula.inria.fr>,, Message-ID: We have achieved some progress with "call_scilab". 1. In terminal, cd to directory where the makefile exists. 2. Change SHELL to /bin/sh with "SHELL=/bin/sh". Apparently, the make program wants to work in sh, not bash. I tried adding this to the makefile, but it did not seem to work. 3. The "export LD_LIBRARY_PATH=" line does not seem to be working. Before calling make, run this in the terminal- but you have to designate the path explicitly. I used: export LD_LIBRARY_PATH=/home/rocketman/scilab-5.2.2/lib/scilab:/home/rocketman/scilab-5.2.2/lib/thirdparty 4. Check with "echo $LD_LIBRARY_PATH" which should give you what you need. Note that you need to use the proper path names, not the home directory I used. This results in a compiled executable called "myExample" in the working directory. Executing this file from terminal results in: StartScilab: Could not find SCI Error while calling StartScilab which suggests there are still some shell variables that need adjusting... More later. Charlie From: cwarner7_11 at hotmail.com To: users at lists.scilab.org Date: Thu, 24 Jun 2010 12:33:43 -0500 Subject: RE: [scilab-Users] call_scilab Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this particular variable is used- the compiler may be concatenating "lib/scilab" to the path again. Once more, all of your errors seem to be associated with not being able to locate "libscilab.so". Charlie Date: Thu, 24 Jun 2010 11:01:18 -0400 From: nickothieno at gmail.com To: users at lists.scilab.org Subject: Re: [scilab-Users] call_scilab Oops. More errors. I tried using: PATH_SCILAB = /home/scilab-5.2.2 . SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ SCILAB_LDFLAGS = -lscilab #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty all: simple_call_scilab.c export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab but got: [root at nick scilab-progs]# make export LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty -L/home/nick/scilab-5.2.2/lib/scilab -I/home/nick/scilab-5.2.2/include/scilab/ -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c -lscilab -lscicall_scilab /usr/bin/ld: warning: libblas.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidouble.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciboolean.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciintersci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilocalization.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscispecial_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistatistics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitime.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscisparse.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscipolynomials.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicacsd.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmx.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmat.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmex.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidata_structures.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciinteger.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamic_link.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicompletion.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifftw.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifunctions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphics.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihashtable.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscitclsci.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtk8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libtcl8.5.so.0, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigui.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscirenderer.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscigraphic_export.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciconsole.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscishell.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciaction_binding.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihistory_manager.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscijvm.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscifileio.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscistring.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcreposix.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpcre.so.3, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscielementary_functions.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciarnoldi.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: liblapack.so.3gf, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscilibst.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixcos.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscixpad.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscicore.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscimalloc.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscioutput_stream.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link) /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `com_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `callFunctionFromGateway' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyAlloc' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createNamedMatrixOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checklhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `freeArrayOfString' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `intersci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `inisci_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `checkrhs_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `readNamedMatrixOfDouble' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `scirun_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `sciHasFigures' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `putlhsvar_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getNamedVarDimension' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `setSCIpath' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `getScilabMode' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `pvApiCtx' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `MyFree' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `createvarfromptr_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `ExitScilab' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `settmpdir_' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `InitializeLaunchScilabSignal' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `isdir' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `TerminateCorePart2' /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined reference to `printError' collect2: ld returned 1 exit status make: *** [all] Error 1 On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru wrote: Try to link also against libscicall_scilab.so Sylvestre Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > The path is not incorrect: > > [root at nick scilab-progs]# locate libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > It must be something else. > > Nick > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > wrote: > It appears to me you have a single error, that being an > incorrect path to libscilab.so. Without having access to your > file system, it is difficult to determine what the correct > path should be. Getting the correct path should resolve the > undefined references... > > Charlie > > > ______________________________________________________________ > Date: Wed, 23 Jun 2010 20:05:12 -0400 > From: nickothieno at gmail.com > > To: users at lists.scilab.org > > Subject: [scilab-Users] call_scilab > > > > Hi Guys, > > I am trying to compile one of the examples on using > call_scilab. > > I created the Makefile based on the example given though made > some changes because my scilab is a precompiled binary. This > is the Makefile I made: > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB > = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > $(PATH_TO_LIB_CALL_SCILAB) > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > simple_call_scilab.c > > > However I get a long list of errors when I try to compile. > They are: > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > -L/home/nick/scilab-5.2.2/lib/thirdparty > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > simple_call_scilab.c > /usr/bin/ld: warning: libblas.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > (try using -rpath or -rpath-link) > /tmp/ccO0EyJh.o: In function `main': > simple_call_scilab.c:(.text+0x46): undefined reference to > `StartScilab' > simple_call_scilab.c:(.text+0x7f): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x89): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x93): undefined reference to > `SendScilabJob' > simple_call_scilab.c:(.text+0x9d): undefined reference to > `TerminateScilab' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > > How can I solve this problem? > > Nick > > > > ______________________________________________________________ > Hotmail: Free, trusted and rich email service. Get it now. > Hotmail: Powerful Free email with security by Microsoft. Get it now. _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From maeher at chaote.de Sat Jun 26 02:30:40 2010 From: maeher at chaote.de (Nils) Date: Sat, 26 Jun 2010 02:30:40 +0200 Subject: Problems with building toolboxes Message-ID: <4C254A30.7090608@chaote.de> Hi, I'm currently trying to solve a few quite large linear programs using scilab. From what I gathered from the documentation and the change log, the only solver for linear programs was moved out of scilab and into the toolbox "quapro". I've got quapro-1.0 from the git repository, but when I try to execute the 'builder.sce', I get the following error http://pastebin.com/eHfucuP2 The script still succeeds in generating the loader.sce. Executing this however fails because the builder apparently really failed to build parts of the toolbox. From what I found when searching for the above error, I'm concluding, that I may have the wrong version of libtool installed, to build the toolbox. I could however not find any source telling which version of libtool would be required to build toolboxes in scilab. My version of libtool is: > ltmain.sh (GNU libtool) 2.2.6b > Written by Gordon Matzigkeit , 1996 Is there a specific version that will work, or am I missing something completely, and the problem lies elsewhere? Regards, Nils Fleischhacker From nickothieno at gmail.com Sat Jun 26 03:06:29 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Fri, 25 Jun 2010 21:06:29 -0400 Subject: [scilab-Users] call_scilab In-Reply-To: References: <1277389743.20054.70.camel@korcula.inria.fr> Message-ID: Thanks for the help. The shell command that needs adjusting is: *export SCI=/home/rocketman/scilab-5.2.2 * It should be *export SCI=/home/rocketman/scilab-5.2.2/share/scilab* On Fri, Jun 25, 2010 at 2:12 PM, Charlie Warner wrote: > We have achieved some progress with "call_scilab". > > 1. In terminal, cd to directory where the makefile exists. > 2. Change SHELL to /bin/sh with "SHELL=/bin/sh". Apparently, the make > program wants to work in sh, not bash. I tried adding this to the makefile, > but it did not seem to work. > 3. The "export LD_LIBRARY_PATH=" line does not seem to be working. Before > calling make, run this in the terminal- but you have to designate the path > explicitly. I used: > export > LD_LIBRARY_PATH=/home/rocketman/scilab-5.2.2/lib/scilab:/home/rocketman/scilab-5.2.2/lib/thirdparty > 4. Check with "echo $LD_LIBRARY_PATH" which should give you what you > need. Note that you need to use the proper path names, not the home > directory I used. > > This results in a compiled executable called "myExample" in the working > directory. Executing this file from terminal results in: > > StartScilab: Could not find SCI > Error while calling StartScilab > > which suggests there are still some shell variables that need adjusting... > > More later. > > Charlie > > > > ------------------------------ > From: cwarner7_11 at hotmail.com > > To: users at lists.scilab.org > Date: Thu, 24 Jun 2010 12:33:43 -0500 > Subject: RE: [scilab-Users] call_scilab > > > Try changing "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab" to > "PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2". I am not sure how this > particular variable is used- the compiler may be concatenating "lib/scilab" > to the path again. Once more, all of your errors seem to be associated with > not being able to locate "libscilab.so". > > Charlie > > ------------------------------ > Date: Thu, 24 Jun 2010 11:01:18 -0400 > From: nickothieno at gmail.com > To: users at lists.scilab.org > Subject: Re: [scilab-Users] call_scilab > > *Oops. More errors. I tried using:* > > PATH_SCILAB = /home/scilab-5.2.2 . > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > SCILAB_LDFLAGS = -lscilab > #SCILAB_LDFLAGS = -l:/home/nick/scilab-5.2.2/lib/scilab/libscilab.so > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > PATH_TO_LIB_CALL_SCILAB = /home/nick/scilab-5.2.2/lib/thirdparty > > all: simple_call_scilab.c > export LD_LIBRARY_PATH=$(PATH_TO_LIB_CALL_SCILAB):$(PATH_TO_LIB_SCILAB) > gcc -o myExample -L$(PATH_TO_LIB_CALL_SCILAB) -L$(PATH_TO_LIB_SCILAB) > $(SCILAB_CFLAGS) simple_call_scilab.c $(SCILAB_LDFLAGS) -lscicall_scilab > > *but got:* > > [root at nick scilab-progs]# make > export > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/thirdparty:/home/nick/scilab-5.2.2/lib/scilab > gcc -o myExample -L/home/nick/scilab-5.2.2/lib/thirdparty > -L/home/nick/scilab-5.2.2/lib/scilab > -I/home/nick/scilab-5.2.2/include/scilab/ > -I/home/scilab-5.2.2/modules/call_scilab/includes/ simple_call_scilab.c > -lscilab -lscicall_scilab > /usr/bin/ld: warning: libblas.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidouble.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciboolean.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciintersci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilocalization.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscispecial_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistatistics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitime.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscisparse.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscipolynomials.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicacsd.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmx.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmat.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidifferential_equations.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libmex.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidata_structures.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciinteger.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamic_link.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicompletion.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifftw.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifunctions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphics.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihashtable.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscitclsci.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtk8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libtcl8.5.so.0, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigui.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscirenderer.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscigraphic_export.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciconsole.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscishell.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciaction_binding.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihistory_manager.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscijvm.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscifileio.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscistring.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcreposix.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libpcre.so.3, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscielementary_functions.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciarnoldi.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: liblapack.so.3gf, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscilibst.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixcos.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscixpad.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscicore.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscimalloc.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscioutput_stream.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed by > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found (try using -rpath > or -rpath-link) > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `com_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `callFunctionFromGateway' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyAlloc' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createNamedMatrixOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checklhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `freeArrayOfString' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `intersci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `inisci_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `checkrhs_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `readNamedMatrixOfDouble' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `scirun_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `sciHasFigures' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `putlhsvar_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getNamedVarDimension' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `setSCIpath' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `getScilabMode' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `pvApiCtx' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `MyFree' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `createvarfromptr_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `ExitScilab' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `settmpdir_' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `InitializeLaunchScilabSignal' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `isdir' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `TerminateCorePart2' > /home/nick/scilab-5.2.2/lib/scilab/libscicall_scilab.so: undefined > reference to `printError' > collect2: ld returned 1 exit status > make: *** [all] Error 1 > > > On Thu, Jun 24, 2010 at 10:29 AM, Sylvestre Ledru < > sylvestre.ledru at scilab.org> wrote: > > Try to link also against libscicall_scilab.so > > Sylvestre > > Le jeudi 24 juin 2010 ? 10:23 -0400, Nick Othieno a ?crit : > > The path is not incorrect: > > > > [root at nick scilab-progs]# locate libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0 > > /home/nick/scilab-5.2.2/lib/scilab/libscilab.so.0.0.0 > > > > > > It must be something else. > > > > Nick > > > > On Thu, Jun 24, 2010 at 1:55 AM, Charlie Warner > > wrote: > > It appears to me you have a single error, that being an > > incorrect path to libscilab.so. Without having access to your > > file system, it is difficult to determine what the correct > > path should be. Getting the correct path should resolve the > > undefined references... > > > > Charlie > > > > > > ______________________________________________________________ > > Date: Wed, 23 Jun 2010 20:05:12 -0400 > > From: nickothieno at gmail.com > > > > To: users at lists.scilab.org > > > > Subject: [scilab-Users] call_scilab > > > > > > > > Hi Guys, > > > > I am trying to compile one of the examples on using > > call_scilab. > > > > I created the Makefile based on the example given though made > > some changes because my scilab is a precompiled binary. This > > is the Makefile I made: > > > > PATH_SCILAB = /home/scilab-5.2.2 . > > SCILAB_CFLAGS = -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > SCILAB_LDFLAGS = -lscilab > > PATH_TO_LIB_SCILAB = /home/nick/scilab-5.2.2/lib/scilab > > PATH_TO_LIB_CALL_SCILAB > > = /home/nick/scilab-5.2.2/lib/thirdparty > > > > all: simple_call_scilab.c > > export LD_LIBRARY_PATH=$(PATH_TO_LIB_SCILAB): > > $(PATH_TO_LIB_CALL_SCILAB) > > gcc -o myExample $(SCILAB_LDFLAGS) -L$(PATH_TO_LIB_SCILAB) > > -L$(PATH_TO_LIB_CALL_SCILAB) $(SCILAB_CFLAGS) > > simple_call_scilab.c > > > > > > However I get a long list of errors when I try to compile. > > They are: > > > > [root at nick scilab-progs]# make > > export > > > LD_LIBRARY_PATH=/home/nick/scilab-5.2.2/lib/scilab:/home/nick/scilab-5.2.2/lib/thirdparty > > gcc -o myExample -lscilab -L/home/nick/scilab-5.2.2/lib/scilab > > -L/home/nick/scilab-5.2.2/lib/thirdparty > > -I/home/nick/scilab-5.2.2/include/scilab/ > > -I/home/scilab-5.2.2/modules/call_scilab/includes/ > > simple_call_scilab.c > > /usr/bin/ld: warning: libblas.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicall_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidouble.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciboolean.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciintersci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilocalization.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscispecial_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistatistics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitime.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciwindows_tools.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscisparse.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscipolynomials.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicacsd.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmx.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmat.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidifferential_equations.so.5, > > needed by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not > > found (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libmex.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidata_structures.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciinteger.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilinear_algebra.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamic_link.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicompletion.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifftw.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifunctions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphics.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihashtable.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscitclsci.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtk8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libtcl8.5.so.0, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigui.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscirenderer.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidoublylinkedlist.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscigraphic_export.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciconsole.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscishell.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciaction_binding.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihistory_manager.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscijvm.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscifileio.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscistring.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcreposix.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libpcre.so.3, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscielementary_functions.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciarnoldi.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: liblapack.so.3gf, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libsciapi_scilab.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscilibst.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscidynamiclibrary.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixcos.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscixpad.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscicore.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscimalloc.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscioutput_stream.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /usr/bin/ld: warning: libscihdf5-forceload.so.5, needed > > by /home/nick/scilab-5.2.2/lib/scilab/libscilab.so, not found > > (try using -rpath or -rpath-link) > > /tmp/ccO0EyJh.o: In function `main': > > simple_call_scilab.c:(.text+0x46): undefined reference to > > `StartScilab' > > simple_call_scilab.c:(.text+0x7f): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x89): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x93): undefined reference to > > `SendScilabJob' > > simple_call_scilab.c:(.text+0x9d): undefined reference to > > `TerminateScilab' > > collect2: ld returned 1 exit status > > make: *** [all] Error 1 > > > > > > > > How can I solve this problem? > > > > Nick > > > > > > > > ______________________________________________________________ > > Hotmail: Free, trusted and rich email service. Get it now. > > > > > > > ------------------------------ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > ------------------------------ > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up > now. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Sat Jun 26 11:14:19 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Jun 2010 11:14:19 +0200 Subject: [scilab-Users] Problems with building toolboxes In-Reply-To: <4C254A30.7090608@chaote.de> References: <4C254A30.7090608@chaote.de> Message-ID: <1277543659.6837.4991.camel@zlarin> Hello, The error message is not explicit and this has been improved in the future Scilab 5.3. Here, it is probably due to the fact that you don't have a fortran compiler available on your system (gfortran) Hope this helps, Sylvestre Le samedi 26 juin 2010 ? 02:30 +0200, Nils a ?crit : > Hi, > > I'm currently trying to solve a few quite large linear programs using > scilab. > > From what I gathered from the documentation and the change log, the > only solver for linear programs was moved out of scilab and into the > toolbox "quapro". > > I've got quapro-1.0 from the git repository, but when I try to execute > the 'builder.sce', I get the following error > > http://pastebin.com/eHfucuP2 > > The script still succeeds in generating the loader.sce. Executing this > however fails because the builder apparently really failed to build > parts of the toolbox. > > From what I found when searching for the above error, I'm concluding, > that I may have the wrong version of libtool installed, to build the > toolbox. I could however not find any source telling which version of > libtool would be required to build toolboxes in scilab. > My version of libtool is: > > ltmain.sh (GNU libtool) 2.2.6b > > Written by Gordon Matzigkeit , 1996 > > Is there a specific version that will work, or am I missing something > completely, and the problem lies elsewhere? > > Regards, > > Nils Fleischhacker -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From maeher at chaote.de Sat Jun 26 13:10:52 2010 From: maeher at chaote.de (Nils) Date: Sat, 26 Jun 2010 13:10:52 +0200 Subject: [scilab-Users] Problems with building toolboxes In-Reply-To: <1277543659.6837.4991.camel@zlarin> References: <4C254A30.7090608@chaote.de> <1277543659.6837.4991.camel@zlarin> Message-ID: <4C25E03C.4050904@chaote.de> Hi, yes that was indeed the problem, thank you. :) I really should have have checked that, but the error message somehow lead me in the wrong direction. With gfortran installed it works like a charm. Thanks! Regards, Nils On 06/26/2010 11:14 AM, Sylvestre Ledru wrote: > Hello, > > The error message is not explicit and this has been improved in the > future Scilab 5.3. > Here, it is probably due to the fact that you don't have a fortran > compiler available on your system (gfortran) > > Hope this helps, > Sylvestre > > Le samedi 26 juin 2010 ? 02:30 +0200, Nils a ?crit : >> Hi, >> >> I'm currently trying to solve a few quite large linear programs using >> scilab. >> >> From what I gathered from the documentation and the change log, the >> only solver for linear programs was moved out of scilab and into the >> toolbox "quapro". >> >> I've got quapro-1.0 from the git repository, but when I try to execute >> the 'builder.sce', I get the following error >> >> http://pastebin.com/eHfucuP2 >> >> The script still succeeds in generating the loader.sce. Executing this >> however fails because the builder apparently really failed to build >> parts of the toolbox. >> >> From what I found when searching for the above error, I'm concluding, >> that I may have the wrong version of libtool installed, to build the >> toolbox. I could however not find any source telling which version of >> libtool would be required to build toolboxes in scilab. >> My version of libtool is: >> > ltmain.sh (GNU libtool) 2.2.6b >> > Written by Gordon Matzigkeit, 1996 >> >> Is there a specific version that will work, or am I missing something >> completely, and the problem lies elsewhere? >> >> Regards, >> >> Nils Fleischhacker > From ray at aarden.us Sat Jun 26 15:01:14 2010 From: ray at aarden.us (ray joseph) Date: Sat, 26 Jun 2010 08:01:14 -0500 Subject: [scilab-Users] Problems with building toolboxes References: <4C254A30.7090608@chaote.de> <1277543659.6837.4991.camel@zlarin> <4C25E03C.4050904@chaote.de> Message-ID: <018501cb152f$a8f3d770$0202a8c0@HOUC35439> That was a great exchange. I thank everyone for the efforts. As a new user, I would like to understand the process. This difficulty came while implementing a toolbox. This particular toolbox requires a Fortran complier. Do all toolboxes require a compilation operation? Is the type of compiler different for each toolbox? How is the compiler requirement communicated to the user? Being visually oriented, I find graphics very helpful in guiding me through processes. Are there any charts or diagrams that show the work processes for the realm of activities in the use of Scilab and Xcos? Best regards, Ray ----- Original Message ----- From: "Nils" To: Sent: Saturday, June 26, 2010 6:10 AM Subject: Re: [scilab-Users] Problems with building toolboxes > Hi, > > yes that was indeed the problem, thank you. :) > I really should have have checked that, but the error message somehow > lead me in the wrong direction. > With gfortran installed it works like a charm. Thanks! > > Regards, > > Nils > > On 06/26/2010 11:14 AM, Sylvestre Ledru wrote: > > Hello, > > > > The error message is not explicit and this has been improved in the > > future Scilab 5.3. > > Here, it is probably due to the fact that you don't have a fortran > > compiler available on your system (gfortran) > > > > Hope this helps, > > Sylvestre > > > > Le samedi 26 juin 2010 ? 02:30 +0200, Nils a ?crit : > >> Hi, > >> > >> I'm currently trying to solve a few quite large linear programs using > >> scilab. > >> > >> From what I gathered from the documentation and the change log, the > >> only solver for linear programs was moved out of scilab and into the > >> toolbox "quapro". > >> > >> I've got quapro-1.0 from the git repository, but when I try to execute > >> the 'builder.sce', I get the following error > >> > >> http://pastebin.com/eHfucuP2 > >> > >> The script still succeeds in generating the loader.sce. Executing this > >> however fails because the builder apparently really failed to build > >> parts of the toolbox. > >> > >> From what I found when searching for the above error, I'm concluding, > >> that I may have the wrong version of libtool installed, to build the > >> toolbox. I could however not find any source telling which version of > >> libtool would be required to build toolboxes in scilab. > >> My version of libtool is: > >> > ltmain.sh (GNU libtool) 2.2.6b > >> > Written by Gordon Matzigkeit, 1996 > >> > >> Is there a specific version that will work, or am I missing something > >> completely, and the problem lies elsewhere? > >> > >> Regards, > >> > >> Nils Fleischhacker > > > > From sylvestre.ledru at scilab.org Sat Jun 26 15:15:17 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Jun 2010 15:15:17 +0200 Subject: [scilab-Users] Problems with building toolboxes In-Reply-To: <018501cb152f$a8f3d770$0202a8c0@HOUC35439> References: <4C254A30.7090608@chaote.de> <1277543659.6837.4991.camel@zlarin> <4C25E03C.4050904@chaote.de> <018501cb152f$a8f3d770$0202a8c0@HOUC35439> Message-ID: <1277558117.6837.4999.camel@zlarin> Le samedi 26 juin 2010 ? 08:01 -0500, ray joseph a ?crit : > That was a great exchange. I thank everyone for the efforts. As a new > user, I would like to understand the process. > > This difficulty came while implementing a toolbox. For your information, we provide a skeleton for module developments. Under Linux & Mac OS X binaries, it is available here: SCI/share/scilab/contrib/toolbox_skeleton/ > This particular toolbox requires a Fortran complier. Do all toolboxes require a compilation > operation? Compilers are required when some compilations are done (C, C++, Fortran...). If the module is only based on Scilab macros, no need to have a compiler. By the way, if a module is available through ATOMS (http://atoms.scilab.org/ / http://wiki.scilab.org/ATOMS ), the final user won't need a compiler since we are distributing binaries. > Is the type of compiler different for each toolbox? No, under Linux & Mac OS X, the compilation is done by the autotools (autoconf, automake and libtool) which are (supposed) to abstract the compiling process. > How is the compiler requirement communicated to the user? It is one of the aspect I was referring in my previous message, we improved the feedback under Linux / Mac OS X (while it was already pretty clear under Windows) > Being visually oriented, I find graphics very helpful in guiding me through > processes. Are there any charts or diagrams that show the work processes > for the realm of activities in the use of Scilab and Xcos? I am not sure to understand what you want here ?! A graphical tutorial ? Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From ray at aarden.us Sat Jun 26 16:40:15 2010 From: ray at aarden.us (ray joseph) Date: Sat, 26 Jun 2010 09:40:15 -0500 Subject: [scilab-Users] Problems with building toolboxes References: <4C254A30.7090608@chaote.de> <1277543659.6837.4991.camel@zlarin> <4C25E03C.4050904@chaote.de> <018501cb152f$a8f3d770$0202a8c0@HOUC35439> <1277558117.6837.4999.camel@zlarin> Message-ID: <019f01cb153d$7e58d390$0202a8c0@HOUC35439> Sylvestre, That was very informative, thank you. >> Being visually oriented, I find graphics very helpful in guiding me through >> processes. Are there any charts or diagrams that show the work processes >> for the realm of activities in the use of Scilab and Xcos? >I am not sure to understand what you want here ?! >A graphical tutorial ? I am sorry, I wasn't looking for a tutorial as much as an installation and operation overview. Such as "These are the steps to install on platform xyz. This might show branches where a decision must be made and possibly links to clarifications. Similarly, to add items through toolboxes and ATOM, helping the user chose the best choice first. If I knew what these processes were, I would be happy to perform this. With such a graphic implemented in html on a webpage, a user could keep track of their progress. Best regards, Ray ----- Original Message ----- From: "Sylvestre Ledru" To: Sent: Saturday, June 26, 2010 8:15 AM Subject: Re: [scilab-Users] Problems with building toolboxes > Le samedi 26 juin 2010 ? 08:01 -0500, ray joseph a ?crit : > > That was a great exchange. I thank everyone for the efforts. As a new > > user, I would like to understand the process. > > > > This difficulty came while implementing a toolbox. > For your information, we provide a skeleton for module developments. > Under Linux & Mac OS X binaries, it is available here: > SCI/share/scilab/contrib/toolbox_skeleton/ > > > This particular toolbox requires a Fortran complier. Do all toolboxes require a compilation > > operation? > Compilers are required when some compilations are done (C, C++, > Fortran...). If the module is only based on Scilab macros, no need to > have a compiler. > By the way, if a module is available through ATOMS > (http://atoms.scilab.org/ / http://wiki.scilab.org/ATOMS ), the final > user won't need a compiler since we are distributing binaries. > > > Is the type of compiler different for each toolbox? > No, under Linux & Mac OS X, the compilation is done by the autotools > (autoconf, automake and libtool) which are (supposed) to abstract the > compiling process. > > > How is the compiler requirement communicated to the user? > It is one of the aspect I was referring in my previous message, we improved the feedback under Linux / Mac OS X > (while it was already pretty clear under Windows) > > > Being visually oriented, I find graphics very helpful in guiding me through > > processes. Are there any charts or diagrams that show the work processes > > for the realm of activities in the use of Scilab and Xcos? > I am not sure to understand what you want here ?! > A graphical tutorial ? > > Sylvestre > > > > -- > ------------------------- > Sylvestre Ledru > ------------------------- > The Scilab Consortium > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > France > > From nickothieno at gmail.com Sun Jun 27 14:07:44 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Sun, 27 Jun 2010 08:07:44 -0400 Subject: [scilab-Users] Any working call_scilab implementation out there? In-Reply-To: <1277480817.20054.4658.camel@korcula.inria.fr> References: <1277480817.20054.4658.camel@korcula.inria.fr> Message-ID: It eventually worked with the pre-compiled binary version. Thanks to info provided by Charlie Warner. The trick is to switch to sh shell and set LD_LIBRARY_PATH prior to attempting to compile. Nick On Fri, Jun 25, 2010 at 11:46 AM, Sylvestre Ledru < sylvestre.ledru at scilab.org> wrote: > Le vendredi 25 juin 2010 ? 11:42 -0400, Nick Othieno a ?crit : > > Hi guys, > > > > Does anyone have a working call_scilab implementation? If yes, how did > > you do it? More specifically, how did you compile the program with the > > call_scilab function? > Did you try with a Scilab built from sources ? > > Sylvestre > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nickothieno at gmail.com Sun Jun 27 14:10:09 2010 From: nickothieno at gmail.com (Nick Othieno) Date: Sun, 27 Jun 2010 08:10:09 -0400 Subject: [scilab-Users] Any working call_scilab implementation out there? In-Reply-To: <4C24FA2C.3090903@gmail.com> References: <4C24FA2C.3090903@gmail.com> Message-ID: Thanks. It eventually worked. See my earlier post On Fri, Jun 25, 2010 at 2:49 PM, vinsz wrote: > On 25/06/2010 16:42, Nick Othieno wrote: > >> Hi guys, >> >> Does anyone have a working call_scilab implementation? If yes, how did you >> do it? More specifically, how did you compile the program with the >> call_scilab function? >> >> > Hi Nick, > > I use call_scilab for the sciscipy project : > http://forge.scilab.org/index.php/p/sciscipy/ > > you can see in the doc what environment variables are needed to compile > - http://forge.scilab.org/index.php/p/sciscipy/page/InstallingOnLinux/ > - > http://forge.scilab.org/index.php/p/sciscipy/page/InstallingOnWindows/ > > and look at setup.py script to see the compiler option. > > Hope it helps, > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Mon Jun 28 15:13:46 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Mon, 28 Jun 2010 15:13:46 +0200 Subject: [scilab-Users] Very basic question In-Reply-To: <4C24DD2D.3050109@durietz.se> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD0D@exchsrv.AUXITROL1> <4C24DD2D.3050109@durietz.se> Message-ID: <4C28A00A.2020007@univ-lemans.fr> ----- Message d'origine ----- De : Stefan Du Rietz Date : 25/06/2010 18:45: > Why does that work when > unix('cd /export/home/somewhere'); > does not? Each time you run a unix*("..") command, the current OS directory is set to be the current Scilab directory. After a unix*("...") command, the OS session ends, so there is no memory of what a previous unix*() did or where it was. The only way to avoid changing the Scilab directory would be by giving all the useful OS instructions in a single unix*("...") command. Unfortunately, at least for MSWin, the ";" can no longer be used as instruction separator... Hope this help in understanding, Regards Samuel From sanjeev211988 at gmail.com Tue Jun 29 13:33:57 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Tue, 29 Jun 2010 14:33:57 +0300 Subject: Xcos does not save model with sum or product block. Message-ID: I am using Scilab 5.2.2 and I am having problems saving a Xcos model if it contains a sum or a product block though works fine with the latest nightly build. Also, I would like to know whether the code generated by the Xcos is suitable for embedded systems or not? As I could not find any relevant resources (articles, pdfs, documentation) regarding use of Xcos genereated C codes for embedded systems. Best Regards, -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Wed Jun 30 08:21:14 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Wed, 30 Jun 2010 08:21:14 +0200 Subject: [scilab-Users] recursion using fsolve In-Reply-To: <4C221DFB.9020607@lanl.gov> References: <4C1FE7D7.8000404@lanl.gov> <4C21B677.7000700@scilab.org> <4C221DFB.9020607@lanl.gov> Message-ID: <4C2AE25A.8000403@scilab.org> In principle, rewriting the code in C would not change the issue : assuming that the common blocks are replaced by static variables, this would lead to the same effect. (Fortran is not that bad...) Best regards, Michael Baudin Charles Basenga Kiyanda a ?crit : > Hi, > > Thanks for the reply. I actually stumbled upon the same bug report > late yesterday, but you beat me in replying to the list. You are > correct, it's a known limitation (not to say bug). The bug report does > describe the fsolve routine as non reentrable. One solution that's > proposed is to rewrite the code in C, although one would lose > connection to the original fortran code. Maybe it's time for me to > finally jump in and start contributing properly to an open source > project. I could see about fixing this problem. > > Funny enough, in the course of trying to solve this problem, I tried > octave and the same behaviour is exhibited. Now, I'm wondering if > matlab will exhibit the same behaviour as well, but I don't have a > working copy on hand to test. > > Charles From michael.baudin at scilab.org Wed Jun 30 08:27:53 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Wed, 30 Jun 2010 08:27:53 +0200 Subject: [scilab-Users] Problems with building toolboxes In-Reply-To: <4C254A30.7090608@chaote.de> References: <4C254A30.7090608@chaote.de> Message-ID: <4C2AE3E9.8040502@scilab.org> Hi, I am not sure that I understand. I packaged the quapro toolbox on ATOMS in February : http://atoms.scilab.org/toolboxes/quapro/1.0 All you have to do is atomsInstall(['quapro','1.0']) Moreover, you talk about the quapro taken from git, while the quapro project is on the Scilab forge : http://forge.scilab.org/index.php/p/quapro/ Still, there may be problems in the builder scripts of this module : in any case, please report them at : http://forge.scilab.org/index.php/p/quapro/issues/ Best regards, Micha?l Baudin Nils a ?crit : > Hi, > > I'm currently trying to solve a few quite large linear programs using > scilab. > > From what I gathered from the documentation and the change log, the > only solver for linear programs was moved out of scilab and into the > toolbox "quapro". > > I've got quapro-1.0 from the git repository, but when I try to execute > the 'builder.sce', I get the following error > > http://pastebin.com/eHfucuP2 > > The script still succeeds in generating the loader.sce. Executing this > however fails because the builder apparently really failed to build > parts of the toolbox. > > From what I found when searching for the above error, I'm concluding, > that I may have the wrong version of libtool installed, to build the > toolbox. I could however not find any source telling which version of > libtool would be required to build toolboxes in scilab. > My version of libtool is: > > ltmain.sh (GNU libtool) 2.2.6b > > Written by Gordon Matzigkeit , 1996 > > Is there a specific version that will work, or am I missing something > completely, and the problem lies elsewhere? > > Regards, > > Nils Fleischhacker -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From bernard.hugueney at scilab.org Wed Jun 30 09:11:31 2010 From: bernard.hugueney at scilab.org (bernard.hugueney at scilab.org) Date: Wed, 30 Jun 2010 09:11:31 +0200 Subject: [scilab-Users] recursion using fsolve In-Reply-To: <4C2AE25A.8000403@scilab.org> References: <4C1FE7D7.8000404@lanl.gov> <4C21B677.7000700@scilab.org> <4C221DFB.9020607@lanl.gov> <4C2AE25A.8000403@scilab.org> Message-ID: <2fba76b85e56401d228536544f423575@localhost> Hello, On Wed, 30 Jun 2010 08:21:14 +0200, Micha?l Baudin wrote: > In principle, rewriting the code in C would not change the issue : > assuming that the common blocks are replaced by static variables, > this would lead to the same effect. > (Fortran is not that bad...) > > Best regards, > > Michael Baudin I assume the point of a rewrite (!= translation) in another language would be to use the tools provided by the new language (but lacking in the former implementation language). Namely, you'd want to replace static global state in common blocks by using a stack (either 'the' stack by explicit arguments propagated along the call stack or by a custom global stack of states[0]), to enable nested calls. Not to start a language war :) , but if Fortran77 lacks derived types, passing the state as arguments of primitive types becomes impractical, and lacking dynamic allocation rules out a custom stack => common blocks => not reentrant (don't even think about multithreading). My .2? Best regards B. [0] In the later case, you'd want to use thread local storage for the 'global' stack to also enable multi-threading. From pvonnied at gmail.com Wed Jun 30 17:05:13 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Wed, 30 Jun 2010 17:05:13 +0200 Subject: fft2 on grayscale image Message-ID: Hi, I'm a bit confused about the fact that I'm not able to fft2 a grayscale image. I get the following error: %%% snippet %%% // color image, works square=imread('square.bmp'); square_fft2=fftshift(fft2(square,246,247)); // grayscale image, does not work square_g=RGB2Gray(square); square_fft2=fftshift(fft2(square_g,246,247)); !--error 4 Undefined variable: x at line 45 of function fft2 called by : square_fft2=fftshift(fft2(square_g,246,247)); %%% snippet %%% What's the reason/rationale for this error? Thank you very much for a hint. Peter