Hi everyone, I'm sorry for the subject of the post I know there is nothing impossible but I'm really becoming crazy, 3 weeks I spend trying to compile this demo on ubuntu and i really can't, so I came here to see if somebody can help me, i really need to do this, I have been try everything, reinstalling ubuntu from the oldest version till the newest version, now I have ubuntu 15.04, and i can't compile RGBDemo, i follow this link to do it: https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204 and everything goes fine except when I try to compile the demo, this is the error that now i am having.
make[2]: Entering directory '/home/nano/RGBDemo-0.7.0-Source/build'
Linking CXX executable ../../../../../../bin/niLicense
cd /home/nano/RGBDemo-0.7.0-Source/build/nestk/deps/openni/Source/Utils/niLicense && /usr/bin/cmake -E cmake_link_script CMakeFiles/niLicense.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -g -DNDEBUG CMakeFiles/niLicense.dir/niLicense.cpp.o -o ../../../../../../bin/niLicense -L/home/nano/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64 -rdynamic ../../../../../../lib/libOpenNI.so -lusb-1.0 -ldl ../../../../../../lib/libTinyXml.a -Wl,-rpath,/home/nano/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64:/home/nano/RGBDemo-0.7.0-Source/build/lib
../../../../../../lib/libOpenNI.so: undefined reference to `shm_open'
../../../../../../lib/libOpenNI.so: undefined reference to `shm_unlink'
collect2: error: ld returned 1 exit status
nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/build.make:92: recipe for target 'bin/niLicense' failed
make[2]: *** [bin/niLicense] Error 1
make[2]: Leaving directory '/home/nano/RGBDemo-0.7.0-Source/build'
CMakeFiles/Makefile2:831: recipe for target 'nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/all' failed
make[1]: *** [nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/all] Error 2
make[1]: Leaving directory '/home/nano/RGBDemo-0.7.0-Source/build'
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Any suggestions? Somebody can help me to do this if it necessary from the start, I'll do anything to have working this on my pc, just tell me and I'll do.
Thanks a lot, and I'm sorry about my English.
Thanks
Did you follow some tutorial for ubuntu 12.04 that works, i try this one https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204 but had a lot of troubles.
Thanks for your help, i really need to compile this demo, all the help you can send to me to compile this demo will be apreciated.
Thanks again.
--
You received this message because you are subscribed to a topic in the Google Groups "rgbdemo" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rgbdemo/ltAUaEz8nuk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rgbdemo+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks a lot for your help, finally I could do it, have no errors compiling RGBDemo0.7 on ubuntu, but the goal of the work that I need to do it's make a reconstruction of a scene, like a room, or an object, so the app to run is the reconstructor, and would like to know if you can help me to do this, till now the only app that runs well is when I type ./rgbd-viewer --freenect, if I do the same for reconstructor ./rgbd-reconstructor --freenect, i get an error :
ASSERT failure in int main(int, char**): You must specify a calibration file (--calibration) [calib_data]
Aborted (core dumped)
I'm followig the book Hacking the kinect by Jeff Kramer, and says that pos installation i must to be able of see how the the images of color and depth doesn't match, but i get the error above, and I think that something is wrong because running all apps give the error:
Module filename: /tmp/qt_temp.XM3352
DBG: Loading module: ../lib/libnimMockNodes.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libnimCodecs.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libnimRecorder.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libXnDevicesSensorV2.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libXnDeviceFile.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libXnVFeatures.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
DBG: Loading module: ../lib/libXnVHandGenerator.so
DBG: Working directory: /home/nano/RGBDemo-0.7.0-Source/build/bin
Segmentation fault (core dumped)
So, i would like have more information about it, some manuals that you may know, all the information that allows me to a reconstruction and export it maybe as a .ply file or another format, thanks again... I'm keeping reading and trying hard this work.
Pd: I'm sorry for my english and my poor know about this, I'm just and student physics thats needs to get graduate.
Thanks
Hi again Aishwarya, and everyone whom can help me, well this is my problem now, so i tried to compile RGBDemo0.7 from the tutorial above, and show this error when i push g to generate:
CMake Warning at nestk/ntk/CMakeLists.txt:290 (ADD_LIBRARY):
Cannot generate a safe linker search path for target nestk because files in
some directories may conflict with libraries in implicit directories:
link library [libOpenNI.so] in /usr/lib may be hidden by files in:
/home/nano/RGBDemo-0.7.0-Source/build/lib
Some of these libraries may not be found correctly.
CMake Warning at nestk/ntk/CMakeLists.txt:290 (ADD_LIBRARY):
Cannot generate a safe runtime search path for target nestk because files
in some directories may conflict with libraries in implicit directories:
runtime library [libOpenNI.so] in /usr/lib may be hidden by files in:
/home/nano/RGBDemo-0.7.0-Source/build/lib
So, like Aishwarya said there must be a trouble with OpenNi version, and I read about it and put NESTK_USE_EMBEDDED_OPENNI=OFF in the ccmake .. option, so finally RGBDemo0.7 run, and i use calibrate-kinect-ir, rgbd-viewer fine, rgbd-reconstructor, I could calibrate the kinect's cameras and everything goes fine, as you know my final purpose it's make a three-dimensional reconstruction of and object, so I know that I have to use rgbd-scan-markers demo to do that, I run it with ./rgbd-scan-markers --freenect, and i can't make a three-dimensional reconstruction, the image isn't show to the right side, and when i push start, nothing happen(I printed the markers and put and object in the middle), I save the archive .ply and I tried to open it with meshlab and it's empty, nothing happen again, I tried the same with ./rgbd-scan-topview and the window to the left side of the image doesn't show nothing again, and when I push acquire generic objects the windows close and show this message:
Status: Using GLEW 1.5.7
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'ntk::exception'
what(): void ntk::rgbdImageToPointCloud(pcl::PointCloud<PointT>&, const ntk::RGBDImage&, bool) [with PointT = pcl::PointXYZ]: No calibration data in image.
Aborted (core dumped)
I'm really desperate, I need this as soon as possible, but I see how every day how hard is to do this, if there is anybody who can help me I really appreciate, if you want it, I'll give you complete access to my computer through TeamViewer, seriously i need help... my mail jfern...@gmail.com
Thanks a lot
build/bin/rgbd-viewer --calibration kinect_calibration.yml
before doing everything else? try this first and then run others
Hi again, after reboot, i had the next image, so i have a question, with openni do i have to calibrate??? Because as I show in the image in the left side the point cloud that I supposed to acquire doesn't appear, and when I'm going to checkout the .ply file it's clean...
Thanks again for your support.
On Saturday, August 8, 2015 at 3:31:27 PM UTC-5, Fernando Flórez Gómez wrote:I have already switch on freenect nestk_use_freenect =on, and when I use openni it's worst, doesn't show any cam, just rgb cam, in my pictures that i uploaded you can see the trouble... if you might would be great to help me by skype or something.
Thanks
Yes I did, and still same, but try now if I can compile the git version and it works fine, so finally after all this time i could do it, thanks Aishwarya, thanks a lot, i am really happy to have your support, my best regards... Now i have to start learning how to manipulate data to get a better accuracy, and learn to know how works all demo include in /bin/ it seems to me that is playing around because i don't find much information about the options of each demo, for example, what options use to probe ./icp-pcl, or ./align, or ./apply- transform, i don't know if all that information could be find in the Jeff Krame book, but will be great learn to apply the algorithm icp to align points cloud, well if you know a place where i can find it, will be great to start working... Thanks Again
Have a good days.
Saludos desde Colombia =)