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?
Thanks,
JN
On Sun, Oct 30, 2011 at 3:35 PM, Joe Newlin jtnewlin@gmail.com wrote:
"you might want to install the imageTIFF, imageJPEG, imageSGI and/or imageQT plugins, depending on which filse you want to read."
Thanks! I'm now going to try to figure out what you mean by that - i.e. where these plugins are located and how to install them, but if anyone cares to explain that here it would be greatly appreciated.
JN
On Sun, Oct 30, 2011 at 1:48 PM, IOhannes m zmölnig zmoelnig@iem.atwrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/30/2011 09:08 PM, Pierre-Olivier Boulant wrote:
Do you have Quicktime installed? The new version of GEM needs Quicktime to load files with its codecs.
not really true. the new version of Gem can use a number of ways to load an image, among those are ImageMagick (which crashes on w7), QuickTime (for which you need QuickTime installed) or the traditional libJPEG/libTIFF based methods.
the trick is, that the image loading functionality is now found in pugins (thus if imageMAGICK crashes, you can simply remove the imageMAGICK plugin to avoid those crashes). however, in order to load any image, you will need at least one gem_image*.dll plugin. you might want to install the imageTIFF, imageJPEG, imageSGI and/or imageQT plugins, depending on which filse you want to read.
fgamsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6tuDAACgkQkX2Xpv6ydvRksQCfbncuY1uCSknfsvIEV4Efgyxj /7QAoN9+WqIoMr0TuTPsd40WYig7FsCQ =oNxP -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.joenewlin.net www.twitter.com/joe_newlin
-----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