[scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits

Allan CORNET allan.cornet at scilab.org
Mon Dec 13 10:46:16 CET 2010


Hi,

 

With Windows Seven,  you do not  write  in c:\ with default user rights.

 

-->fic=mopen("c:\dummy.txt","a")

                              !--error 999 

mopen: Cannot open file c:\dummy.txt.

 

Allan

 

 

De : Collewet Guylaine [mailto:guylaine.collewet at cemagref.fr] 
Envoyé : lundi 13 décembre 2010 10:39
À : users at lists.scilab.org
Objet : RE : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits

 

Hello,

I found my mistake

I forgot that I let the instruction

fic=fopen("c:\dummy.txt","a");
fprintf(fic,"test\n");
fclose(fic);

this instruction did work with windows XP but not with windows 7 ;
I guess it is a problem of rights (although I am administrator ...)


Guylaine



-------- Message d'origine--------
De: Collewet Guylaine [mailto:guylaine.collewet at cemagref.fr]
Date: ven. 10/12/2010 15:32
À: users at lists.scilab.org
Objet : RE : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits

thank you for your answer

my function did work with scilab 5.2.2 under windows XP

I first tested it without re-building it (the builder had been executed
under windows XP) : it failed

then I run the builder : it seemed to run properly, but the function failed
too

I suppose that the builder generated a 32 bits library since I used visual
studio 9.0 installed in the Program Files (x86) directory

Guylaine





-------- Message d'origine--------
De: Allan CORNET [mailto:allan.cornet at scilab.org]
Date: ven. 10/12/2010 15:24
À: users at lists.scilab.org
Objet : RE: [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits

Hi,



There is no problem to use scilab 32 bits on 64 bit platform Windows.



About your  functions, please check that:



Librairies 32 bits used ONLY with Scilab 32 bits

Librairies 64 bits used ONLY with Scilab 64 bits



You can also try to debug your functions to extend compatibility with 64
bits :

http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab
_with_Visual_Studio



Best regards



Allan CORNET



De : Collewet Guylaine [mailto:guylaine.collewet at cemagref.fr]
Envoyé : vendredi 10 décembre 2010 15:17
À : users at lists.scilab.org
Objet : [scilab-Users] scilab 5.2.2 32 bits under Win7 64 bits



Hello,

I am trying to work with scilab 5.2.2 32 bits under Win7 64 bits
I have problems with own-written contribs, some functions (especially one
written in C++) fail (scilab must be closed)

is it possible to work with a 32 bits version in my case ?
or is it mandatory to work with the 64 bits version

thanks

Guylaine Collewet





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101213/304f8f18/attachment.htm>


More information about the users mailing list