Menu

GTK+, linking static

2002-07-20
2012-09-26
  • Thomas Martinsen

    Im compiling a GTK+ app with Dev C++.

    But when i run it on a other computer,
    it says it missing some dlls.

    instead of including the dlls i want to link it static,
    but i cant get it to work....

    any idea?

     
    • Nobody/Anonymous

      I'm afraid you have to compile the GTK library from the sources. Maybe these links are useful to you:

      www.gimp.org/~tml/gimp/win32/index.html

      www.gtk.org

       
    • Thomas Martinsen

      why?

      i installed gtk from the devc++ package

      i just want to compile a GTK app static so windows users dosnt need the DLLs...

      isnt that possible?

       
    • Nobody/Anonymous

      Because the package you currently own is the GTK dynamic version, not the static one. It's stored in the DLL's. You need one static library (not an imprt library) to link it all statically.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.