-
Notifications
You must be signed in to change notification settings - Fork 119
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
Installing leveldb failed #12
Comments
Depends on what you want. LevelDB python bindings are not installed by caffe-builder. The exe you mention are there because caffe requires leveldb c++ and pycaffe requires both leveldb c++ and pyleveldb. Please see BVLC/caffe#15 and/or ask @lunzueta or @happynear for help on getting pyleveldb installed. |
Building On Tue, Sep 15, 2015 at 11:36 PM Guillaume Dumont notifications@github.com
Regards, |
@davidshen84 If you cannot read it. Try this repository: |
@happynear I have build |
My working environment is Windows 8 64 bit, VS 2012, leveldb 0.193. I added these lines to the
And made some other changed by following the blog. The error message I got was:
The ? are literal...so I have no idea what it is. |
@davidshen84 |
Indeed it helps. Thanks a lot! On Wed, Sep 16, 2015 at 5:26 PM Feng Wang notifications@github.com wrote:
Regards, |
A CMake version to compile python leveldb wrapper under Windows using Caffe-builder dependencies: |
@vfdev-5 |
@vfdev-5 Thanks. I might consider integrating this in caffe-builder at some point. |
@willyd I am trying to integrate @vfdev-5 's work into Now I could not find a way to pass some arguments to your Please kindly advice. Thanks, |
If you modify the file cmake/packages/leveldb.cmake
it does not work ? |
@vfdev-5 MSVC does not accept build type in configuration, it has to be specified at build type. So I guess it won't work. But I saw you were using nmake. Maybe it works with nmake. But I will have to find a way to let nmake build in 32/64 bit mode. |
The way to choose 32 or 64 bit mode can be defined, for example, with On Mon, Dec 28, 2015 at 1:32 PM, Xi Shen notifications@github.com wrote:
|
But I prefer not to relay on the .bat file. I want to integrate the On Mon, Dec 28, 2015 at 10:15 PM vfdev notifications@github.com wrote:
Regards, |
@vfdev-5 do you know why we want to enforce build a Debug version? I am trying to find a way to only build a Release version for my pyleveldb project, without changing https://github.com/willyd/caffe-builder/blob/master/cmake/buildem_cmake_recipe.cmake#L36. |
Hi @davidshen84 why not add an option like this: option(BUILD_DEBUG_AND_RELEASE "Build debug and release simultaneously" ON)
if(MSVC AND BUILD_DEBUG_AND_RELEASE)
externalproject_add_step(${_name} BuildOtherConfig
COMMAND ${CMAKE_COMMAND} --build ${BINARY_DIR} --config "$<$<CONFIG:Debug>:Release>$<$<CONFIG:Release>:Debug>" --target INSTALL
DEPENDEES install
)
endif() and then you can disable this option on the command-line how does that sound? |
Hi @guillaume, I see. I will try that out. Thanks, On Mon, Jan 4, 2016 at 11:32 PM Guillaume Dumont notifications@github.com
Regards, |
I know it is not your fault. When I execute
in the
python
directory, I got error thatleveldb
failed to install. But I saw in the./install/bin
directory that I have:So, maybe I do not need to use pip to install
leveldb
again? Care to comment on this?The text was updated successfully, but these errors were encountered: