Page 3 of 5
Re: Windows: Can't enable addon in latest Blender
Posted: Mon Jan 22, 2018 9:36 pm
by B.Y.O.B.
jensverwiebe wrote: Mon Jan 22, 2018 6:51 pm
Why waiting ? Grab an actual testbuild, else we don't get rid of hidden bugs.
The problem is that on Windows, you can't enable the addon in any buildbot build (as described in the OP).
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 23, 2018 2:52 am
by david57
Im also getting that error message with Windows 64bit (with OpenCL support).
I tried to installing the newest addons luxcorerender release v2.0 alpha2 and v2.0 alpha1 but none are installing.
I have tried on blender 2.79 and also the the newest from blender build.
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 23, 2018 2:55 pm
by jensverwiebe
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 23, 2018 3:51 pm
by Sharlybg
Thanks !
Tested and shader work.shader are saved after save/re-open.
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 23, 2018 5:16 pm
by B.Y.O.B.
jensverwiebe wrote: Tue Jan 23, 2018 2:55 pm
Testbuilds 'a' are up:
I updated our download page. Thanks for the info.
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 23, 2018 6:08 pm
by david57
Thank you, add-on is now installed and working.
Re: Windows: Can't enable addon in latest Blender
Posted: Thu Jan 25, 2018 4:16 pm
by acasta69
jensverwiebe wrote: Sat Jan 20, 2018 8:15 pm
Normally that should not be an issue as long as no newer py exclusive functions are used ( which are not afaik ).
On Linux and macOS i made it so the module pulls the python from Blender itself.
Dunno if thats possible with Windows, someone should take a look.
The trick is to use dynamic_lookup on macOS or same default link behaviour on Linux and not even link pythonlib.
Maybe Win need a flag set for such like macOS does. ( equivalent to: -undefined dynamic_lookup )
More to readup here:
https://msdn.microsoft.com/en-us/librar ... s.85).aspx
Jens
I dug a bit into this topic, since the problem will sooner or later come up again.
It seems that in Windows there is little that can be done against this behaviour, because link with Python happens including explicitly the minor version:
https://stackoverflow.com/a/33674759
The only thing that could help is the stable Python ABI, which could be used defining symbol "Py_LIMITED_API" when building Boost.Python and pyluxcore:
https://docs.python.org/3.5/c-api/stable.html
https://www.python.org/dev/peps/pep-0384/
I don't know if that could be used for pyluxcore, at least in principle, but for sure it is not supported by Boost.Python (not our version, which i have just tested, but most likely not even the latest).
So, at the moment it seems that for Windows the exact same minor version of Python will be needed. I could not find any traces of other workarounds mentioned anywhere...
Re: Windows: Can't enable addon in latest Blender
Posted: Thu Jan 25, 2018 4:27 pm
by B.Y.O.B.
Thanks for your research.
Re: Windows: Can't enable addon in latest Blender
Posted: Thu Jan 25, 2018 4:30 pm
by Dade
Thanks Acasta69 for having investigate the problem. It looks like 2.79a is going to be released with Python v3.5 so we will have all the time to update for Blender v2.8.
Re: Windows: Can't enable addon in latest Blender
Posted: Tue Jan 30, 2018 2:00 pm
by Wig42
Just downloaded the 2.79a RC for Win64, still unable to enable Luxcore. Any ideas on how to get it working.
Thanks, Wig42