Xcos problems on MacBook

Jan Laarhuis jan.laarhuis at gmail.com
Mon May 31 22:21:58 CEST 2010


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/../../include/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/../../include/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




More information about the users mailing list