[cairo] Windows GTK+ 2.24.10: Cairo contexts not rendering tosurface

fanc999 at yahoo.com.tw fanc999 at yahoo.com.tw
Tue Jan 24 00:37:02 UTC 2017


Hi Jeff,
(sorry it the formatting does not look nice—I am replying on my phone)

Only add the .lib’s to the “additional dependencies” to the .exe/.dll that will built in your project, not the static lib’s.  This should removed the warnings.

Hope this helps.

With blessings, and cheers!

從 Windows 10 手機傳送
 I have the same GTK-related parameters in both VS projects' settings (as per http://stackoverflow.com/questions/15906580/how-to-configure-gtk-on-visual-studio-2010).

The only difference in output when building each is that I get a dozen linker warnings for my main project, all of the form:
1>gdk-win32-2.0.lib(libgdk-win32-2.0-0.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in gtk-win32-2.0.lib(libgtk-win32-2.0-0.dll); second definition ignored
1>gdk-win32-2.0.lib(libgdk-win32-2.0-0.dll) : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
I'd appreciate any advice.

Jeff.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20170124/1e7acd5d/attachment-0001.html>


More information about the cairo mailing list