Page 2 of 2

Re: Pyluxcoretool exe not working on Windows

Posted: Fri Mar 08, 2019 10:23 pm
by Dade
Fox wrote:
Fri Mar 08, 2019 9:31 pm
The build i did today with "pip install pyside2==5.12.0 shiboken2==5.12.0"
there is no pyluxcoretool.exe
Maybe i need to go back to new pyside?
You need to run create-standalone.bat to pack everything together (and create pyluxcoretool.exe).

Re: Pyluxcoretool exe not working on Windows

Posted: Fri Mar 08, 2019 10:48 pm
by Fox
Yes i did .\create-standalone.bat

Code: Select all

D:
cd D:\CP\luxcorerender\WindowsCompile\
.\cmake-build-x64.bat
.\collect-compiled-binaries.bat
.\create-standalone.bat
There was no errors, just no Pyluxcoretool.exe, only the pyluxcoretools.zip, is this the correct one, it's only 60KB?

Re: Pyluxcoretool exe not working on Windows

Posted: Fri Mar 08, 2019 11:14 pm
by Dade
Fox wrote:
Fri Mar 08, 2019 10:48 pm
Yes i did .\create-standalone.bat

Code: Select all

D:
cd D:\CP\luxcorerender\WindowsCompile\
.\cmake-build-x64.bat
.\collect-compiled-binaries.bat
.\create-standalone.bat
There was no errors, just no Pyluxcoretool.exe, only the pyluxcoretools.zip, is this the correct one, it's only 60KB?
Don't run collect-compiled-binaries.bat, just the create-standalone.bat after the compilation.

Re: Pyluxcoretool exe not working on Windows

Posted: Fri Mar 08, 2019 11:39 pm
by Fox
O i see, thank you Dade.

Re: Pyluxcoretool exe not working on Windows

Posted: Sat Mar 09, 2019 3:23 am
by Fox
After rolling back to older PySide, something got broken. Had to reinstall pyinstaller.
Now i have the pyluxcoretool.exe

Re: Pyluxcoretool exe not working on Windows

Posted: Sat Mar 09, 2019 10:45 am
by acasta69
Fox wrote:
Sat Mar 09, 2019 3:23 am
After rolling back to older PySide, something got broken. Had to reinstall pyinstaller.
Now i have the pyluxcoretool.exe
But now are you using the old PySide or PySide2?
Both should work...

Re: Pyluxcoretool exe not working on Windows

Posted: Sat Mar 09, 2019 4:02 pm
by Fox
acasta69 wrote:
Sat Mar 09, 2019 10:45 am
But now are you using the old PySide or PySide2?
Both should work...
Not sure

After i did
pip install pyside2==5.12.0 shiboken2==5.12.0

I did again
pip install PySide2
There it tells me Python 3.7 allready has newest that is 5.12.0
I thought i installed 5.12.1 at first
I have both Pyhon 3.5 and 3.7
LuxCore compile did not work with 3.5 nor with 3.7

I re do this
pip install pyinstaller
It does installing all the components

Also re do that
pip install numpy
Tells me i allready have that.

Re: Pyluxcoretool exe not working on Windows

Posted: Sat Mar 09, 2019 5:22 pm
by acasta69
If I understood correctly, now it's working?
If not, please send the pyinstaller output.

Should you have again problems, you could try building from a python virtual env, where you just install the needed packages.

Re: Pyluxcoretool exe not working on Windows

Posted: Sat Mar 09, 2019 5:51 pm
by Fox
Yes it works.