Running db_bench.

90 views
Skip to first unread message

f201...@hyderabad.bits-pilani.ac.in

unread,
Apr 6, 2018, 8:37:40 AM4/6/18
to leveldb

Hey,
Could someone guide me how to run db_bench.cc. Compiling with g++ gives port.h not found error. Please see the attached image. Running on ubuntu subsystem for windows.

Regards

Shikhar Bharadwaj

Victor Costan

unread,
Apr 6, 2018, 10:02:43 AM4/6/18
to lev...@googlegroups.com
LevelDB now uses CMake. Try

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build .
cd ..
build/db_bench


--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages