[PD] error compiling plugins on Windows 7 64-bit WAS: GEM 0.93.1 crashing on Windows 7 64-bit

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 31 10:13:02 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-10-31 02:01, Joe Newlin wrote:
> Hi,
> 
> When I try to compile imageJPEG and imageQT using the MINGW compiler I get
> an error: undefined reference to 'WinMain at 16'.
> 
> Am I missing something?
> 

3 things:

#1 Gem is C++, as well as it's plugins. because of name mangling, you
cannot mix C++ binaries compiled with one compiler with binaries
compiled with another compiler.
e.g. if Gem was compiled with M$VC (which it was if you are using the
binary provided by me), you will not be able to use plugins compiled
with MinGW

#2 the "installers" (both the zip-file and the installer executable)
provided by me should include imageQT, imageJPEG, imageTIFF, imageSGI
(and the notorious imageMAGICK); the installer.exe has the imageMAGICK
plugin chosen, and the other plugins de-selected (i think), but you can
simply select the plugins you want. the zip-file contains all plugins
(including the faulty imageMAGICK)

#3 finally, the problem you reported here is a bit different, a it seems
it fails to link the plugin alltogether (regardless of whether you will
be able to use it with the Gem.dll, as explained in #1); in order to fix
this (which might be interesting on the road to make Gem compilable on
MinGW alltogether), i would need a bit more information (e.g. configure
flags, configure output, build log)
if you are interested, you could try to join the gem-dev [1] mailinglist


fgamsdr
IOhannes


[1] http://lists.puredata.info/listinfo/gem-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6uZpoACgkQkX2Xpv6ydvSpsACfXUHp2OUjcVzftIF4B82x2ukb
D5YAoPXXMF4XsB1ao5uucB3hcKiKMDxJ
=iqIj
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111031/473635a7/attachment.bin>


More information about the Pd-list mailing list