I have followed the Windows Build instructions at
https://fix8engine.atlassian.net/wiki/display/FX/Building+and+running+on+Windows
However when I tried to build the solution and more specifically, the "compiler" project (using Visual Studio 2012), I encounter a chain of errors, as shown at the bottom part of the message. Just wondering does the error looks familiar to you guys and if anyone has any idea on what could have cause these errors. Really appreciate it if someone can point me in the right direction. Thank you.
Error 6 error C2039: 'memchr' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 546 1 compiler
Error 2 error C2039: 'memcmp' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 517 1 compiler
Error 8 error C2039: 'memset' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 559 1 compiler
Error 4 error C2039: 'strlen' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 523 1 compiler
Error 7 error C3861: 'memchr': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 546 1 compiler
Error 3 error C3861: 'memcmp': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 517 1 compiler
Error 9 error C3861: 'memset': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 559 1 compiler
Error 5 error C3861: 'strlen': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\iosfwd 523 1 compiler
Error 1 error MSB3073: The command "copy C:\Users\Genk Capital\Desktop\fix8-1.0.0\msvc\\f8config_msvc.h C:\Users\Genk Capital\Desktop\fix8-1.0.0\msvc\\..\include\f8config.h
:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 124 5 runtime
Error 92 error C1903: unable to recover from previous error(s); stopping compilation c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 190 1 compiler
Error 40 error C2059: syntax error : '<' c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 21 1 compiler
Error 46 error C2086: 'int std::basic_string' : redefinition c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 49 1 compiler
Error 84 error C2143: syntax error : missing ',' before '<' c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 166 1 compiler
Error 41 error C2143: syntax error : missing ';' before '{' c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 38 1 compiler
Error 36 error C2143: syntax error : missing ';' before '<' c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 21 1 compiler
Error 37 error C2433: 'basic_string' : 'inline' not permitted on data declarations c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 21 1 compiler
Error 42 error C2447: '{' : missing function header (old-style formal list?) c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 38 1 compiler
Error 85 error C2803: 'operator ==' must have at least one formal parameter of class type c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 170 1 compiler
Error 86 error C2805: binary 'operator ==' has too few parameters c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 170 1 compiler
Error 39 error C2988: unrecognizable template declaration/definition c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 21 1 compiler
Error 38 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files (x86)\microsoft visual studio 11.0\vc\include\string 21 1 compiler
Error 30 error C2039: 'memchr' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 3193 1 compiler
Error 22 error C2039: 'memcmp' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 2964 1 compiler
Error 10 error C2039: 'memset' : is not a member of '`global namespace'' c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 2651 1 compiler
Error 31 error C3861: 'memchr': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 3193 1 compiler
Error 23 error C3861: 'memcmp': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 2964 1 compiler
Error 11 error C3861: 'memset': identifier not found c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility 2651 1 compiler
1>------ Build started: Project: f8lib_prebuild, Configuration: Release Win32 ------ *** this is for GetOpt
1> The system cannot find the path specified.
*** 1> C:\Dependency\poco-1.4.6p2\bin\PocoFoundation.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoFoundationd.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoNet.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoNetd.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoUtil.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoUtild.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoXML.dll 1> C:\Dependency\poco-1.4.6p2\bin\PocoXMLd.dll 1> 8 file(s) copied.
*** This is for TBB 1> The system cannot find the path specified.
Hi Sergey,
I encountered the following error while running the f8test.exe program.
C:\fix8-1.1.0_new\msvc\Win32\bin\Debug>f8testd.exe -s
'now' is not recognized as an internal or external command,operable program or batch file.'now' is not recognized as an internal or external command,operable program or batch file.exception: Invalid argument
It gives a "exception: Invalid argument", which doesn't have very much info for me to work on. Previously when I run there isn't this error. Now,even after I use the original code and xml files and compile them all over again this error keep cropping up, on both release and debug build. I wonder if you have any idea / clues of what can cause this problem?
Thanks,Jiefeng
On Thu, Apr 10, 2014 at 11:28 AM, Jiefeng Koh <jief...@gmail.com> wrote:
Hi Sergey,
Sorry for the newbie question in my last email. I guess the f8test project is what I am looking for. Please ignore my last email.
Regards,Jiefeng
---------- Forwarded message ----------
From: Jiefeng Koh <jief...@gmail.com>
Date: Thu, Apr 10, 2014 at 10:09 AM
Subject: Re: Windows compilation problem
To: Sergey Sedreev <ssed...@gmail.com>
Hi Sergey,
I am now also using TBB and managed to compile the compiler and generate the hpp and cpp files successfully. (I still can't get it to work without TBB). You have already helped me so much, I am not sure whether is it too much to ask for, but I will really appreciate it if you can send some examples (server, client) in VS projects / solution format. This will greatly speed up my learning curve.
Thanks again!
Regards,Jiefeng