Error 3 error LNK1104: cannot open file 'gtk-3.lib'

前端 未结 2 1181
借酒劲吻你
借酒劲吻你 2020-12-06 08:32

I have been trying to get GTK 3.0 to work, and have followed all the steps here

How to configure gtk on Visual studio 2010

And changing to 3.0 where needed

2条回答
  •  情深已故
    2020-12-06 08:51

    you may have to edit your project settings or use a pragma comment to link with your gtk library:

    #pragma comment(lib, "gtk-3")//if the libray is on your project's path
    
    
    #define PATH "C:\\example\\"
    #pragma comment(lib, PATH"gtk-3")//if the library is on PATH
    

提交回复
热议问题