我尝试使用以下代码编译.pyd文件设置.pywindows上的文件 {
setup(name='quickfix',
version='1.14.3',
py_modules=['quickfix', 'quickfixt11', 'quickfix40', 'quickfix41', 'quickfix42', 'quickfix43', 'quickfix44', 'quickfix50', 'quickfix50sp1', 'quickfix50sp2'],
data_files=[('share/quickfix', glob.glob('spec/FIX*.xml'))],
author='Oren Miller',
author_email='oren@quickfixengine.org',
maintainer='Oren Miller',
maintainer_email='oren@quickfixengine.org',
description="FIX (Financial Information eXchange) protocol implementation",
url='http://www.quickfixengine.org',
download_url='http://www.quickfixengine.org',
license=license,
include_dirs=['C++','C:/Program Files (x86)/MySQL/MySQL Server 5.6/include','C:/Program Files (x86)/MySQL/MySQL Server 5.6/lib'],
#library_dirs=['C:/Program Files/MySQL/MySQL Server 5.6/lib'],
#cmdclass = {'build_ext': build_ext_subclass },
ext_modules=[Extension('_quickfix', glob.glob('C++/*.cpp'), libraries=['Ws2_32', 'odbc32', 'odbccp32'], extra_compile_args=['/EHsc', '/DHAVE_STD_TR1_SHARED_PTR'])],
)
}
我得到这个错误: {
^{pr2}$}
有什么办法解决这个问题吗?如何创建对libMySQL.lib?在
谢谢
我最终包括了libmysql.lib库以及libmysql.dll文件位于与设置.py文件似乎已经解决了错误,但现在我有了一个新的文件(可能与..):
MySQLStore.h:
^{pr2}$以下是我认为MySQLStore.cpp在
^{3}$…和。。在
文件SrpTime.h在“C++”文件夹中,因此应该包含在…在
有什么想法吗? 非常感谢
相关问题 更多 >
编程相关推荐