Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visual C++ 2010 Express with Scilab 5.3.3 (64bit)

593 views
Skip to first unread message

Moti Litochevski

unread,
Mar 27, 2012, 6:28:31 AM3/27/12
to
Hi Scilab,
I've recently installed the 64 bit version of Scilab 5.3.3 and with it the Visual C++ 2010 Express edition and latest Windows SDK 7.1 as required in Scilab wiki.
The problem is that even though "configure_msvc()" returns true and the Visual C++ version is detected correctly, "haveacompiler" function returns False and no library can be compiled.
I do not know what "haveacompiler" macro is looking for and does not find. I tried following all installation steps and installed all related updates from Windows update.
Does anyone have an idea?
Regards,
Moti

Moti Litochevski

unread,
Apr 9, 2012, 2:31:13 AM4/9/12
to
After solving the problem myself I decided to post some replay that may help others in the future.
The problem is a known issue with the Visual Studio 2010 Express SP1 which removes the additional 64 bit compilers. One of these compilers (amd64) is used by Scilab to compile the interface functions. To re-install the missing compilers a fix is supplied by Microsoft, get it from: http://support.microsoft.com/kb/2519277 .
After installing the above fix, Scilab 5.3.3 detects the 64 bit compilers but compilation reports errors. The bad news is that I did not find an easy way to make Scilab 5.3.3 to compile the interface.
There must be a problem with the makefile or something because the new Scilab 5.4.0 alpha edition, available now, compiles the functions without a problem. My solution was to compile the functions using Scilab 5.4.0a1 and use it with Scilab 5.3.3.
Scilab 5.4.0a1 has some issue with setting stacksize to "max" so I could not use it (but that's an issue for a different post :-))).
Hope this helps someone.
Regards,
Moti

uavfligh...@gmail.com

unread,
Nov 22, 2012, 3:38:16 PM11/22/12
to
Moti,

This fix worked for me. Thanks for documenting it.

Regards Matt
0 new messages