Comments (17)
Hi,
I'm sorry to hear that, ususally Imageutilities should be much easier to install. We are using 14.04 and 16.04 with OpenCV 3.x (some installed it from source, but you can also use the built-in version of 16.04, the one of 14.04 is too old), CMake 3.2 or bigger.
The problem with your machine seems to be that OpenCV can not be found by CMake. If I do ccmake
instead of cmake
, I can see the following set variable: OpenCV_DIR=/usr/local/share/OpenCV
. How does it look on your machine?
And since this has nothing to do with this repo, it would be nice if we could go on in VLOGroup/imageutilities#5 and close this issue here.
from dvs-reconstruction.
ok, so i will use 16.04
for OpenCV, which version you are using? I found that if I use OpenCV3.1, I have to choose a branch that support cuda 8.0?
You are using CUDA 8? or 7.5?
Many thanks for advice. I really have to make this works!! thanks.
from dvs-reconstruction.
I'm using a self-compiled version of Opencv 3.2 and CUDA 8 on Ubuntu 16.04.
from dvs-reconstruction.
OK, for opencv 3.2,
I will refer to this guide:
http://docs.opencv.org/trunk/d7/d9f/tutorial_linux_install.html
I will run this to cmake.
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. -D BUILD_SHARED_LIBS=ON
Do you foresee that above steps will lead a failure?
Thank a lot.
from dvs-reconstruction.
This should work, I also built it with default parameters.
from dvs-reconstruction.
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. -D BUILD_SHARED_LIBS=ON
better to add this too?
-D BUILD_SHARED_LIBS=ON
thanks.
from dvs-reconstruction.
Yes, if it is not enabled by default.
from dvs-reconstruction.
ok, i will try from scratch and let me know the result, thank a lot.
from dvs-reconstruction.
16.04.2-desktop-amd64.iso , you are using 16.04.2?
from dvs-reconstruction.
14.04 but 16.04 will be fine
from dvs-reconstruction.
i am still installing new OS
my ccmake returned this, IU_USE_GUI is OFF ...
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
CUDA_HOST_COMPILER /usr/bin/cc
CUDA_SDK_ROOT_DIR CUDA_SDK_ROOT_DIR-NOTFOUND
CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda
CUDA_USE_STATIC_CUDA_RUNTIME ON
CUDA_rt_LIBRARY /usr/lib/x86_64-linux-gnu/librt.so
Eigen3_DIR Eigen3_DIR-NOTFOUND
IU_BUILD_STATIC OFF
IU_INSTALL_LOCAL ON
IU_USE_GUI OFF
IU_USE_IO ON
IU_USE_MATH ON
IU_USE_NDARRAY ON
OpenCV_DIR /usr/local/share/OpenCV
Qt5Core_DIR Qt5Core_DIR-NOTFOUND
Qt5OpenGL_DIR Qt5OpenGL_DIR-NOTFOUND
wait, let me update something,
CUDA_SDK_ROOT_DIR..
from dvs-reconstruction.
export IMAGEUTILITIES_ROOT=~/dvs/dvs-reconstruction/imageutilities
export CUDA_SDK_ROOT_DIR=/usr/local/cuda/samples
export OpenCV_DIR=/usr/local/share/OpenCV
~/dvs/dvs-reconstruction/imageutilities/build$ ccmake .
ccmake .
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /home/lscm/dvs/dvs-reconstruction/imageutilit
CUDA_HOST_COMPILER /usr/bin/cc
CUDA_SDK_ROOT_DIR CUDA_SDK_ROOT_DIR-NOTFOUND
CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda
CUDA_USE_STATIC_CUDA_RUNTIME ON
CUDA_rt_LIBRARY /usr/lib/x86_64-linux-gnu/librt.so
Eigen3_DIR Eigen3_DIR-NOTFOUND
IU_BUILD_STATIC OFF
IU_INSTALL_LOCAL ON
IU_USE_GUI OFF
IU_USE_IO ON
IU_USE_MATH ON
IU_USE_NDARRAY ON
OpenCV_DIR /usr/local/share/OpenCV
Qt5Core_DIR Qt5Core_DIR-NOTFOUND
Qt5OpenGL_DIR Qt5OpenGL_DIR-NOTFOUND
but i got this:
:/usr/local/cuda/samples$ ls
0_Simple 2_Graphics 4_Finance 6_Advanced common Makefile
1_Utilities 3_Imaging 5_Simulations 7_CUDALibraries EULA.txt
but i still got:
CUDA_SDK_ROOT_DIR CUDA_SDK_ROOT_DIR-NOTFOUND
from dvs-reconstruction.
Please set CUDA_SDK_ROOT_DIR
directly within ccmake
from dvs-reconstruction.
yes, i now tried to set CUDA_SDK_ROOT_DIR directly , and IU_USE_GUI ON directly, hope I can build it, I am really appreciated for your advice! many thanks.
from dvs-reconstruction.
seems like i cannot change IU_USE_GUI ON as "generate" set it back to off..
from dvs-reconstruction.
This means that either QT5 or OpenCV have not been found.
from dvs-reconstruction.
Let me move this thread to VLOGroup/imageutilities#5
from dvs-reconstruction.
Related Issues (16)
- A minimum of compute capability from 3.0 to 2.1 make sense to try? HOT 2
- error with boost HOT 7
- Unknown Cuda Error when running the GUI HOT 3
- Unable to launch live_reconstruction_gui HOT 3
- How to use offline_reconstruction for rosbags ? HOT 2
- Offline Reconstruction on GPU HOT 1
- does the dvs-reconstruction code need normal images as well, or the code just works with event data. HOT 2
- libcaer
- problem compiling the example HOT 4
- libcaer.so.2 not found HOT 2
- problem on installation: iuio marked as required but not found HOT 11
- meaning of the event/image on the UI? HOT 1
- Problem launching live_reconstruction_gui HOT 1
- Unable to launch live_reconstruction_gui HOT 5
- Building with the WITH_DAVIS set to ON still gives 128*128 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dvs-reconstruction.