Gem icon indicating copy to clipboard operation
Gem copied to clipboard

W32/mingw builds do not catch exceptions

Open umlaeute opened this issue 6 years ago • 4 comments
trafficstars

instead Pd is terminated...

umlaeute avatar Feb 04 '19 14:02 umlaeute

Does this only happen with 32-bit builds? If yes, it may be this: https://git.iem.at/pd/vstplugin/-/tree/master#warning-about-32-bit-mingw

Spacechild1 avatar Sep 17 '22 23:09 Spacechild1

probably, however, I thought I'm already building with -static-libstdc++ in https://git.iem.at/pd/Gem/-/jobs/41776#L885

it appears, though, that i'm building with both -lstdc++ and -static-libstdc++ which might explain why it's not working. not that some of the dependencies as installed by pacman (i think FTGL is to blame) also dynamically link against -lstdc++, which complicates the issue.

umlaeute avatar Sep 18 '22 17:09 umlaeute

it appears, though, that i'm building with both -lstdc++ and -static-libstdc++ which might explain why it's not working.

Yes, it looks like Gem.dll is statically linked, but all the plugins are dynamically linked.

not that some of the dependencies as installed by pacman (i think FTGL is to blame) also dynamically link against -lstdc++, which complicates the issue.

Yep, that could be problem. In the worst case, you'd have to compile ftgl yourself.

Spacechild1 avatar Sep 18 '22 20:09 Spacechild1

Yes, it looks like Gem.dll is statically linked, but all the plugins are dynamically linked.

doh. i'm going to check.

umlaeute avatar Sep 19 '22 07:09 umlaeute