[scilab-Users] Xcos problems on MacBook
Jan Laarhuis
jan.laarhuis at gmail.com
Tue Jun 1 08:48:55 CEST 2010
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
More information about the users
mailing list