Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 pycairo C API 包含在 C 应用程序中。
我包括 pycairo 标头:
#include Pycairo.h
这是我的包含路径。但是我收到了大量的链接错误(LNK2019),类似于undefined external reference __imp__cairo...
undefined external reference __imp__cairo
我知道这__imp__表明它正在寻找一个共享库(而不是静态的)。我的库路径上有 cairo.dll 和 _cairo.pyd。有什么我想念的想法吗?
__imp__