BlendLuxCore Development

Discussion related to the LuxCore functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

neo2068 wrote: Sun Dec 10, 2017 9:56 pm Hi B.Y.O.B.!
I tried to install the new WIP exporter on windows and Blender 2.79 but when I try to activate it, I get an error.

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\modules\addon_utils.py", line 331, in enable
    mod = __import__(module_name)
  File "F:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\LuxCoreRenderEngine\__init__.py", line 8, in <module>
    from . import engine, nodes, operators, properties, ui
  File "F:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\LuxCoreRenderEngine\engine\__init__.py", line 3, in <module>
    from ..bin import pyluxcore
ImportError: DLL load failed: Die angegebene Prozedur wurde nicht gefunden.
I copied the needed DLLs into the bin directory of the addon.
I spent a few more hours trying to fix this problem but to no avail yet.
I checked pyluxcore.pyd with dependency walker and it said it was missing PYTHON35.DLL.
Then I copied python35.dll from WindowsCompileDeps into the bin folder and now dependency walker is not complaining about that anymore, but I can't make sense of the rest of the output (and in Blender it still fails with the same message).
Attachments
dependencywalker.PNG
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

tbb.dll :?:

P.S. does it happen with the old Luxblend and the same LuxCore binaries ?
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. »

Dade wrote: Tue Dec 12, 2017 5:39 pmtbb.dll
It is in the same folder.
I have these files in the bin folder:
  • tbb.dll
  • embree.dll
  • python35.dll
  • pyluxcore.pyd
Dade wrote: Tue Dec 12, 2017 5:39 pm P.S. does it happen with the old Luxblend and the same LuxCore binaries ?
Yes, same error message.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

But any change Blender is now using Python 3.6 ?
Support LuxCoreRender project with salts and bounties
neo2068
Developer
Developer
Posts: 260
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

Re: BlendLuxCore Development

Post by neo2068 »

Dade wrote: Tue Dec 12, 2017 5:39 pm tbb.dll :?:

P.S. does it happen with the old Luxblend and the same LuxCore binaries ?
Yes, old LuxBlend and same LuxCore binaries fail, too. New LuxBlend and old LuxCore binaries work. :o
i7 5820K, 32 GB RAM, NVIDIA Geforce RTX 2080 SUPER + GTX 1080, Windows 10 64bit, Blender 2.83.5
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

And all of this happens only on Windows ? Everything works on Linux ? With the latest official Blender release ?
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

Dade wrote: Tue Dec 12, 2017 6:57 pm But any change Blender is now using Python 3.6 ?
Mmm, no, it uses 3.5.3:

Code: Select all

>>> import sys
>>> sys.version_info
sys.version_info(major=3, minor=5, micro=3, releaselevel='final', serial=0)

>>> 
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

B.Y.O.B. wrote: Tue Dec 12, 2017 6:39 pm I have these files in the bin folder:
  • tbb.dll
  • embree.dll
  • python35.dll
  • pyluxcore.pyd
OpenImageIO.dll, going to check if it is the one missing.
Support LuxCoreRender project with salts and bounties
neo2068
Developer
Developer
Posts: 260
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

Re: BlendLuxCore Development

Post by neo2068 »

Dade wrote: Tue Dec 12, 2017 7:00 pm And all of this happens only on Windows ? Everything works on Linux ? With the latest official Blender release ?
It happens on windows with Blender 2.79. I also tried 2.78c which uses 3.5.2 but no success.
i7 5820K, 32 GB RAM, NVIDIA Geforce RTX 2080 SUPER + GTX 1080, Windows 10 64bit, Blender 2.83.5
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: BlendLuxCore Development

Post by Dade »

Dade wrote: Tue Dec 12, 2017 7:15 pm
B.Y.O.B. wrote: Tue Dec 12, 2017 6:39 pm I have these files in the bin folder:
  • tbb.dll
  • embree.dll
  • python35.dll
  • pyluxcore.pyd
OpenImageIO.dll, going to check if it is the one missing.

Yes, it works here:

Code: Select all

>>> import pyluxcore
>> pyluxcore.Init()
>>> print("LuxCore %s" % pyluxcore.Version())
LuxCore 1.7dev

>>> 
Support LuxCoreRender project with salts and bounties
Post Reply