[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: Why libtag.dll need mingw libs to run?
From:       Lukáš Lalinský <lalinsky () gmail ! com>
Date:       2013-02-09 13:54:16
Message-ID: CAGUtLj-PAYcEMb-JQCN+9qML9qxuzE6F0xuuRN8edxyzDtWpjw () mail ! gmail ! com
[Download RAW message or body]

If you compiled TagLib with MSVC, you would have the same problem, but
it would ask for msvcrXX.dll and msvcpXX.dll instead. By default, both
MSVC and MinGW use a shared version of the standard C/C++ libraries.

I'm not sure if it will work for a DLL file, but MinGW has options
-static-libgcc and -static-libstdc++ to use a static standard library
instead. Adding those options to the CMAKE_SHARED_LINKER_FLAGS CMake
variable could work, but I have not tested it.

Lukas

On Sat, Feb 9, 2013 at 2:34 PM, Krzysztof <dibo20@wp.pl> wrote:
> Hi,
>
> I'm loading dynamically libtag.dll from Free Pascal compiler. I compiled
> taglib using MinGW. When I load libtag.dll I get error that it can't find
> mingw libs like libgcc_s_dw2-1.dll etc. Can I configure make and cmake to
> solve these dependencies? I know that I can add mingw to enviromnent path,
> but I would like deploy my application without those libs.
>
> Regards
>
> _______________________________________________
> taglib-devel mailing list
> taglib-devel@kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic