标签:leveldb
Windows下编译LevelDB
flyfish 2015-7-8
配置
需要Boost库支持,需要先将Boost库编译为64位版本#ifndef STORAGE_LEVELDB_PORT_PORT_H_ #define STORAGE_LEVELDB_PORT_PORT_H_ #include <string.h> // Include the appropriate platform specific file below. If you are // porting to a new platform, see "port_example.h" for documentation // of what the new port_<platform>.h file must provide. #if defined(LEVELDB_PLATFORM_POSIX) # include "port/port_posix.h" #elif defined(LEVELDB_PLATFORM_CHROMIUM) # include "port/port_chromium.h" #elif defined(LEVELDB_PLATFORM_ANDROID) # include "port/port_android.h" #elif defined(LEVELDB_PLATFORM_WINDOWS)// 新增部分 # include "port/port_win.h" #endif // STORAGE_LEVELDB_PORT_PORT_H_ #endif
编译生成64位的lib
已编译好源码和库文件下载地址
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:leveldb
原文地址:http://blog.csdn.net/flyfish1986/article/details/46806893