Aha, yes that seems to solve it, thanks, moving test.cpp before the library specification in the command line resolved the problem. Now to work out how to get auto* to do that for me.
[mailto:email@example.com ] On Behalf Of Paul
Sent: Monday, 29 January 2007 1:54 p.m.
Subject: [Mingw-users] Help resolving a linking problem
I've been banging my head against a wall for some time now trying to get
the OpenEXR libraries to compile with MinGW.
"Why do I get "undefined reference" errors from the linker?" is an
entry in the MingWiki
Does that help?