It would help a lot to know if 2.79a is going to use Python 3.5 or 3.6. Isn't there someone in Blender Foundation that can answer the question
Windows: Can't enable addon in latest Blender
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Windows: Can't enable addon in latest Blender
-
- Supporting Users
- Posts: 141
- Joined: Tue Jan 09, 2018 6:48 pm
Re: Windows: Can't enable addon in latest Blender
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
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
Re: Windows: Can't enable addon in latest Blender
So after asking on IRC, they will decide tomorrow. The rule is to not update libs, but they have to balance it with all the bad publicity they got I guess.
Re: Windows: Can't enable addon in latest Blender
It is quite the ABC of software release.
Because that security-thing I have read around
Re: Windows: Can't enable addon in latest Blender
How is that done in Linux and MacOS? Is there a call to a function similar to what you've linked for microsoft?jensverwiebe wrote: ↑Sat Jan 20, 2018 8:15 pm 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.
My understanding from the cmake files and pyluxcore code is that python lib is never referenced and linked directly, but only through boost.jensverwiebe wrote: ↑Sat Jan 20, 2018 8:15 pm 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
Is that correct? Then also boost should not be required to link statically to python?
-
- Supporting Users
- Posts: 141
- Joined: Tue Jan 09, 2018 6:48 pm
Re: Windows: Can't enable addon in latest Blender
Its cause a module "talks" 2-way with a host. But i really dunno anything about win in this regards.acasta69 wrote: ↑Sun Jan 21, 2018 2:51 pmHow is that done in Linux and MacOS? Is there a call to a function similar to what you've linked for microsoft?jensverwiebe wrote: ↑Sat Jan 20, 2018 8:15 pm 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.
My understanding from the cmake files and pyluxcore code is that python lib is never referenced and linked directly, but only through boost.jensverwiebe wrote: ↑Sat Jan 20, 2018 8:15 pm 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
Is that correct? Then also boost should not be required to link statically to python?
I doubt you can leave out boost, cause luxcore for sure uses more/other symbols than linked into blender.
Blender relases come with static boost, so only used symbols are to be found ( which explains python works this way )
Jens
Re: Windows: Can't enable addon in latest Blender
Of course, they know it and they are the first wanting 2.79a to be stable to concentrate on 2.8x but...
Yes
Re: Windows: Can't enable addon in latest Blender
This gonna be by far my longest awaiting from a blender official release. i feel so compressed while waiting so ...........................to put my hand on the Engine and shoot a real Q3 track time
-
- Supporting Users
- Posts: 141
- Joined: Tue Jan 09, 2018 6:48 pm
Re: Windows: Can't enable addon in latest Blender
Why waiting ? Grab an actual testbuild, else we don't get rid of hidden bugs.
Just avoid using such builds as production sw.
Edit: just saw this time we had no testbuilds , but they should show up asap. Today awaiting an "AHOI".
Check here: http://download.blender.org/release/Blender2.79/
Jens
Re: Windows: Can't enable addon in latest Blender
I hope so. Also hope that when testbuilds will be there blender will not refuse to install blendluxcore. I've try with this buildsEdit: just saw this time we had no testbuilds , but they should show up asap. Today awaiting an "AHOI".
Check here: http://download.blender.org/release/Blender2.79/
Jens
( https://builder.blender.org/download/ )
and it return error .