Page 1 of 1

Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Thu Nov 29, 2018 1:24 pm
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?

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Thu Nov 29, 2018 2:13 pm
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.

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Thu Nov 29, 2018 3:56 pm
by FarbigeWelt
Okay, I see, then my next step is to install git https://git-scm.com/downloads and clone the repositories.

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Thu Nov 29, 2018 11:15 pm
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."

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Mon Dec 03, 2018 8:35 am
by FarbigeWelt
One question remains for the moment:
What is to do with the PySide folder after downloading and unpacking it?

Re: Setup Visual Studio 2017 Community for LuxCoreRender

Posted: Mon Dec 03, 2018 9:35 am
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