[Scilab-users] C compiler

Antoine ELIAS antoine.elias at scilab-enterprises.com
Fri Feb 1 10:20:26 CET 2013


Sweet mailer ...

function vcPath64 = dlwGet64BitPath()
    vcPath64 = [];
    programFilesx86Path = getenv('ProgramFiles(x86)', '');
    if (programFilesx86Path <> '') then
        if isfile(programFilesx86Path + '\Microsoft Visual Studio
10.0\VC\bin\amd64\cl.exe') then
            vcPath64 = programFilesx86Path + '\Microsoft Visual Studio
10.0';
        end
    end
endfunction

MSVCBIN64PATH = dlwGet64BitPath() + filesep() + 'VC\bin\amd64'

Antoine

Le 01/02/2013 10:09, Antoine ELIAS a écrit :
> Hello Pete,
>
> I'm under Win8 64Bits, Scilab 5.4.0, VS2010 Pro and I got :
>
> -->msvc = findmsvccompiler()
>  msvc  =msvc100pro  
>  
> -->bOK=configure_msvc()
>  bOK  = T 
>  
> -->bOK=haveacompiler()
>  bOK  = T 
>  
>
> Can you try to execute the following code please ?
>
> function vcPath64 = dlwGet64BitPath()
>     vcPath64 = [];
>     programFilesx86Path = getenv('ProgramFiles(x86)', '');
>     if (programFilesx86Path <> '') then
>         if isfile(programFilesx86Path + '\Microsoft Visual Studio
> 10.0\VC\bin\amd64\cl.exe') then
>             vcPath64 = programFilesx86Path + '\Microsoft Visual Studio
> 10.0';
>         end
>     end
> endfunction
>
> MSVCBIN64PATH = dlwGet64BitPath() + filesep() + 'VC\bin\amd64'
>
> Antoine
>
> Le 01/02/2013 09:28, pepe a écrit :
>> Hello all,
>>
>> I want to get running C compiler via Scilab. I have installed MS Visual
>> Studio C++ 2010 Express. I run Win 8 - 64b and Scilab 5.4.0 - 64b.
>>
>> msvc = findmsvccompiler()
>> msvc100express
>>
>> bOK=configure_msvc()
>> T
>>
>> but 
>> bOK=haveacompiler()
>> F
>>
>> Can you please help how to configure C compiler under Scilab correctly to be
>> able to compile? 
>>
>>
>> Thanks
>> Pete
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://mailinglists.scilab.org/C-compiler-tp4025856.html
>> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
>


-- 
Antoine ELIAS
Software developer
-----------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles
Phone: 01.80.77.04.70
http://www.scilab-enterprises.com




More information about the users mailing list