tspooner / rl_markets

Market Making via Reinforcement Learning
https://arxiv.org/abs/1804.04216v1
BSD 3-Clause "New" or "Revised" License
313 stars 105 forks source link

Make bug on MacOS #13

Open LimingFang opened 4 years ago

LimingFang commented 4 years ago

My environment is MacOSX10.15 I met the following problem:

make[2]: *** No rule to make target `ext/yaml-cpp/src/yaml-cpp-build/libyaml-cpp.so', needed by `librl_engine.dylib'.  Stop.
make[1]: *** [src/CMakeFiles/rl_engine.dir/all] Error 2
make: *** [all] Error 2

I make this project successfully until i met this problem.

If more info is needed, just say it.

Thanks in advance. @tspooner

LimingFang commented 4 years ago

I wonder whether it can work if i build the yaml-cpp lib seperately and mannually. I could clone it from github and build seperately but i don't know how to use it directly.

LimingFang commented 4 years ago

But stangely, i tried it on linux(Ubuntu), i succeeded in that step

[ 83%] Building CXX object src/CMakeFiles/rl_engine.dir/utilities/csv.cpp.o
[ 85%] Linking CXX shared library ../librl_engine.so
[ 85%] Built target rl_engine
Scanning dependencies of target rl_markets
[ 87%] Building CXX object src/CMakeFiles/rl_markets.dir/main.cpp.o
[ 88%] Linking CXX executable ../rl_markets

But when i was going to make it

[ 88%] Built target rl_markets
Scanning dependencies of target do_tests
[ 90%] Building CXX object test/CMakeFiles/do_tests.dir/main.cpp.o
test/CMakeFiles/do_tests.dir/build.make:62: recipe for target 'test/CMakeFiles/do_tests.d\
ir/main.cpp.o' failed
CMakeFiles/Makefile2:314: recipe for target 'test/CMakeFiles/do_tests.dir/all' failed
Makefile:94: recipe for target 'all' failed

very sad.... If i don't make the "test" part,would it matter?

LimingFang commented 4 years ago

emmm,after tring it for several times, i make it zzzz.