[Scilab-users] FORTRAN Block in XCOS

planetcooler curtis at geoscience.co.uk
Wed May 31 12:24:38 CEST 2017


ok - so I bit the bullet and wrote a one line XCOS FORTRAN Block - 
(robfor.f) using the XCOS template

and this happened :

Startup execution:
  loading initial environment
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Copy robfor.f to TMPDIR
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Modification of the Makefile in TMPDIR.
   Running the Makefile

!sorry compiling problem                                                   !
!                                                                          !
!ilib_compile: An error occurred during the compilation:                   !
!                                                                          !
!libtool: compile: unrecognized option `-I/Applications/scilab-6.0.0.app/Co!
!ntents/MacOS/share/scilab/../../include/scilab/'                          !
!                                                                          !
!libtool: compile: Try `libtool --help' for more information.              !
!                                                                          !
!make: *** [robfor.lo] Error 1                                             !
!                                                                          !
!ilib_compile: The command was:                                            !
!                                                                          !
!make  CFLAGS=" -D__SCILAB_TOOLBOX__ -I/Applications/scilab-6.0.0.app/Conte!
!nts/MacOS/share/scilab/../../include/scilab/ -I/Applications/scilab-6.0.0.!
!app/Contents/MacOS/share/scilab/../../include/  -I/Applications/scilab-6.0!
!.0.app/Contents/MacOS/share/scilab/modules/scicos/includes/ -I/Application!
!s/scilab-6.0.0.app/Contents/MacOS/share/scilab/modules/scicos_blocks/inclu!
!des/ -I/Applications/scilab-6.0.0.app/Contents/MacOS/share/scilab/modules/!
!dynamic_link/includes/" CXXFLAGS=" -D__SCILAB_TOOLBOX__ -I/Applications/sc!
!ilab-6.0.0.app/Contents/MacOS/share/scilab/../../include/scilab/ -I/Applic!
!ations/scilab-6.0.0.app/Contents/MacOS/share/scilab/../../include/  -I/App!
!lications/scilab-6.0.0.app/Contents/MacOS/share/scilab/modules/scicos/incl!
!udes/ -I/Applications/scilab-6.0.0.app/Contents/MacOS/share/scilab/modules!
!/scicos_blocks/includes/ -I/Applications/scilab-6.0.0.app/Contents/MacOS/s!
!hare/scilab/modules/dynamic_link/includes/" FFLAGS="-I/Applications/scilab!
!-6.0.0.app/Contents/MacOS/share/scilab/../../include/scilab/ "


Anyone the wiser ? 

Where do I find an explanation of Error 1 ? 

Where does Scilab / XCOS expect to find a FORTRAN compiler ? 



--
View this message in context: http://mailinglists.scilab.org/FORTRAN-Block-in-XCOS-tp4036422p4036502.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list