Re: [Quickfix-users] Visual C++ 2010 Express - Build Fails
Brought to you by:
orenmnero
From: Djalma R. d. S. F. <drs...@gm...> - 2011-03-15 15:28:54
|
Hi, > 1>e:\cpp_libs\quickfix\src\c++\LIBXML_DOMDocument.h(32): fatal error C1083: > Cannot open include file: 'libxml/xmlmemory.h': No such file or directory LibXML is an open source project, you must download the lib, install it and change some VC++ directory settings in order to be able to compile quickfix in MSVC without MSXML. http://www.zlatkovic.com/libxml.en.html > 1>MSXML_DOMDocument.cpp(22): fatal error C1083: Cannot open include file: > 'atlbase.h': No such file or directory > Here, the same problem because ATL is not available Do the following modification to get rid of ATL headers when HAVE_LIBXML is #defined. #ifdef _MSC_VER #include "stdafx.h" //#include <atlbase.h> //#include <atlconv.h> #else #include "config.h" #endif #include "CallStack.h" #if (HAVE_LIBXML == 0 && _MSC_VER > 0) #include <atlbase.h> #include <atlconv.h> #include "MSXML_DOMDocument.h" #include <sstream> On Tue, Mar 15, 2011 at 12:11 AM, asif saeed <asi...@gm...> wrote: > Hi Djalma, > > I did as you suggested. However, I am getting different errors now: > > =============================================================================================== > 1>e:\cpp_libs\quickfix\src\c++\LIBXML_DOMDocument.h(32): fatal error C1083: > Cannot open include file: 'libxml/xmlmemory.h': No such file or directory > > 1>MSXML_DOMDocument.cpp(22): fatal error C1083: Cannot open include file: > 'atlbase.h': No such file or directory > =============================================================================================== > > > Goes without saying that I'd be thankful to the group if you guys help me > use VC Express 2010 with QuickFix. I am a newbie to QuickFix. > > Regards / Asif > > > > On Mon, Mar 14, 2011 at 8:16 PM, Djalma Rosa dos Santos Filho > <drs...@gm...> wrote: >> >> QuickFIX Documentation: >> http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> > 2>LIBXML_DOMDocument.cpp(22): fatal error C1083: Cannot open include >> > file: 'atlbase.h': No such file or directory >> >> The problem here is that ATL is not available in the VC express edition. >> >> Go to config_windows.h and #define HAVE_LIBXML 1. >> >> I just can't see a reason to #include altbase.h and atlconv.h in >> LIBXML_DOMDocument.cpp, so I suggest that you try to remove them. >> >> >> .On Mon, Mar 14, 2011 at 7:50 AM, asif saeed <asi...@gm...> wrote: >> > QuickFIX Documentation: >> > http://www.quickfixengine.org/quickfix/doc/html/index.html >> > QuickFIX Support: http://www.quickfixengine.org/services.html >> > >> > >> > Hi, >> > >> > I am a newbie to QuickFix. I get the following errors when I try to load >> > quickfix_vs10.sln in Visual C++ 2010 Express: >> > >> > >> > ================================================================================================================================= >> > E:\cpp_libs\quickfix\src\.NET\quickfix_net_messages_vs10.csproj cannot >> > be opened because its project type (.csproj) is not supported by this >> > version of the application. >> > >> > >> > E:\cpp_libs\quickfix\examples\executor\csharp\example_executor_csharp_vs10.csproj >> > cannot be opened because its project type (.csproj) is not supported by this >> > version of the application. >> > >> > >> > E:\cpp_libs\quickfix\examples\executor\vbnet\example_executor_vbnet_vs10.vbproj >> > cannot be opened because its project type (.vbproj) is not supported by this >> > version of the application. >> > >> > E:\cpp_libs\quickfix\src\test_performance_net_vs10.csproj cannot be >> > opened because its project type (.csproj) is not supported by this version >> > of the application. >> > >> > E:\cpp_libs\quickfix\src\test_unit_net_vs10.csproj cannot be opened >> > because its project type (.csproj) is not supported by this version of the >> > application. >> > >> > E:\cpp_libs\quickfix\src\test_acceptance_net_vs10.csproj cannot be >> > opened because its project type (.csproj) is not supported by this version >> > of the application. >> > >> > >> > ================================================================================================================================= >> > >> > Since the above errors are all related to projects specific to >> > .Net/CSharp/VB.Net, I loaded the solution nonetheless but building the >> > solution results in the following errors: >> > >> > >> > ================================================================================================================================= >> > 1>------ Build started: Project: UnitTest++_vs10, Configuration: Debug >> > Win32 ------ >> > 2>------ Build started: Project: quickfix_vs10, Configuration: Debug >> > Win32 ------ >> > 2> Acceptor.cpp >> > 1> XmlTestReporter.cpp >> > 1> TimeConstraint.cpp >> > 1> TestRunner.cpp >> > 1> TestResults.cpp >> > 1> TestReporterStdout.cpp >> > 1> TestReporter.cpp >> > 1> TestList.cpp >> > 1> TestDetails.cpp >> > 1> Test.cpp >> > 1> ReportAssert.cpp >> > 1> MemoryOutStream.cpp >> > 1> DeferredTestResult.cpp >> > 1> DeferredTestReporter.cpp >> > 1> CurrentTest.cpp >> > 1> Checks.cpp >> > 1> AssertException.cpp >> > 1> TimeHelpers.cpp >> > 1> Generating Code... >> > 2> CallStack.cpp >> > 1> UnitTest++_vs10.vcxproj -> >> > E:\cpp_libs\quickfix\lib\debug\UnitTest++_vs10.lib >> > 3>------ Build started: Project: test_acceptance_runner_vs10, >> > Configuration: Debug Win32 ------ >> > 3> getopt.c >> > 3> main.cpp >> > 2> DataDictionary.cpp >> > 3> Process.cpp >> > 3> ProcessTestCase.cpp >> > 3> Generating Code... >> > 3>UnitTest++_vs10.lib(TestRunner.obj) : warning LNK4075: ignoring >> > '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification >> > 3> test_acceptance_runner_vs10.vcxproj -> >> > E:\cpp_libs\quickfix\test\debug\at\atrun.exe >> > 2> DataDictionaryProvider.cpp >> > 2> Dictionary.cpp >> > 2> FieldMap.cpp >> > 2> FieldTypes.cpp >> > 2> FileLog.cpp >> > 2> FileStore.cpp >> > 2> Group.cpp >> > 2> HttpConnection.cpp >> > 2> HttpMessage.cpp >> > 2> HttpParser.cpp >> > 2> HttpServer.cpp >> > 2> Initiator.cpp >> > 2> LIBXML_DOMDocument.cpp >> > 2>LIBXML_DOMDocument.cpp(22): fatal error C1083: Cannot open include >> > file: 'atlbase.h': No such file or directory >> > 2> Log.cpp >> > 2> Message.cpp >> > 2> MessageSorters.cpp >> > 2> MessageStore.cpp >> > 2> Generating Code... >> > 2> Compiling... >> > 2> MSXML_DOMDocument.cpp >> > 2>MSXML_DOMDocument.cpp(22): fatal error C1083: Cannot open include >> > file: 'atlbase.h': No such file or directory >> > 2> MySQLLog.cpp >> > 2> MySQLStore.cpp >> > 2> NullStore.cpp >> > 2> OdbcLog.cpp >> > 2> OdbcStore.cpp >> > 2> Parser.cpp >> > 2> PostgreSQLLog.cpp >> > 2> PostgreSQLStore.cpp >> > 2> Session.cpp >> > 2> SessionFactory.cpp >> > 2> SessionSettings.cpp >> > 2> Settings.cpp >> > 2> SocketAcceptor.cpp >> > 2> SocketConnection.cpp >> > 2> SocketConnector.cpp >> > 2> SocketInitiator.cpp >> > 2> SocketMonitor.cpp >> > 2> SocketServer.cpp >> > 2> ThreadedSocketAcceptor.cpp >> > 2> Generating Code... >> > 2> Compiling... >> > 2> ThreadedSocketConnection.cpp >> > 2> ThreadedSocketInitiator.cpp >> > 2> TimeRange.cpp >> > 2> Utility.cpp >> > 2> Generating Code... >> > 4>------ Build started: Project: test_unit_vs10, Configuration: Debug >> > Win32 ------ >> > 5>------ Build started: Project: test_performance_vs10, Configuration: >> > Debug Win32 ------ >> > 5> getopt.c >> > 4> DataDictionaryTestCase.cpp >> > 5> pt.cpp >> > 4> DictionaryTestCase.cpp >> > 5>LINK : fatal error LNK1181: cannot open input file 'quickfix.lib' >> > 4> FieldBaseTestCase.cpp >> > 6>------ Build started: Project: test_acceptance_vs10, Configuration: >> > Debug Win32 ------ >> > 6> at.cpp >> > 4> FieldConvertorsTestCase.cpp >> > 4> FileLogTestCase.cpp >> > 4> FileStoreFactoryTestCase.cpp >> > 6>LINK : fatal error LNK1181: cannot open input file 'quickfix.lib' >> > 7>------ Build started: Project: quickfix_net_vs10, Configuration: Debug >> > Win32 ------ >> > 7>cl : Command line warning D9035: option 'clr:oldsyntax' has been >> > deprecated and will be removed in a future release >> > 7> Stdafx.cpp >> > 7>cl : Command line warning D9035: option 'clr:oldsyntax' has been >> > deprecated and will be removed in a future release >> > 7> AssemblyInfo.cpp >> > 7> CPPMessageStore.cpp >> > 4> FileStoreTestCase.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> FieldMap.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> Fields.cpp >> > 4> FileUtilitiesTestCase.cpp >> > 7> FileLog.cpp >> > 4> GroupTestCase.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\SessionID.h(28): fatal error C1083: >> > Cannot open include file: 'quickfix/SessionID.h': No such file or directory >> > 7> FileMessageStore.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> Group.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> MemoryMessageStore.cpp >> > 4> HttpMessageTestCase.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> Message.cpp >> > 4> HttpParserTestCase.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> MessageStore.cpp >> > 4> MemoryStoreTestCase.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> MessageStoreFactory.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> MySQLLog.cpp >> > 7> MySQLStore.cpp >> > 7> OdbcLog.cpp >> > 4> MessageSortersTestCase.cpp >> > 7> OdbcStore.cpp >> > 7> PostgreSQLLog.cpp >> > 7> PostgreSQLStore.cpp >> > 4> MessagesTestCase.cpp >> > 7> quickfix_net.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> ScreenLog.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\SessionID.h(28): fatal error C1083: >> > Cannot open include file: 'quickfix/SessionID.h': No such file or directory >> > 7> Session.cpp >> > 7>e:\cpp_libs\quickfix\src\.net\Exceptions.h(29): fatal error C1083: >> > Cannot open include file: 'quickfix/exceptions.h': No such file or directory >> > 7> Generating Code... >> > 4> MySQLStoreTestCase.cpp >> > 4> NullStoreTestCase.cpp >> > 8>------ Build started: Project: example_tradeclient_vs10, >> > Configuration: Debug Win32 ------ >> > 8> Application.cpp >> > 8>e:\cpp_libs\quickfix\examples\tradeclient\application.h(25): fatal >> > error C1083: Cannot open include file: 'quickfix/Application.h': No such >> > file or directory >> > 8> tradeclient.cpp >> > 8>e:\cpp_libs\quickfix\examples\tradeclient\tradeclient.cpp(26): fatal >> > error C1083: Cannot open include file: 'quickfix/FileStore.h': No such file >> > or directory >> > 8> Generating Code... >> > 9>------ Build started: Project: example_ordermatch_vs10, Configuration: >> > Debug Win32 ------ >> > 9> Application.cpp >> > 9>e:\cpp_libs\quickfix\examples\ordermatch\application.h(31): fatal >> > error C1083: Cannot open include file: 'quickfix/Application.h': No such >> > file or directory >> > 9> Market.cpp >> > 9> ordermatch.cpp >> > 9>e:\cpp_libs\quickfix\examples\ordermatch\ordermatch.cpp(26): fatal >> > error C1083: Cannot open include file: 'quickfix/FileStore.h': No such file >> > or directory >> > 9> Generating Code... >> > 10>------ Build started: Project: example_executor_cpp_vs10, >> > Configuration: Debug Win32 ------ >> > 10> Application.cpp >> > 10>e:\cpp_libs\quickfix\examples\executor\c++\application.h(25): fatal >> > error C1083: Cannot open include file: 'quickfix/Application.h': No such >> > file or directory >> > 10> executor.cpp >> > 10>e:\cpp_libs\quickfix\examples\executor\c++\executor.cpp(26): fatal >> > error C1083: Cannot open include file: 'quickfix/FileStore.h': No such file >> > or directory >> > 10> Generating Code... >> > 4> OdbcStoreTestCase.cpp >> > 4> ParserTestCase.cpp >> > 4> PostgreSQLStoreTestCase.cpp >> > 4> SessionIDTestCase.cpp >> > 4> Generating Code... >> > 4> Compiling... >> > 4> SessionSettingsTestCase.cpp >> > 4> SessionTestCase.cpp >> > 4> SettingsTestCase.cpp >> > 4> SocketAcceptorTestCase.cpp >> > 4> SocketConnectorTestCase.cpp >> > 4> SocketServerTestCase.cpp >> > 4> StringUtilitiesTestCase.cpp >> > 4> TestHelper.cpp >> > 4> TimeRangeTestCase.cpp >> > 4> ut.cpp >> > 4> UtcTimeOnlyTestCase.cpp >> > 4> UtcTimeStampTestCase.cpp >> > 4> Generating Code... >> > 4> getopt.c >> > 4>LINK : fatal error LNK1181: cannot open input file 'quickfix.lib' >> > ========== Build: 2 succeeded, 8 failed, 0 up-to-date, 0 skipped >> > ========== >> > >> > >> > ================================================================================================================================= >> > >> > Any help/hints as to what is going on? >> > >> > Best regards / Asif >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Colocation vs. Managed Hosting >> > A question and answer guide to determining the best fit >> > for your organization - today and in the future. >> > http://p.sf.net/sfu/internap-sfd2d >> > _______________________________________________ >> > Quickfix-users mailing list >> > Qui...@li... >> > https://lists.sourceforge.net/lists/listinfo/quickfix-users >> > >> > >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |