enewhuis / liquibook

Modern C++ order matching engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors when trying to build on windows

drormik opened this issue · comments

Hi!

question I was hoping someone knowledgeable could assist when building liquibook on windows 7 (64 bit)

I'm trying to build on windows using the command:

mwc.pl -type vc10 liquibook.mwc

for some reason i'm getting the error below about QuickFASTApplication, and depth_feed_publisher,mpc (which does exist) :

c:\GitHub\liquibook>C:\ACE_wrappers\bin\mwc.pl -type vc10 liquibook.mwc
MPC_ROOT was set to C:\ACE_wrappers\MPC.
Using C:/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
CIAO_ROOT was used in the configuration file, but was not defined.
DANCE_ROOT was used in the configuration file, but was not defined.
Generating 'vc10' output using liquibook.mwc
WARNING: liquibook.mwc: Command line files specified in a workspace are ignored.

Skipping ut_order_book_shared_ptr (liquibook_unit.mpc), it requires boost.
depth_feed_publisher.mpc: line 2:
ERROR: Unable to locate parent: QuickFASTApplication
liquibook.mwc: line 5:
ERROR: Unable to process examples/depth_feed_publisher/depth_feed_publisher.mpc
ERROR: Unable to process: liquibook.mwc

What am I missing ?
do i need to download quickfix.dll / other ?

Many thanks
Dror

I see this as well. Will let you know when a fix is in place

The example is building, and should be present. It is outlined here http://ociweb.com/sett/settAug2013.html and itserlf requires QuickFAST.

I should be able to control this via the features file, but it is not set up properly.

I have the same issues too.

But In VS2012 I just Right click Solution, click "Add existing project", select liquibook_book.vcxproj. Right click Solution again and click "Update project" (or something like that) to convert project from VS2010 to VS2012.

Now It seems liquibook is inside my solution and I can use it as static library.

Thanks javapowered, I didn't know that .
Jeff, maybe you could update the "Windows Build Notes" and replace it with the above + add "build solution" by pressing F7 (Build menu-> build solution option)

From your description, I don't think this will fix the issue. You likely don't have any vcxproj files since the mwc command failed.

I guess probably only "example" was not built, because it depends on QuickFAST. But liquibook itself and tests was built successfully.

I did find a liquibook_book.vcxproj in the liquibook\src\book folder
so i guess it is as javapowered commented , that it was created though the error appeared.

I now understand that i dodn't download the quickfast src files. or should i use the binary for windows ?
Could anyone advise - where should i place them in order for the mwc.pl stage to run properly ?

Many thanks
Dror Mikdash

The quickfast build instructions should indicate that you should define
QUICKFAST_ROOT or QUICKFASTROOT to point to the location.

jeff

On Tue, Nov 26, 2013 at 2:23 AM, drormik notifications@github.com wrote:

I did find a liquibook_book.vcxproj in the liquibook\src\book folder
so i guess it is as javapowered commented , that it was created though the
error appeared.

I now understand that i dodn't download the quickfast src files. or should
i use the binary for windows ?
Could anyone advise - where should i place them in order for the mwc.plstage to run properly ?

Many thanks
Dror Mikdash


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-29274447
.

Thanks Jeff, this did the trick !
The part about QUICKFAST_ROOT was not mentioned as far as i've seen
From the readme:
"Make sure the %BOOST_ROOT% and %MPC_ROOT% environment variables are set"

commented

Yes, The document and build instructions are so scarce.

I meet the problem too but don't know how to fix it.

$ mwc.pl -type make liquibook.mwc
Generating 'make' output using liquibook.mwc
WARNING: liquibook.mwc: Command line files specified in a workspace are ignored.
Skipping ut_order_book_shared_ptr (liquibook_unit.mpc), it requires boost.
depth_feed_publisher.mpc: line 2:
ERROR: Unable to locate parent: QuickFASTApplication
liquibook.mwc: line 5:
ERROR: Unable to process examples/depth_feed_publisher/depth_feed_publisher.mpc
ERROR: Unable to process: liquibook.mwc