[Scilab-Dev] Setting up MS Visual studio Community to compile Scilab
Chin Luh Tan
chinluh.tan at bytecode-asia.com
Mon Jul 27 05:44:27 CEST 2020
Hi Samuel,
I tried to reload the previous Scilab (the master before the release of 6.1) with my current Visual C++ Comm 2017, I don't think I've installed the Win8.1SDK separately before.
What I've did extra to make it works with my current installation: (some steps might e redundant)
1. Install Java SDK 1.8 and set the JAVA_HOME and include path from JRE to JDK (this might be redundant)
2. Run "https://github.com/scilab/scilab-prerequirements/blob/master/Windows_x64/java/set_scilab_jdk64.bat" from the scilab-master\scilab\java ( which is installed with pre-requirement)
3. Open Scilab_f2c.sln (I did it from Dev Command Prompt for VS 2017 devenv.exe scilab_master\scilab\Scilab_f2c.sln, it should be fine to load from VS as well)
then I compile the solution and no errors, but quite some warning.
Thanks
Regards,
Chin Luh
---- On Mon, 27 Jul 2020 08:46:45 +0800 Samuel Gougeon <sgougeon at free.fr> wrote ----
Hello Chin Luh,
Le 27/07/2020 à 02:14, Chin Luh Tan a
écrit :
Hi Samuel,
My previous successful installation was ver 2017 (I just
switch to SSD and have not tried to compile Scilab under
windows), but base on what I always did, I will just choose
C++ and unselect all other docs, C# ......this should save a
lot of space.
As for 2019, I just had a look on the installation page, I
will tried to use the Desktop dev with C++ default setting +
C++/CLI support as a start if I were to try.
Yes, it is what i did as well, for roughly 2.5 GB download and
8.5 GB installed. Now, what i understand is that Community 2019
does not embed Windows 8.1 SDK that is currently the version
targeted by the Scilab solution. I retargeted the solution for
windows 10, but i get then many errors with include file.h that
are not found, although they are actually at the printed path. I
was not able to find an URL to get this SDK and instal it in
community.
Thanks
Samuel
_______________________________________________
dev mailing list
dev at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20200727/c33d86b4/attachment.htm>
More information about the dev
mailing list