pac-dev / protoplug

Create audio plugins on-the-fly with LuaJIT.
Other
285 stars 36 forks source link

compiling with mingw #10

Closed sonoro1234 closed 6 years ago

sonoro1234 commented 9 years ago

I would like to compile with mingw but I guess that (at least on windows) the compiler must be the same used compiling the vst-host to avoid run time libraries mismatches, and I guess that the standard is MSVC. Doing dependancy walker on Reaper dont show msvccrtxxx.dll so may be I could try. What is your experience with this issue?

pac-dev commented 9 years ago

You could use Visual Studio Express 2013 for Windows Desktop or the older Visual C++ 2010 Express, which are free.

I think having different C++ runtimes should not be a problem (it's a problem when memory is allocated with one runtime and freed with another, but this should never happen in a VST host/plugin relationship).

As for the issue itself, someone else tried compiling protoplug with MinGW and said it failed at runtime, I think there are some small fixes to be done but it almost works.

pac-dev commented 6 years ago

For Windows I am now using the (free) VS2017 and it works fine. At this point, fixing compilation with MinGW does not seem like a sound time investment!