stoneatom / stonedb

StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)
https://stonedb.io/
GNU General Public License v2.0
862 stars 139 forks source link

bug: make:error: 'kPathNotFound' is not a member of 'rocksdb::Statu'..... #76

Closed shangyanwen closed 2 years ago

shangyanwen commented 2 years ago

Describe the problem

[ 61%] Building CXX object storage/stonedb/CMakeFiles/stonedb.dir/index/kv_store.cpp.o /home/stonedb/storage/stonedb/index/kv_store.cpp: In member function 'void stonedb::index::KVStore::Init()': /home/stonedb/storage/stonedb/index/kv_store.cpp:48:110: error: 'kPathNotFound' is not a member of 'rocksdb::Statu' !status.ok() && ((status.subcode() == rocksdb::Status::kNone) || (status.subcode() == rocksdb::Status::kPathNotFound)) ) ^~~~~~~~~~~~~ make[2]: *** [storage/stonedb/CMakeFiles/stonedb.dir/index/kv_store.cpp.o] Error 1 make[1]: *** [storage/stonedb/CMakeFiles/stonedb.dir/all] Error 2 make: *** [all] Error 2 [1]+ Exit 2 make Expected behavior

no error,make success How To Reproduce

please see:https://stoneatom.yuque.com/staff-ft8n1u/dghuxr/ro7qqw Environment

ubuntu 20.4 Additional context

no

shangyanwen commented 2 years ago

【resolve】Re-updating the dependency library solves the problem

RingsC commented 2 years ago

See the PR: #69 , and have fixed it.