Thread: [Quickfix-users] Visual C++ build problems: 'ole2.h'
Brought to you by:
orenmnero
From: Shaun A. <Sh...@Ab...> - 2004-07-01 08:34:49
|
Hi, I am a Java developer very keen to get to learn more about Quickfix, but = really struggling to get it built. My C++ knowledge is very limited, so = excuse me is this is a stupid question. I am trying to build it on WinXP = Pro using Microsoft Visual C++ (2005 Express Edition Beta - i.e. the = free version, I don't have access to the full Visual Studio), but I keep = getting the following error message:=20 fatal error C1083: Cannot open include file: 'ole2.h': No such file or = directory Has anyone else tried building Quickfix with VC++ Express, or have any = ides on how to get rid of this problem? Any suggestions greatly = appreciated. Thanks in advance, Shaun PS Will there ever be a time when built, rather than source only, = versions are available for download? |
From: Oren M. <or...@qu...> - 2004-07-01 20:36:13
|
Here is a link to a windows binary release. It's experimental so =20 feedback would be appreciated. http://prdownloads.sourceforge.net/quickfix/quickfix-bin-1.8.0.zip?=20 download On Jul 1, 2004, at 3:33 AM, Shaun Abram wrote: > Hi, > I am a Java developer very keen to get to learn more about Quickfix, =20= > but really struggling to get it built. My C++ knowledge is very =20 > limited, so excuse me is this is a stupid question. I am trying to =20 > build it on WinXP Pro using Microsoft Visual=A0C++ (2005 Express = Edition =20 > Beta - i.e. the free version, I don't have access to the full Visual =20= > Studio), but I keep getting the following error message: > =A0 > > fatal error C1083: Cannot open include file: 'ole2.h': No such file or = =20 > directory > =A0 > Has anyone else tried building Quickfix with VC++ Express, or have any = =20 > ides on how to get rid of this problem? Any suggestions greatly =20 > appreciated. > =A0 > Thanks in advance, > =A0 > Shaun > =A0 > PS Will there ever be a time when built, rather than source =20 > only,=A0=A0versions are available for download? > =A0 |
From: Shaun A. <Sh...@Ab...> - 2004-07-05 15:33:45
|
Hi Oren, Many thanks for passing on the binary release. I have ordered a copy of = Visual Studio .Net so I will hopefully be able to build it myself soon, = but your version has helped me a lot until then. The following are my observations from my limited use of the build so = far: 1. When you run Executor (Java version) with an incomplete cfg file, it can = cause a Virtual Machine abort, rather than a useful error message. See = attached hs_err_pid3304.log log file for details. Don't think this is a = huge deal since it does work fine with a sensible cfg file. This may be = the same problem as listed here = http://sourceforge.net/mailarchive/forum.php?thread_id=3D4325589&forum_id= =3D103. 2. When I have Executor and Banzai running and connected to each other, = when I try to submit an order, I always get an error about tag58 (Text) = being out of range, e.g. <20040705-14:41:29, FIX.4.0:CLIENT1->TW, incoming> = (8=3DFIX.4.0=E2=98=BA9=3D107=E2=98=BA35=3D3=E2=98=BA34=3D115=E2=98=BA49=3D= TW=E2=98=BA52=3D20040705-14:41:29=E2=98=BA56=3DCLIENT1=E2=98=BA45=3D468=E2= =98=BA58=3DValue is incorrect (out of range) for this = tag=E2=98=BA10=3D153=E2=98=BA) Not sure how useful this feedback is, but if I come across anything else = I'll let you know. Thanks again for your help... Shaun ----- Original Message -----=20 From: Oren Miller=20 To: Shaun Abram=20 Cc: qui...@li...=20 Sent: Thursday, July 01, 2004 9:36 PM Subject: Re: [Quickfix-users] Visual C++ build problems: 'ole2.h' Here is a link to a windows binary release. It's experimental so = feedback would be appreciated. = http://prdownloads.sourceforge.net/quickfix/quickfix-bin-1.8.0.zip?downlo= ad On Jul 1, 2004, at 3:33 AM, Shaun Abram wrote: Hi, I am a Java developer very keen to get to learn more about Quickfix, = but really struggling to get it built. My C++ knowledge is very limited, = so excuse me is this is a stupid question. I am trying to build it on = WinXP Pro using Microsoft Visual C++ (2005 Express Edition Beta - i.e. = the free version, I don't have access to the full Visual Studio), but I = keep getting the following error message: =20 fatal error C1083: Cannot open include file: 'ole2.h': No such file = or directory =20 Has anyone else tried building Quickfix with VC++ Express, or have = any ides on how to get rid of this problem? Any suggestions greatly = appreciated. =20 Thanks in advance, =20 Shaun =20 PS Will there ever be a time when built, rather than source only, = versions are available for download? =20 |
From: Joerg T. <Joe...@ma...> - 2004-07-06 08:55:21
|
Hi Shaun, > 1. > When you run Executor (Java version) with an incomplete cfg file, it can > cause a Virtual Machine abort, rather than a useful error message. See > attached hs_err_pid3304.log log file for details. Don't think this is a > huge deal since it does work fine with a sensible cfg file. This may be > the same problem as listed here > http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103 > <http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103>. I know about such problems. When I use the FileLogFactory, but forgot to add the entry to the cfg file, QF aborts. Will check this... Oren, what do you know about this? Probably a ConfigError should be thrown or is not correctly catched in the JNI layer. > 2. > When I have Executor and Banzai running and connected to each other, > when I try to submit an order, I always get an error about tag58 (Text) > being out of range, e.g. > > <20040705-14:41:29, FIX.4.0:CLIENT1->TW, incoming> > > (8=FIX.4.0☺9=107☺35=3☺34=115☺49=TW☺52=20040705-14:41:29☺56=CLIENT1☺45=468☺58=Value > is incorrect (out of range) for this tag☺10=153☺) > > Not sure how useful this feedback is, but if I come across anything else > I'll let you know. Thanks again for your help... Tag 58 is the explanatory text for you to read; it is not tag 58 which is out of range. Tag 45 refers to sequence number 468 (34=468). Probably you tried to send a MARKET order from Banzai to the Executor. The Executor only accepts LIMIT orders, others are rejected: 56 if(ordType.getValue() != OrdType.LIMIT) 57 throw new IncorrectTagValue(ordType.getField()); This from the file quickfix-1.8.0/quickfix/examples/executor/java/src/Application.java The thrown exception results in the session level reject being sent. The Ordermatcher rejects that order with an ExecutionReport: 58=Unsupported Order Type, use limit which is more helpful here. Just try the order matcher to see the difference. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |
From: Joerg T. <Joe...@ma...> - 2004-07-06 09:47:55
|
>> 1. >> When you run Executor (Java version) with an incomplete cfg file, it >> can cause a Virtual Machine abort, rather than a useful error message. >> See attached hs_err_pid3304.log log file for details. Don't think this >> is a huge deal since it does work fine with a sensible cfg file. This >> may be the same problem as listed here >> http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103 >> <http://sourceforge.net/mailarchive/forum.php?thread_id=4325589&forum_id=103>. > > I know about such problems. When I use the FileLogFactory, but forgot to > add the entry to the cfg file, QF aborts. Will check this... > > Oren, what do you know about this? Probably a ConfigError should be > thrown or is not correctly catched in the JNI layer. The C++ tradeclient says "ConfigError..." if I remove the FileLog config entry, so I assume some problem in the JNI layer. Did not find anything so far. Cheers, Jörg -- Joerg Thoennes http://macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Fax : +49 (0)241 44597-10 Lothringer Str. 52, D-52070 Aachen |
From: Oren M. <or...@qu...> - 2004-07-06 19:02:54
|
Indeed. I checked in fixes for both of these into CVS. --oren On Jul 6, 2004, at 3:55 AM, Joerg Thoennes wrote: > Hi Shaun, > >> 1. >> When you run Executor (Java version) with an incomplete cfg file, it >> can cause a Virtual Machine abort, rather than a useful error >> message. See attached hs_err_pid3304.log log file for details. Don't >> think this is a huge deal since it does work fine with a sensible cfg >> file. This may be the same problem as listed here >> http://sourceforge.net/mailarchive/forum.php? >> thread_id=4325589&forum_id=103 >> <http://sourceforge.net/mailarchive/forum.php? >> thread_id=4325589&forum_id=103>. > > I know about such problems. When I use the FileLogFactory, but forgot > to add the entry to the cfg file, QF aborts. Will check this... > > Oren, what do you know about this? Probably a ConfigError should be > thrown or is not correctly catched in the JNI layer. |