Setting up MS Visual studio Community to compile Scilab

classic Classic list List threaded Threaded
4 messages Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Setting up MS Visual studio Community to compile Scilab

Hello,


MS Visual studio community 2019 can take more than 20 GB on the drive if all its numerous components are installed.
Since i wish to use my SSD drive to useful stuff, i have limited the installation to components that "looked" necessary to me.

However, when trying to compile Scilab, i get some errors. I don't know if they come from expected missing VS components, or from anything else.

The Scilab wiki pages do not provide details about the requirements for Visual Studio, and most of them look outdated:

Would anyone have up-to-date information about the minimal set of mandatory VS components?
Otherwise i will install all, try to successfully compile, and then remove components one by one up to failure :-/
But this blind way is quite awkward and time consuming...

Thanks
Regards
Samuel



_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Tan Chin Luh Tan Chin Luh
Reply | Threaded
Open this post in threaded view
|

Re: Setting up MS Visual studio Community to compile Scilab

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. 

Thanks.

Regards,
Chin Luh


---- On Fri, 24 Jul 2020 20:34:48 +0800 Samuel Gougeon <[hidden email]> wrote ----

Hello,


MS Visual studio community 2019 can take more than 20 GB on the drive if all its numerous components are installed.
Since i wish to use my SSD drive to useful stuff, i have limited the installation to components that "looked" necessary to me.

However, when trying to compile Scilab, i get some errors. I don't know if they come from expected missing VS components, or from anything else.

The Scilab wiki pages do not provide details about the requirements for Visual Studio, and most of them look outdated:

Would anyone have up-to-date information about the minimal set of mandatory VS components?
Otherwise i will install all, try to successfully compile, and then remove components one by one up to failure :-/
But this blind way is quite awkward and time consuming...

Thanks
Regards
Samuel


_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev



_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: Setting up MS Visual studio Community to compile Scilab

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev
Tan Chin Luh Tan Chin Luh
Reply | Threaded
Open this post in threaded view
|

Re: Setting up MS Visual studio Community to compile Scilab

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 "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 <[hidden email]> 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
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev



_______________________________________________
dev mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev