Hi, Oren and quickfix members.
I have a problem trying to install quickfix python API in windows
vista sp1. I downloaded the latest source file using SVN on 2009/03/30. From
what I understand, there are already c++ source files generated by SWIG
which are
QuickfixPython.cpp
QuickfixPython.h
Then, I need to create python extension from those files and get the
file " _quickfix.pyd " and then put the file in python library. And that's
it all I need to do because all python interfaces files are there in
/src/python/ . (quickfix.py , quickfix40 41 42 43 44.py and quickfix_fields)
I have used microsoft visual studio 2008 to do the job. (which was
not good in my point of view because the latest version of visual studio
used in quickfix was 2005 aka 8.0 ). What I did was that I open quickfix_vs8
project file in /src/C++/ and then I add QuickfixPython.cpp and
QuickfixPython.h files into the project. Then I configured the project to
DLL project and edit "_quickfix.pyd" as an output file. This was done
following the example here
http://docs.python.org/extending/windows.html#a-cookbook-approach
Then I ran through a bunch of errors as like this
###
1>.\QuickfixPython.cpp(3877) : fatal error C1083: Cannot open include file:
'config.h': No such file or directory
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(834) :
error C2065: 'T' : undeclared identifier
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(881) :
error C2061: syntax error : identifier 'T'
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(837) :
error C2065: 'T' : undeclared identifier
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(884) :
error C2065: 'ppT' : undeclared identifier
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(886) :
error C2065: 'ppT' : undeclared identifier
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(902) :
error C2065: 'T' : undeclared identifier
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\atlbase.h(910) :
error C2065: 'T' : undeclared identifier
###
Note that I copy all "atl*.h" (which was missing in visual studio 9.0
that I am using) from Microsoft platform SDK for windows server 2003 R2
(free packages from microsoft). However, I can not find "config.h" though.
Is there any method that is easier than this or anyone has a solution or
have successfully built it before please help me. I am very newbie to c++
code and do not quite understand the error message as it produced like
above.
Thank you very much.
Best regards,
Aonlazio
|