Looks like I was trying to link a 64-bit Python library to a 32-bit application. I wish the linker would tell me something other than "unresolved symbol." Linking to the 32-bit library fixes the problem.
要么都是32位,要么都是64位的,一定要一致才可以。
本文探讨了尝试将64位Python库链接到32位应用程序时遇到的问题,并强调了确保链接组件位宽一致的重要性。
Looks like I was trying to link a 64-bit Python library to a 32-bit application. I wish the linker would tell me something other than "unresolved symbol." Linking to the 32-bit library fixes the problem.
要么都是32位,要么都是64位的,一定要一致才可以。
2433
860

被折叠的 条评论
为什么被折叠?