[scilab-Users] Pb with C function linking
azerty azerty
end48war at yahoo.fr
Mon Jul 19 08:20:45 CEST 2010
Hi,
Thank you for your answer. It actually allowed me to clarify a little bit my
problem.
It seems that the compiler can't find a "windows.h" file. This file is not
included in the file I try to compile but is added by the make file generated by
Scilab.
This missing file is installed on my computer (it is part of the windows SDK).
Does someone know how to indicate to the compiler where to find this .h file? I
tried to copy this window.h file in the working directory, but another .h is
missing anyway.
Is there a special order to install the compiler,windows sdk and scilab?
Thank you by advance for your help,
Benoit
________________________________
De : Allan CORNET <allan.cornet at scilab.org>
À : users at lists.scilab.org
Envoyé le : Ven 16 juillet 2010, 8h 59min 06s
Objet : RE: [scilab-Users] Pb with C function linking
Hi,
See help ilib_verbose
you can also start a shell session for scilab:
// do first your ilib_build command
dos start
it will start a command line session
and in this shell session, type :
nmake /f makelib.mak
you will have more information about your trouble
see also:
http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab_with_Visual_Studio
Allan CORNET
De :azerty azerty [mailto:end48war at yahoo.fr]
Envoyé : vendredi 16 juillet 2010 08:46
À : users at lists.scilab.org
Objet : [scilab-Users] Pb with C function linking
Hello,
I'm trying to compile and link a C function with Scilab.
When I use the scilab function ilib_build, I've got the following error message
:
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
10.0\VC\bin\cl.EXE"'á: code retour '0x2'
I'm using Scilab 5.3.0 beta 1 and Visual Studio Express 2010.
I can't solve the problem which happens with any C function I tried with (even
with the examples provided with Scilab).
If anybody has an idea of what my problem is, I would be really greatfull.
Best regards,
Benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100719/c801d274/attachment.htm>
More information about the users
mailing list