Setup Visual Studio 2017 Community for LuxCoreRender

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

Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt » Thu Nov 29, 2018 1:24 pm

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.
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
Dade
Developer
Posts: 1528
Joined: Mon Dec 04, 2017 8:36 pm

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by Dade » Thu Nov 29, 2018 2:13 pm

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
Posts: 344
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt » Thu Nov 29, 2018 3:56 pm

Okay, I see, then my next step is to install git https://git-scm.com/downloads and clone the repositories.
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
FarbigeWelt
Posts: 344
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt » Thu Nov 29, 2018 11:15 pm

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."
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
FarbigeWelt
Posts: 344
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by FarbigeWelt » 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?
Microsoft Windows 10 Professional, intel i7 4770K, 32 GB, AMD R9 290x 4 GB, AMD R9 390x 8 GB
Instagrammer, please join #luxcorerender for your renderings.

User avatar
Dade
Developer
Posts: 1528
Joined: Mon Dec 04, 2017 8:36 pm

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Post by Dade » Mon Dec 03, 2018 9:35 am

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