Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bug on MacOS #13

Open
LimingFang opened this issue Apr 21, 2020 · 3 comments
Open

Make bug on MacOS #13

LimingFang opened this issue Apr 21, 2020 · 3 comments

Comments

@LimingFang
Copy link

LimingFang commented Apr 21, 2020

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
Copy link
Author

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
Copy link
Author

LimingFang commented Apr 21, 2020

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant