Page 13 of 18

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Fri Apr 05, 2019 4:05 pm
by DeepSOIC
Wohahaha, the new libpack! Time for me to get going on fixing gesture navigation on Qt5!

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Sun Apr 07, 2019 11:52 am
by wmayer
There are two files missing to make ssl support working: ssleay32.dll and libeay32'dll

In Qt there is the function loadOpenSslWin32() (inside C:\Qt\5.12.1\Src\qtbase\src\network\ssl\qsslsocket_openssl_symbols.cpp) that tries to load them.

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Sun Apr 07, 2019 3:11 pm
by apeltauer
wmayer wrote: Sun Apr 07, 2019 11:52 am There are two files missing to make ssl support working: ssleay32.dll and libeay32'dll

In Qt there is the function loadOpenSslWin32() (inside C:\Qt\5.12.1\Src\qtbase\src\network\ssl\qsslsocket_openssl_symbols.cpp) that tries to load them.
Will add them....

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Sun Apr 07, 2019 5:43 pm
by wmayer
I can't remember how I once built them but you can use them from a previous libpack even when created with an older compiler because it's a C library and thus it doesn't matter. Of course you need the 64-bit version -- the 32-bit doesn't work.
In order to see that it works you can go to any forum thread where an .fcstd file is attached. When you drag and drop the link to a FreeCAD instance it should download the file without error message.

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Sun Apr 07, 2019 5:55 pm
by sgrogan
wmayer wrote: Sun Apr 07, 2019 5:43 pm When you drag and drop the link to a FreeCAD instance it should download the file without error message.
I used the .dll's from my Conda FreeCAD and this works perfectly.

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Mon Apr 08, 2019 9:14 am
by apeltauer
Updated the libpack with the files from the old libpack.... (https://github.com/apeltauer/FreeCAD/re ... bPack_12.1)

BTW: i added a pr (https://github.com/FreeCAD/FreeCAD/pull/2071) to reduce the compile time....

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Mon Apr 08, 2019 6:39 pm
by saso
apeltauer wrote: Mon Apr 08, 2019 9:14 am BTW: i added a pr (https://github.com/FreeCAD/FreeCAD/pull/2071) to reduce the compile time....
We have already been running the builds with the msbuild /m on windows and with make -j2 on linux to use all the available cpu cores, so I don't think this is needed and actually, I don't know why, but at least on windows, the builds with this commit now seem to run even slower https://ci.appveyor.com/project/yorikva ... ad/history

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Mon Apr 08, 2019 7:22 pm
by apeltauer
Maybe the flag does not speed up the build on machines with just 2 cpu. But I can just say that it speeds up the build on a 8 thread and 12 thread I7. With the flag my machines nearly have 100% percent usage all the time.

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Mon Apr 08, 2019 9:35 pm
by sgrogan
apeltauer wrote: Mon Apr 08, 2019 9:14 am Updated the libpack with the files from the old libpack.... (https://github.com/apeltauer/FreeCAD/re ... bPack_12.1)
Many thanks.
Do you mind if I also upload this to https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre?
Would you like any attribution? Or would you prefer a link to your github?

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Posted: Tue Apr 09, 2019 5:06 am
by apeltauer
sgrogan wrote: Mon Apr 08, 2019 9:35 pm
apeltauer wrote: Mon Apr 08, 2019 9:14 am Updated the libpack with the files from the old libpack.... (https://github.com/apeltauer/FreeCAD/re ... bPack_12.1)
Many thanks.
Do you mind if I also upload this to https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre?
Would you like any attribution? Or would you prefer a link to your github?
I think this is the right place for the libpack. If you mention my name, i would appreciate it.

BTW: Do we already have a discussion about a daily automated build,installer and a upload to somewhere?