Building errors in Win10

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Building errors in Win10

Post by Fox »

What is going on in below

Code: Select all

       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\deps\glfw-3.1.1\src\glfw.vcxproj" (def
       ault target) (3) ->
       (Lib target) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\samples\luxcoreui\deps\glfw-3.1.1\src\glfw.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\bcd.vcxproj" (default target) (2) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\slg\bcd.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-kernels.vcxproj" (default target) (10) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\slg\slg-kernels.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\openvdb.vcxproj" (default target) (8) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\slg\openvdb.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj" (default target) (7) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\luxcore\luxcore.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj" (default target) (5) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\luxrays\luxrays.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-film.vcxproj" (default target) (9) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\slg\slg-film.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-core.vcxproj" (default target) (6) ->
         LINK : warning LNK4044: unrecognized option '/INCREMENTAL:NO'; ignored [D:\CP\luxcorerender\WindowsCompile\Bui
       ld_CMake\LuxCore\src\slg\slg-core.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcorescenedemo\luxcorescenedemo.vcxproj.metapr
       oj" (default target) (15) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcorescenedemo\luxcorescenedemo.vcxproj" (defa
       ult target) (22) ->
       (Link target) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcorescenedemo\luxcor
       escenedemo.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj.metaproj" (defau
       lt target) (13) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo.vcxproj" (default target
       ) (21) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoredemo\luxcoredemo
       .vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreconsole\luxcoreconsole.vcxproj.metaproj"
       (default target) (12) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreconsole\luxcoreconsole.vcxproj" (default
       target) (20) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreconsole\luxcorec
       onsole.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\benchsimple\benchsimple.vcxproj.metaproj" (default
        target) (11) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\benchsimple\benchsimple.vcxproj" (default target)
       (19) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\benchsimple\benchsimple.v
       cxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializat
       iondemo.vcxproj.metaproj" (default target) (14) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationdemo\luxcoreimplserializat
       iondemo.vcxproj" (default target) (24) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\tests\luxcoreimplserializationd
       emo\luxcoreimplserializationdemo.vcxproj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj.metaproj" (default t
       arget) (16) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcxproj" (default target) (2
       3) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\luxcoreui.vcx
       proj]


       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\pyluxcore.vcxproj.metaproj" (default target)
        (17) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\pyluxcore.vcxproj" (default target) (25) ->
         D:\CP\luxcorerender\WindowsCompileDeps\x64\Release\lib\embree3.lib : fatal error LNK1107: invalid or corrupt f
       ile: cannot read at 0x82 [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\pyluxcore.vcxproj]
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Building errors in Win10

Post by B.Y.O.B. »

Do you have git LFS installed?
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Building errors in Win10

Post by Fox »

No, i don't have. Can't i just use firefox to download files?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Building errors in Win10

Post by B.Y.O.B. »

No, unfortunately not, you need git with LFS extension.
It's mentioned in the readme: https://github.com/LuxCoreRender/Window ... README.txt
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Building errors in Win10

Post by Fox »

I used now GitHub Desktop.
Got 8 warnings and 1 error.

The Error

Code: Select all

       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\pyluxcoretools\pyluxcoretools_copy_dir.vcxproj" (def
       ault target) (7) ->
       (CustomBuild target) ->
         C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.ta
       rgets(209,5): error MSB6006: "cmd.exe" exited with code 1. [D:\CP\luxcorerender\WindowsCompile\Build_CMake\LuxCo
       re\src\pyluxcoretools\pyluxcoretools_copy_dir.vcxproj]
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Building errors in Win10

Post by Fox »

yeey first build :D
1st Build.png
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Building errors in Win10

Post by B.Y.O.B. »

Congrats. What was the problem?
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Building errors in Win10

Post by Fox »

B.Y.O.B. wrote: Sat Mar 02, 2019 7:34 pm Congrats. What was the problem?
:P
in command prompt

pip install pyinstaller
press enter

pip install PySide2
press enter

pip install numpy
press enter
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Building errors in Win10

Post by acasta69 »

Fox wrote: Sat Mar 02, 2019 7:40 pm pip install PySide2
press enter
By the way, the command above will install the latest PySide2 version, and at the moment a bug prevents PyInstaller-packed executables using it to run properly.
If you plan to use the generated pyluxcoretool.exe, you need to install the previous PySide2 version with this command:

Code: Select all

pip install pyside2==5.12.0 shiboken2==5.12.0
More info about this bug:
https://bugreports.qt.io/browse/PYSIDE-932
https://bugreports.qt.io/browse/PYSIDE-942
https://github.com/pyinstaller/pyinstaller/issues/4040

I have updated README.txt in WindowsCompile to warn about this.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Building errors in Win10

Post by Fox »

Thank you acasta69 for the tip.
Post Reply