[Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

Free Pascal - Lazarus mailing list

H,

just  curiuos:

I ave a little apllication that suudenly(?!!) needs ligtk-win32*.dll on Windows 10.

I think that's new and now i search for my changes that made this *.dll needed!


On Linux ldd shows:

[john1@manjaro Sanduhr]$ ldd ./Sanduhr
    linux-vdso.so.1 (0x00007ffcf0b98000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7134f89000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7134f67000)
    libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f7134eb1000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f7134d71000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f7134d4b000)
    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f7134904000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f71348a6000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f7134781000)
    libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f713477c000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f7134777000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f7134729000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f7134605000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f71345da000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f7134414000)
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7134fd5000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f7134404000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f7134254000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f713420d000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f7134200000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f71341f9000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f71341e6000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f71341d9000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f71341cd000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f71341c8000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f71341c3000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f71341b8000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f71341a3000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f7134179000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f7134033000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f713401c000)
    libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f713400f000)
    libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f7133f9c000)
    libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f7133f7e000)
    libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f7133f73000)
    libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f7133e6f000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f7133dc5000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f7133cf5000)
    libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f7133cbd000)
    libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f7133cb8000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f7133ca8000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f7133c8e000)
    librt.so.1 => /usr/lib/librt.so.1 (0x00007f7133c83000)
    libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f7133c24000)
    libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f7133c0b000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f7133bdb000)
    libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f7133bd2000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7133bcd000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7133bc3000)
    libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f71339bc000)
    libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f7133997000)
    libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f7133984000)
    libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f7133933000)

the uses section of two units:

unit1:

uses
  FileUtil, lazutf8, Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
  ExtCtrls, EditBtn, StdCtrls, ComCtrls, IniPropStorage, MaskEdit, Menus,
  Buttons, UniqueInstance, DateUtils, LCLType, PopupNotifier, crt; 


unit2:

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
  StdCtrls, LCLType, EditBtn, DateUtils;  


How do i find the code that needs libgtk-win32*.dll?

...perhaps somewhere inside the Lazarus IDE?  

I developed a lot of little applications with lazarus but never had to install extra libraries to get an application running!

Ok, downloaded "gtk2-runtime-2.24.10-2012-10-10-ash.exe" from sourceforge , i think i have to deliver that with my Application?!!

Tipps are welcome!


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

Free Pascal - Lazarus mailing list
On Fri, Mar 13, 2020 at 3:06 PM John Landmesser via lazarus <[hidden email]> wrote:

just  curiuos:

I ave a little apllication that suudenly(?!!) needs ligtk-win32*.dll on Windows 10.

I think that's new and now i search for my changes that made this *.dll needed!


Seems like you little application has been compiled with Gtk2 widgetset as a requirement.
If you replace it with Win32 widgetset, you should not longer need any external dlls.

thanks,
Dmitry

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Suddenly my appplication needs lbgtk-win32*.dll for Win10

Free Pascal - Lazarus mailing list
Yes, thats it ...

tried to compile with qt5 .. had some probs ... set it to compile with gtk2 ... that caused this additional requirement gtk2 ...

Your tipps solved it!!!

Thank you Dmitry

Am 13.03.2020 um 20:32 schrieb Dmitry Boyarintsev via lazarus:
On Fri, Mar 13, 2020 at 3:06 PM John Landmesser via lazarus <[hidden email]> wrote:

just  curiuos:

I ave a little apllication that suudenly(?!!) needs ligtk-win32*.dll on Windows 10.

I think that's new and now i search for my changes that made this *.dll needed!


Seems like you little application has been compiled with Gtk2 widgetset as a requirement.
If you replace it with Win32 widgetset, you should not longer need any external dlls.

thanks,
Dmitry



--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus