Setup Visual Studio 2017 Community for LuxCoreRender

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt »

Because I have some skills in C++, Lua, VBA, C#, Processing and Objective C and Swift, I like to see if I can support the developers here and there.

In this thread, I describe my experiences during setup and ask for support because for me the instructions how to do it are not clear enough.

First Steps
Read and follow instructions given here https://github.com/LuxCoreRender/WindowsCompile
Installation of MS VS and cmake is easy.

But next step is unclear, VS does not allow different repositories in the same folder.

First questions
What names are to be set for the repositories‘ subfolder?

And is it possible to use another drive than c: for luxcorerender without adjusting any file?
Last edited by FarbigeWelt on Thu Nov 29, 2018 10:04 pm, edited 2 times in total.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by Dade »

The following steps are:
3) Create a "luxcorerender" directory;

4) Clone the following repositories inside the "luxcorerender" directory:
- https://github.com/LuxCoreRender/LuxCore
- https://github.com/LuxCoreRender/WindowsCompile
- https://github.com/LuxCoreRender/WindowsCompileDeps
Where for "clone", it mean use "git clone". The are file system directories, not VS folders.
Support LuxCoreRender project with salts and bounties
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt »

Okay, I see, then my next step is to install git https://git-scm.com/downloads and clone the repositories.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt »

Cloning of the repository worked well. Thanfully, I read the NOTE below the github links before I cloned WindowsCompileDeps. I would set this note in the instructions before the list of repositories.

A fresh installation of VS2017 does not show any icon inside VS. I was looking for addons and what so ever until I found this https://docs.microsoft.com/en-us/dotnet ... ur-machine. Unfortunately this was only help full as hint.

The most easiest step is to enter x64 into Windows 10 search tool, right to the Windows logo in the left bottom corner, and there is it the well hidden x64 Native Tools Command Prompt.

Buiding with executing/invoking the cmake-build-x64.bat file was successfull and took only 9:22 minutes resulting in 8 warnings containing this "LINK : warning LNK4044: Nicht erkannte Option /INCREMENTAL:NO; wird ignoriert."
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt »

One question remains for the moment:
What is to do with the PySide folder after downloading and unpacking it?
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by Dade »

FarbigeWelt wrote: Mon Dec 03, 2018 8:35 am One question remains for the moment:
What is to do with the PySide folder after downloading and unpacking it?
You don't really need PySide if you are not going to use pyluxcoretools GUI. As far as I remember, I used "pip" to install PySide: https://pypi.org/project/PySide
Support LuxCoreRender project with salts and bounties
Post Reply