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

Cannot find source file 'server/skv_local_kv_auto.cpp' #55

Open
lxq opened this issue Jan 26, 2016 · 3 comments
Open

Cannot find source file 'server/skv_local_kv_auto.cpp' #55

lxq opened this issue Jan 26, 2016 · 3 comments

Comments

@lxq
Copy link

lxq commented Jan 26, 2016

cmake error infomation is belowing:
CMake Error at CMake/common/TargetHooks.cmake:20 (_add_executable):
Cannot find source file:
server/skv_local_kv_auto.cpp
What's wrong?

@lasch
Copy link
Contributor

lasch commented Jan 26, 2016

Thanks for reporting this.
This sounds like an issue in our CMakeLists.txt.
Did you set SKV_LOCAL_KV_BACKEND on the cmake command line to "auto"?
Please provide your cmake command line so that I can reproduce.
Thanks.

@lxq
Copy link
Author

lxq commented Feb 1, 2016

Yes, you are right. It needs to set SKV_LOCAL_KV_BACKEND, e.g, rocksdb.
So, I close the issue.

@lxq lxq closed this as completed Feb 1, 2016
@lasch
Copy link
Contributor

lasch commented Feb 1, 2016

Glad to hear that you found a way to build.
I'll reopen the issue because we obviously have a problem in the SKV cmake files and those should be fixed and/or documented.

In case anyone else stumbles over this, a workaround is to set SKV_LOCAL_KV_BACKEND to either rocksdb, inmem, or asyncmem
#> cmake -DSKV_LOCAL_KV_BACKEND=<asyncmem|inmem|rocksdb>

Thanks.

@lasch lasch reopened this Feb 1, 2016
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

2 participants