[Dcmlib] MinGW shared build problem
Mathieu Malaterre
mmalater at nycap.rr.com
Fri Jun 10 15:27:38 CEST 2005
Sorry for the personal email, but road runner is blacklisting everybody
by default :) I believe there is a link in the email to make you
whitelisted.
Anyway as for your mingw problem, I'll try to have a look at it, but
keep in mind that I am working on jpegls, mpeg2, jasper at the same
time.
Thanks for your patience,
Mathieu
On Jun 9, 2005, at 8:24 AM, Michal Kurgan wrote:
> Hello Mathieu!
> I tried to contact You privately but i have problem, about spam
> detection, on
> Your host so i decided to post here.
>
> I don't know if You already found resolution but problem with dll
> building may
> be connected with linker flags. To successfully do that You need to
> add some
> flags to linker :
> -Wl,--out-implib=$@.a
> ^- will build static "pseudo" lib with only imports from dll, to use in
> projects, if You don't have import statement in headers.( $@ should be
> name of
> that library )
>
> -Wl,--export-all-symbols
> -Wl,--enable-auto-import
> ^- these two are, i think, needed on win32 builds
>
> I know that these linker flags may be added to cmakesetup
> configuration.
>
> Sadly, i still can't build Your's library on windows, i have problems
> with
> configuration, failed tests of compiler (with same config i compiled
> qt).
>
> Hope this help...
> --
> Michal Kurgan
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
More information about the Dcmlib
mailing list