Comments (14)
Oh that's a tipo it should be 3.2.92
from posecnn.
'Add nanoflann to the include dirs in cmake and sohpus to the include and link dirs'
may you tell me how to do this? when I run cmake in /kinect_fusion/include, it always says
No package 'nanoflann' found
I download the nanoflann and put it in the /lib
I have no idea how to deal with it.
from posecnn.
Installing cmake projects in general goes as follows. 1. mkdir build 2. cd build 3. cmake .. 4. make
Then you should have the binaries/library files in a dir and an include dir include both in your cmake at the right place. one can also use make install to put the files automatically in the right spot, but you'd have to do more research into that command(i think it takes a path to where to put the files), but it does the same I described above
from posecnn.
@Santranx I also faced that problem for nanoflann. I did this mkdir build -> cmake .. -> make -> make install
I guess the last step moved the necessary files to their correct places. After this, when I ran cmake .. for kinect_fusion it didn't show any problems anymore. I hope it helps. I am a newbie so if I made any mistake I would really appreciate if someone corrects me.
from posecnn.
Thank you, @Luedeke . This really helped. I am stuck at this line now:
Adapt boost_python and boost_numpy in Cmake line 98/99 to your library name when using boost and python 3.5 it is boost_python27 and boost_numpy27 or symlink these to boots_python and boost_numpy.
Could you please give me some details on how to do this.
Update:
Got it. In CMakeLists. txt in link_libraries() changed boost_python and boost_numpy to boost_python27 and boost_numpy27 respectively.
from posecnn.
@Kaju-Bubanja In your guide, you mentioned Eigen 3.3.9, however, only 3.3.5 is currently available.
from posecnn.
Hi @Kaju-Bubanja . With the Eigen version 3.2.9, CUDA8/CUDA10, TensorFlow 1.8, I am getting errors mentioned in #44
Did you face similar issues and if yes how did you fix it ?
from posecnn.
Try Cuda 9 it worked for me with cuda 9
from posecnn.
@Abdul-Mukit
Thats correct, for nanoflann eigen pangolin etc. you have to do:
mkdir build
cd build
cmake ..
make
sudo make install
or something similar, should be in the specific github repo.
from posecnn.
@Abdul-Mukit
Thanks, I didn't get that. But it wasn't necessary for me either.
Could you explain how they "installed" Boost? Does Boost have to be in a certain directory?
Could you tell me if your make.sh, kinect, synthesize builds how you installed opencv? With: pip install opencv-python or sudo apt-get install libopencv-dev or from source? I tried pip first, but make.sh and kinect_fusion didn't find opencv until I installed libopencv-dev with sudo apt-get install apt-get.
from posecnn.
@Luedeke . For boost, I downloaded the source files for 1.67 version from this link. Then installed it. If you are talking about the source code, then no, you don't need to put the source code at any specific directory. When you call "./b2 install" it takes care of putting required files in correct directories, I guess.
About opencv, I installed it from source. I downloaded the 3.4.4 version.
About kinect_fusion and synthesize, yes, I was able to build them.
I didn't run the make.sh yet, but yesterday, I found this fork where the instructions are in more detailed and also many corrections are already done in the codes. So, I am basically starting over. After reading all the instructions, I am a bit concerned about the GCC 4.8 requirement for ABI compatibility.
I also don't know how to implement this instruction for tackling the ABI Compatibility issues:
"To give you the above error already at compile time instead of runtime add following to the compile command: -Wl,-z,defs".
For now, I going with gcc5.4 and hoping for the best.
I hope this helps. It would be very helpful if you could suggest how can I implement the instruction I mentioned above.
from posecnn.
It was mentioned that:
Either all packages used need to be built with gcc 4.8.5 or if some use gcc 5 or above all above packages need following line added to the compilation: -D_GLIBCXX_USE_CXX11_ABI=0
in https://github.com/Kaju-Bubanja/PoseCNN
My question is: do we need to add this to: Eigen, Sophus, nanoflann, nlopt everything? I know that we have to add it to Pangolin according to yuxng/DA-RNN#7. But I am confused as to add this to every CMakeLists.
from posecnn.
@Abdul-Mukit thank you.
About: "To give you the above error already at compile time instead of runtime add following to the compile command: -Wl,-z,defs". I didnt need that it is working for me without that and I have no idea how i should do this.
I didn't have to build Eigen, Sophus, nanoflann, nlopt etc. with add_definiton(-D_GLIBCXX_USE_CXX11_ABI=0) only Pangolin and I built all of them with GCC 4.8.5.
So Im not sure about this Error, you have to try it sorry.
from posecnn.
I tried to make
the kinect_fusion
, but I met this error:
error
/data/poseCNN2/lib/kinect_fusion/./src/transform/nonrigid.cu(97): error: identifier "Eigen::Quaternion<float, (int)2> ::Quaternion" is undefined in device code
12 errors detected in the compilation of "/tmp/tmpxft_00003817_00000000-6_nonrigid.cpp1.ii".
# --error 0x1 --
CMake Error at kfusion_generated_nonrigid.cu.o.cmake:266 (message):
Error generating file
/data//poseCNN2/lib/kinect_fusion/build/CMakeFiles/kfusion.dir/src/transform/./kfusion_generated_nonrigid.cu.o
CMakeFiles/kinectFusion.dir/build.make:8563: recipe for target 'CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o' failed
make[2]: *** [CMakeFiles/kfusion.dir/src/transform/kfusion_generated_nonrigid.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kinectFusion.dir/all' failed
make[1]: *** [CMakeFiles/kinectFusion.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
How can I fix this error? thanks for help!
Update
I am trying eigen 3.3.90, I used Eigen 3.2.92 before .
the problem is solved !!!
from posecnn.
Related Issues (20)
- The YCB Video dataset cannot be downloaded HOT 2
- When running demo.sh: ImportError: No module named transforms3d.quaternions HOT 1
- ImportError: undefined symbol: PyUnicode_AsUTF8String when use ./experiments/scripts/lov_color_2d_train.sh 0 HOT 2
- What is the purpose of refinement?
- Any docker image?
- custom dataset HOT 2
- error while running the demo HOT 1
- Make.sh: Protoc error
- [Install Pangolin] excute command : cmake . . (Error like this) HOT 1
- ImportError: /home/siat/code/PoseCNN-master/lib/synthesize/build/libsynthesizer.so: undefined symbol: _ZN5boost6python9converter21object_manager_traitsINS0_5numpy7ndarrayEE10get_pytypeEv HOT 1
- Build synthesize;CMake Error at CMakeLists.txt:22 (find_package) ; Could not find a package configuration file provided by "PCL"
- pangolin::GlBuffer::GlBuffer
- vgg16_fcn_color_single_frame_2d_pose_add_lov_iter_160000.ckpt
- no box field in gt_box_blob[0, 1:] = gt['box'][j, :]
- How are the 3D object models generated?
- format of the YCB dataset: trainval txt.
- GT pose of the YCB dataset is strange
- Meaning of ROI
- YCB-Video dataset is not available HOT 1
- Is it possible to run on Windows?
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 posecnn.