-----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@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