Sunday, July 19, 2009

GTK 2.6.10: Create libwimp.dll and libpixmap.dll Manually

After compiling GTK 2.6.10 for Windows 98/ME, I found out that libwimp.dll was missing. libwimp.dll makes GTK+ applications appear just like other Windows programs. In other words, libwimp.dll is a GTK+ theme engine.

So I went back to the GTK+ source tree and built libwimp.dll (and also libpixmap.dll) manually, as shown below.


cd ~/gtk+-2.6.10/modules/engines/ms-windows/.libs



dllwrap --export-all-symbols --add-stdcall-alias -o libwimp.dll --dllname libwimp.dll *.o -L/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -luuid -lgdk_pixbuf-2.0 -lwsock32 -lpangowin32-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lws2_32 -lole32 -lintl -lgdi32



mv libwimp.dll /mingw/lib/gtk-2.0/2.4.0/engines



cd ~/gtk+-2.6.10/modules/engines/pixbuf/.libs



dllwrap --export-all-symbols --add-stdcall-alias -o libpixmap.dll --dllname libpixmap.dll *.o -L/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -luuid -lgdk_pixbuf-2.0 -lwsock32 -lpangowin32-1.0 -lpango-1.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lws2_32 -lole32 -lintl -lgdi32



mv libpixmap.dll /mingw/lib/gtk-2.0/2.4.0/engines

Thus, I built libwimp.dll from libwimp.a and libwimp.la and moved it into C:\MinGW\lib\gtk-2.0\2.4.0\engines.

No comments:

Post a Comment

About This Blog

KBlog logo This blog is about current events and issues concerning general population. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

icon
Powered By Blogger