Building in Visual Studio 2017

149 views
Skip to first unread message

Tomasz Jackowski

unread,
Mar 21, 2018, 4:32:44 PM3/21/18
to fix8 developer
Hello,
I just cloned the project and I am trying to build the solution using Visual Studio 2017. I got the following errors (see below). So may question is whether there is a complete setup for Visual Studio that successfully builds the project?
Thanks
Tom
PS
I am new here so pardon me if I am asking a question that may have been already answered.

Severity Code Description Project File Line Suppression State
Error LNK1104 cannot open file 'fix8d.lib' compiler F:\Transfer\users\tjackow\Prj\fix8\msvc\LINK 1
Error LNK1104 cannot open file 'PocoFoundationd.lib' fix8 F:\Transfer\users\tjackow\Prj\fix8\msvc\LINK 1
Error C1083 Cannot open include file: 'Myfix_types.hpp': No such file or directory harness f:\transfer\users\tjackow\prj\fix8\test\harness.cpp 123
Error C1083 Cannot open include file: 'Myfix_types.hpp': No such file or directory f8test f:\transfer\users\tjackow\prj\fix8\test\myfix.cpp 128
Error C1083 Cannot open include file: 'Myfix_types.hpp': No such file or directory f8print f:\transfer\users\tjackow\prj\fix8\test\myprint.cpp 88
Error C1083 Cannot open include file: 'Perf_types.hpp': No such file or directory hftest f:\transfer\users\tjackow\prj\fix8\test\hftest.cpp 122
Error C1083 Cannot open include file: 'Perf_types.hpp': No such file or directory hfprint f:\transfer\users\tjackow\prj\fix8\test\hfprint.cpp 88
Error C1083 Cannot open include file: 'utest_types.hpp': No such file or directory filePersister f:\transfer\users\tjackow\prj\fix8\utests\filepersister_test.cpp 45
Error C1083 Cannot open include file: 'utest_types.hpp': No such file or directory fileLogger f:\transfer\users\tjackow\prj\fix8\utests\filelogger_test.cpp 45
Error C1083 Cannot open include file: 'utest_types.hpp': No such file or directory messageTest f:\transfer\users\tjackow\prj\fix8\utests\message_test.cpp 41
Error C1083 Cannot open include file: 'utest_types.hpp': No such file or directory sessionTest f:\transfer\users\tjackow\prj\fix8\utests\session_test.cpp 48
Error (active) E1696 cannot open source file "getopt.h" compiler f:\Transfer\users\tjackow\Prj\fix8\compiler\f8c.cpp 85
Error (active) E1696 cannot open source file "openssl/ssl.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\configuration.hpp 41
Error (active) E1696 cannot open source file "Poco/DateTime.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 46
Error (active) E1696 cannot open source file "Poco/DateTime.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\field.hpp 41
Error (active) E1696 cannot open source file "Poco/Exception.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 60
Error (active) E1696 cannot open source file "Poco/Net/DatagramSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\logger.hpp 43
Error (active) E1696 cannot open source file "Poco/Net/InvalidCertificateHandler.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 46
Error (active) E1696 cannot open source file "Poco/Net/IPAddress.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\logger.hpp 42
Error (active) E1696 cannot open source file "Poco/Net/NetException.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\connection.hpp 42
Error (active) E1696 cannot open source file "Poco/Net/PrivateKeyPassphraseHandler.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 45
Error (active) E1696 cannot open source file "Poco/Net/SecureServerSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 43
Error (active) E1696 cannot open source file "Poco/Net/SecureStreamSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 42
Error (active) E1696 cannot open source file "Poco/Net/ServerSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 40
Error (active) E1696 cannot open source file "Poco/Net/SocketAddress.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 47
Error (active) E1696 cannot open source file "Poco/Net/SSLManager.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 47
Error (active) E1696 cannot open source file "Poco/Net/StreamSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\connection.hpp 40
Error (active) E1696 cannot open source file "Poco/Net/StreamSocket.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\session.hpp 40
Error (active) E1696 cannot open source file "Poco/RegularExpression.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8includes.hpp 53
Error (active) E1696 cannot open source file "Poco/RegularExpression.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 59
Error (active) E1696 cannot open source file "Poco/SharedPtr.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 44
Error (active) E1696 cannot open source file "Poco/Timespan.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\connection.hpp 41
Error (active) E1696 cannot open source file "Poco/Timestamp.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\field.hpp 40
Error (active) E1696 cannot open source file "tbb/concurrent_queue.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\mpmc.hpp 47
Error (active) E1696 cannot open source file "tbb/tbbmalloc_proxy.h" compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8includes.hpp 66
Error C1083 Cannot open source file: '..\stocklib\FIX40_classes.cpp': No such file or directory fix40 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX40_traits.cpp': No such file or directory fix40 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX40_types.cpp': No such file or directory fix40 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX41_classes.cpp': No such file or directory fix41 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX41_traits.cpp': No such file or directory fix41 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX41_types.cpp': No such file or directory fix41 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX42_classes.cpp': No such file or directory fix42 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX42_traits.cpp': No such file or directory fix42 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX42_types.cpp': No such file or directory fix42 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX43_classes.cpp': No such file or directory fix43 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX43_traits.cpp': No such file or directory fix43 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX43_types.cpp': No such file or directory fix43 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX44_classes.cpp': No such file or directory fix44 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX44_traits.cpp': No such file or directory fix44 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX44_types.cpp': No such file or directory fix44 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP1_classes.cpp': No such file or directory fix50sp1 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP1_traits.cpp': No such file or directory fix50sp1 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP1_types.cpp': No such file or directory fix50sp1 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP2_classes.cpp': No such file or directory fix50sp2 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP2_traits.cpp': No such file or directory fix50sp2 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50SP2_types.cpp': No such file or directory fix50sp2 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50_classes.cpp': No such file or directory fix50 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50_traits.cpp': No such file or directory fix50 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\stocklib\FIX50_types.cpp': No such file or directory fix50 F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Myfix_classes.cpp': No such file or directory f8testlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Myfix_traits.cpp': No such file or directory f8testlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Myfix_types.cpp': No such file or directory f8testlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Perf_classes.cpp': No such file or directory hftestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Perf_traits.cpp': No such file or directory hftestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\test\Perf_types.cpp': No such file or directory hftestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\utests\utest_classes.cpp': No such file or directory utestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\utests\utest_traits.cpp': No such file or directory utestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error C1083 Cannot open source file: '..\utests\utest_types.cpp': No such file or directory utestlib F:\Transfer\users\tjackow\Prj\fix8\msvc\c1xx 1
Error (active) E0020 identifier "getopt_long" is undefined compiler f:\Transfer\users\tjackow\Prj\fix8\compiler\f8c.cpp 188
Error (active) E0020 identifier "optarg" is undefined compiler f:\Transfer\users\tjackow\Prj\fix8\compiler\f8c.cpp 209
Error (active) E0020 identifier "optind" is undefined compiler f:\Transfer\users\tjackow\Prj\fix8\compiler\f8c.cpp 235
Error (active) E0020 identifier "option" is undefined compiler f:\Transfer\users\tjackow\Prj\fix8\compiler\f8c.cpp 154
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 316
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\f8utils.hpp 379
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\session.hpp 181
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 502
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 524
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 524
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 530
Error (active) E0276 name followed by '::' must be a class or namespace name compiler f:\Transfer\users\tjackow\Prj\fix8\include\fix8\sessionwrapper.hpp 530

Sergey Sedreev

unread,
Mar 22, 2018, 8:39:26 AM3/22/18
to fix8 developer
Tomasz Jackowski,

VS2017 is supported in Fix8Pro package via MS vcpkg external libs build. Fix8 open source edition compiles on MS compilers up to VS2015 since it downloads 3rdparty libs from NuGet.org. Those libs were built with v120/v140 c++ compiler, but not v141 which is VS2017.

So to use fix8 open source under VS2017 you:
- either upgrade to Fix8Pro
- or create a pull request for all the 3rdparty deps uploaded to nuget built with v141
- or do not use nuget, link your fix8 directly to 3rdparty libs built locally: Poco, Tbb, Zmq, etc


среда, 21 марта 2018 г., 23:32:44 UTC+3 пользователь Tomasz Jackowski написал:
Reply all
Reply to author
Forward
0 new messages