Milkrack icon indicating copy to clipboard operation
Milkrack copied to clipboard

Build projectM from sources on Windows, or download official .lib artifact

Open korfuri opened this issue 5 years ago • 4 comments

It looks like projectM is nearing the point where they can build on Windows when they release: https://github.com/projectM-visualizer/projectm/issues/98

It would be nice to either get their official artifacts from there at build time, or to build from source ourselves on Windows, instead of relying on volunteers contributing pre-built .lib files to the repo.

korfuri avatar Apr 22 '19 08:04 korfuri

Update on this: the projectM .lib is being built via appveyor. But it's built via MSVC, and I can't find a way to link a MSVC-built C++ lib when using mingw's g++. That's currently blocking progress.

korfuri avatar May 27 '19 13:05 korfuri

@dizzisound did you have a chance to publish your method for building projectM on Windows? Thanks :)

korfuri avatar Jun 20 '19 07:06 korfuri

@korfuri I was at it after the last release of Milkrack, but there were edits I pulled related with the local build of glm that resulted in new compilation issues. Seeing that there was activity growing in the ProjectM repo, I gave up with my issues. Then I was overloaded with my day job and life routines... I'll see in the next days if I manage to clone a fresh project from Milkrack master branch and try it all again. Cheers, I wish you a nice weekend :-)

dizzisound avatar Jun 21 '19 18:06 dizzisound

@korfuri Managed to commit my edits to build libprojectM here: https://github.com/dizzisound/projectm It works for me, I really don't know if it's sufficiently clean and generic on all Windows configurations. I hope some intrepid tester can give it a try?

Compiler: gcc 7.3.0 Rev2 Build commands:

./autogen.sh ./configure --with-pic --enable-static --disable-sdl --disable-threading make

dizzisound avatar Aug 02 '19 19:08 dizzisound