Hi all, We are trying to use a C++ hbase client to access hbase service. We
found https://github.com/apache/hbase-native-client may be what we needs. After
prepared the building environment and successfully excuted ‘cmake .’ , the
error occurred during processing ‘make -j’.
Error info :
[ 4%] Built target boost
[ 4%] Built target ZooKeeper
[ 6%] Built target facebook-folly-proj
[ 8%] Built target facebook-wangle-proj
[ 8%] Building CXX object
CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o
[ 9%] Building CXX object
CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o
/usr/src/hbase/hbase-native-client/src/hbase/serde/rpc-serde.cc:32:27: fatal
error: utils/version.h: No such file or directory
compilation terminated.
CMakeFiles/hbaseclient-static.dir/build.make:2254: recipe for target
'CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o' failed
make[2]: *** [CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o]
Error 1
CMakeFiles/Makefile2:107: recipe for target
'CMakeFiles/hbaseclient-static.dir/all' failed
make[1]: *** [CMakeFiles/hbaseclient-static.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/src/hbase/hbase-native-client/src/hbase/serde/rpc-serde.cc:32:27: fatal
error: utils/version.h: No such file or directory
compilation terminated.
CMakeFiles/hbaseclient-shared.dir/build.make:2254: recipe for target
'CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o' failed
make[2]: *** [CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o]
Error 1
CMakeFiles/Makefile2:599: recipe for target
'CMakeFiles/hbaseclient-shared.dir/all' failed
make[1]: *** [CMakeFiles/hbaseclient-shared.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
According to the error info, It seems forget to put utils/version.h into
including directories. I tried to find the version.h but failed. Have anyone
successfully built this C++ client library? Any advice would be appreciated.
Thanks,
Mintao