简体   繁体   中英

How do I distribute a Gtkmm application on Windows?

I have written a GUI using gtkmm (the C++ language wrapper for GTK+). I have been able to find the.dlls that the.exe. file depends upon, and make a basic installer using NSIS. However, I am having trouble distributing the application to other Windows devices. As I am completely new to this, does anyone have advice as to how to properly distribute the application? All I really need to do is download it on a few other PCs. Thanks!

Try to catch the exception and look at Gdk::PixbufError::code() or Gdk::PixbufError::what() to see why it throws.

You have several codes:

  CORRUPT_IMAGE,
  INSUFFICIENT_MEMORY,
  BAD_OPTION,
  UNKNOWN_TYPE,
  UNSUPPORTED_OPERATION,
  FAILED,
  INCOMPLETE_ANIMATION

Images in the development machine are in the same directory as the build .exe ?

Also, if you run the app from an icon, shortcut or similar, the current directory may not be the same as the .exe .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM