RE: [Quickfix-developers] 1.9.3 DotNet Build error
Brought to you by:
orenmnero
From: Howard E. <Ho...@Pi...> - 2004-11-14 17:46:12
|
I put a nice little application together using C# and have been = impressed at how well it integrates. One thing I had trouble with is = accessing the enummerated tag values from the FIX::FIELD enum defined in = FieldNumbers.h . Are these exposed as an enum via the dot net wrappers? = What would be the easiest way to get the constant integer value of a = fix field/tag number? =20 Thanks, =20 -H ________________________________ From: Oren Miller [mailto:or...@qu...] Sent: Sun 11/14/2004 12:27 PM To: Howard Engelhart Cc: qui...@li... Subject: Re: [Quickfix-developers] 1.9.3 DotNet Build error My oh my. This will certainly boost the performance of the .NET library. --oren On Nov 14, 2004, at 5:50 AM, Howard Engelhart wrote: > > I modified the line (# 148 in Application.h) as you recommended and > that allowed the build to proceed. However there was one additional > error. > =20 > The build process failed to link the quickfix_net assembly to > quickfix.lib. The Release Configuration of the quickfix_net project, > Linker -> General section, the "Additional Library Directories" > setting points towards "..\..\lib\debug" it should be "..\..\lib\". > =20 > My guess is that if you were building debug then release it would seem > to work, however since I was building release only it failed. > =20 > -H > =20 > > > > This e-mail and/or its attachments may contain confidential and/or > privileged information. If you are not the intended recipient(s) or > have received this e-mail in error, please notify the sender > immediately and delete this e-mail and its attachments from your > computer and files. Any unauthorized copying, disclosure or > distribution of the material contained herein is strictly forbidden.=20 > Pipeline Trading Systems, LLC - Member NASD & SIPC. > From: Oren Miller [mailto:or...@qu...] > Sent: Thu 11/11/2004 11:39 AM > To: Howard Engelhart > Cc: qui...@li... > Subject: Re: [Quickfix-developers] 1.9.3 DotNet Build error > > > Hmm, it's building fine for us, but perhaps your version of Visual > Studio is reacting differently. Looking at it I don't think the __pin > should be part of the return type for that method. I would try > changing the line in Application.h as follow: > > QuickFix::Message __pin * create( const FIX::Message& unmanaged ) > > to > > QuickFix::Message* create( const FIX::Message& unmanaged ) > > Please report back if this fixes your problem so we can apply it to = the > code base. > > --oren > > On Nov 11, 2004, at 7:45 AM, Howard Engelhart wrote: > > > > > I am unable to compile version 1.9.3 in net BuildLog attached. > > > > =20 > > > > =20 > > > > ------ Rebuild All started: Project: quickfix_net, Configuration: > > Release Win32 ------ > > > > =20 > > > > Deleting intermediate files and output files for project > > 'quickfix_net', configuration 'Release|Win32'. > > > > Compiling... > > > > Stdafx.cpp > > > > Compiling... > > > > quickfix_net.cpp > > > > c:\usr\local\src\quickfix.1.9.3\src\.NET\Application.h(149) : error > > C3824: 'create': only non-static local pointers may be declared as > > pinned > > > > Session.cpp > > > > ScreenLog.cpp > > > > =20 > > > > =20 > > > > Full Build Log: > > > > =20 > > > > Build Log ------- Build started: Project: quickfix_net, > > Configuration: Release|Win32 ------- > > > > =20 > > > > Command Lines Creating temporary file > > "c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000004.rsp" = with > > contents > > > > [ > > > > /O2 /I "..\..\include\\" /AI "..\..\lib" /D "WIN32" /D "NDEBUG" /D > > "_WINDLL" /D "_MBCS" /FD /EHsc /MD /GR /Fo"Release/" > > /Fd"Release/vc70.pdb" /W2 /c /clr /TP > > > > \quickfix_net.cpp > > > > .\Session.cpp > > > > \ScreenLog.cpp > > > > .\MySQLMessageStore.cpp > > > > \MySQLLog.cpp > > > > .\MessageStoreFactory.cpp > > > > \MessageStore.cpp > > > > .\Message.cpp > > > > \MemoryMessageStore.cpp > > > > .\Group.cpp > > > > \FileMessageStore.cpp > > > > .\FileLog.cpp > > > > \Fields.cpp > > > > .\CPPMessageStore.cpp > > > > \AssemblyInfo.cpp > > > > ] > > > > Creating command line "cl.exe > > @c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000004.rsp > > /nologo" > > > > Creating temporary file > > "c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000005.rsp" = with > > contents > > > > [ > > > > /O2 /I "..\..\include\\" /AI "..\..\lib" /D "WIN32" /D "NDEBUG" /D > > "_WINDLL" /D "_MBCS" /FD /EHsc /MD /GR /Yc"stdafx.h" > > /Fp"Release/quickfix_net.pch" /Fo"Release/" /Fd"Release/vc70.pdb" = /W2 > > /c /clr /TP > > > > \Stdafx.cpp > > > > ] > > > > Creating command line "cl.exe > > @c:\usr\local\src\quickfix.1.9.3\src\.net\Release\RSP000005.rsp > > /nologo" > > > > Output Window Compiling... > > > > Stdafx.cpp > > > > Compiling... > > > > quickfix_net.cpp > > > > c:\usr\local\src\quickfix.1.9.3\src\.NET\Application.h(149) : error > > C3824: 'create': only non-static local pointers may be declared as > > pinned > > > > Session.cpp > > > > ScreenLog.cpp > > > > MySQLMessageStore.cpp > > > > MySQLLog.cpp > > > > MessageStoreFactory.cpp > > > > MessageStore.cpp > > > > Message.cpp > > > > MemoryMessageStore.cpp > > > > Group.cpp > > > > FileMessageStore.cpp > > > > FileLog.cpp > > > > Fields.cpp > > > > CPPMessageStore.cpp > > > > AssemblyInfo.cpp > > > > Generating Code... > > > > Results Build log was saved at > > > "file://c:\usr\local\src\quickfix.1.9.3\src\.net\Release\BuildLog.htm" > > > > quickfix_net - 1 error(s), 0 warning(s) > > > > > > This e-mail and/or its attachments may contain confidential and/or > > privileged information. If you are not the intended recipient(s) or > > have received this e-mail in error, please notify the sender > > immediately and delete this e-mail and its attachments from your > > computer and files. Any unauthorized copying, disclosure or > > distribution of the material contained herein is strictly forbidden. = > > Pipeline Trading Systems, LLC - Member NASD & SIPC. <BuildLog.htm> This e-mail and/or its attachments may contain confidential and/or = privileged information. If you are not the intended recipient(s) or have = received this e-mail in error, please notify the sender immediately and = delete this e-mail and its attachments from your computer and files. Any = unauthorized copying, disclosure or distribution of the material = contained herein is strictly forbidden. Pipeline Trading Systems, LLC - = Member NASD & SIPC. |