From sgougeon at free.fr Fri Jul 24 14:34:48 2020 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 24 Jul 2020 14:34:48 +0200 Subject: [Scilab-Dev] Setting up MS Visual studio Community to compile Scilab Message-ID: <3e6d7853-6e1c-1b8c-db26-8f1ff573e45c@free.fr> 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: * How can I set up Microsoft Visual Studio 2008/2010 Express Edition for use with Scilab x64 on 64-bit Windows? * Compiling of Scilab on Windows or Linux 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinluh.tan at bytecode-asia.com Mon Jul 27 02:14:45 2020 From: chinluh.tan at bytecode-asia.com (Chin Luh Tan) Date: Mon, 27 Jul 2020 08:14:45 +0800 Subject: [Scilab-Dev] Setting up MS Visual studio Community to compile Scilab In-Reply-To: <3e6d7853-6e1c-1b8c-db26-8f1ff573e45c@free.fr> References: <3e6d7853-6e1c-1b8c-db26-8f1ff573e45c@free.fr> Message-ID: <1738d9f2950.119b36622539295.855849616267429085@bytecode-asia.com> 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 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: https://wiki.scilab.org/How%20can%20I%20set%20up%20Microsoft%20Visual%20Studio%202008/2010%20Express%20Edition%20for%20use%20with%20Scilab%20x64%20on%2064-bit%20Windows%3F https://wiki.scilab.org/Compilation%20of%20Scilab 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 dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jul 27 02:46:45 2020 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 27 Jul 2020 02:46:45 +0200 Subject: [Scilab-Dev] Setting up MS Visual studio Community to compile Scilab In-Reply-To: <1738d9f2950.119b36622539295.855849616267429085@bytecode-asia.com> References: <3e6d7853-6e1c-1b8c-db26-8f1ff573e45c@free.fr> <1738d9f2950.119b36622539295.855849616267429085@bytecode-asia.com> Message-ID: <1d6e8277-2caa-4daf-33e2-a9787b44e745@free.fr> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinluh.tan at bytecode-asia.com Mon Jul 27 05:44:27 2020 From: chinluh.tan at bytecode-asia.com (Chin Luh Tan) Date: Mon, 27 Jul 2020 11:44:27 +0800 Subject: [Scilab-Dev] Setting up MS Visual studio Community to compile Scilab In-Reply-To: <1d6e8277-2caa-4daf-33e2-a9787b44e745@free.fr> References: <3e6d7853-6e1c-1b8c-db26-8f1ff573e45c@free.fr> <1738d9f2950.119b36622539295.855849616267429085@bytecode-asia.com> <1d6e8277-2caa-4daf-33e2-a9787b44e745@free.fr> Message-ID: <1738e5f2933.102205a85549591.3330206856058853620@bytecode-asia.com> 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 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: