Bugfix/Improvement: Switch Windows Build to 64-bit#1149
Conversation
6287828 to
2167fc6
Compare
|
Did you change the projectM wrapper to use a newer projectM version? We must use projectM 1.x or 2.x because the state will not be saved and restored correctly in USDX when projectM uses newer OpenGL 3.x/4.x shaders. |
|
i did. i will prioritize getting anything to work first (the CI system does not use msys2 so i have to figure out how to convince it to build 64 bits) |
b4780cf to
f14fcf4
Compare
|
The equivalent of opengl32_.dll for 64 bits would be a mesa-llvmpipe-x64 dll from https://github.com/mmozeiko/build-mesa/releases. But since mesa-d3d12-x64 is a better choice if it works, we should probably stop distributing opengl32_.dll and point people to those Mesa builds. I don't know why I haven't added GLEW to MXE, but for projectM and OpenCV part of the reason was that they need libstdc++, which in turn probably needs even more dlls like winpthread. The 32 bit builds we currently have use Microsoft's C++ library, which is usually present on Windows systems. |
|
at least on my system i didn't need any replacement to opengl32_.dll - is it only required for projectM? |
|
It is a software OpenGL renderer in case your graphics drivers are broken. Users have to rename the file to opengl32.dll to use it. |
|
ah, is that still a thing? i never needed that in all the years |
ec1c178 to
d31b183
Compare
|
okay, no idea how to get this working in the CI. locally it builds totally fine in the msys2 environment. |
6565999 to
aa91d6e
Compare
|
i think i resolved all open points |
8653235 to
868627e
Compare
s09bQ5
left a comment
There was a problem hiding this comment.
Approved, but don't merge until UltraStar-Deluxe/mxe#2 has been merged.
|
and maybe squash - or alternatively i can force push with 1 clean commit message |
|
@s09bQ5 just squashed and force pushed |
- update CI to build with MSYS2/autotools and the FPC cross toolchain - fetch the x86_64 DLL bundle and download bass.dll separately - enable the OpenCV wrapper on Windows and link it as a DLL there - update bundled library names and versions for projectM, portaudio and freetype - remove obsolete 32 bit runtime DLLs from the repository
Builds a 64-bit binary on Windows.
This is required as we otherwise run out of virtual memory on Windows with larger song libraries (>27k songs).