[Scilab-Dev] Building fsqp under 5.4.1

Stéphane Mottelet stephane.mottelet at utc.fr
Mon Jun 17 18:56:28 CEST 2013


Le 17/06/13 16:06, Stéphane Mottelet a écrit :
> Hello all,
>
> Can anybody help me to upgrade the fsqp toolbox ? Latest sources 
> fsqp-1.4-distributable are available here :
>
> http://www.utc.fr/filex/get?k=bng24zHTa23tS5RpfX
>
> I have the following build error :
>
> Création des macros...
> -- Création de [fsqp_toolboxlib] (Macros) --
> Création de la passerelle...
>     Génère un fichier gateway
>     Génère un fichier loader
>     Génère un Makefile
>     ilib_gen_Make : Configure : Génère le Makefile.
>     ilib_gen_Make : Copie les fichiers de compilation (Makefile*, 
> libtool...) vers TMPDIR
>     ilib_gen_Make : Copie Ncfsqp.c vers TMPDIR
>     ilib_gen_Make : Copie cintfsqp2.c vers TMPDIR
>     ilib_gen_Make : Copie libfsqp.c vers TMPDIR
>     ilib_gen_Make : Copie qld.c vers TMPDIR
>     ilib_gen_Make : Configure : Génère le Makefile.
>     ilib_gen_Make : Modification du Makefile dans TMPDIR.
>     Exécute le makefile
>   !--error 10000
> ilib_compile : Une erreur s'est produite lors de la compilation
> In file included from cintfsqp2.c:1:
> /Applications/scilab-5.4.1.app/Contents/MacOS/share/scilab/../../include/scilab/stack-c.h:19:6: 
> error: #error Using stack-c.h is deprecated. Please use api_scilab 
> instead (try 'help api_scilab'). Note the stack-c.h API will be 
> removed after Scilab 6.0. You can define 
> __USE_DEPRECATED_STACK_FUNCTIONS__ to bypass this error.
>
> Where do I have to define __USE_DEPRECATED_STACK_FUNCTIONS__ in the 
> build scripts ?
>
> S.
>
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev
Ok, I found where to add the definition :

  tbx_build_gateway('fsqp',table,..
                   src_files, ..
                   path,[],"","-D__USE_DEPRECATED_STACK_FUNCTIONS__ 
-D__STD_C__ -I"+path)

but now I have an issue with libintl.h :

ilib_compile : Une erreur s'est produite lors de la compilation
In file included from cintfsqp2.c:7:
/Applications/scilab-5.4.1.app/Contents/MacOS/share/scilab/../../include/scilab/localization.h:26:21: 
error: libintl.h: No such file or directory

This file does not exist on OSX.

S.





More information about the dev mailing list