Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Installation of RGB demo 0.7 on UBUNTU 12.04

1,290 views
Skip to first unread message

aishwarya kotla

unread,
Apr 20, 2013, 6:54:45 AM4/20/13
to rgb...@googlegroups.com
Hi Nicolas,

I have followed the book of hacking the kinect by jeff kramer. As it is outdates, it took long time to compile RGB demo 0.7 on Ubuntu 12.04 32 and 64 bit. I have posted the very detailed instruction on this web site. Hope it helps some one, may be you could put this on your web site.

https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204?pageUrlChanged=Installation-of-RGB-demo-07-on-Ubuntu-1204

Regards,
AIshwarya
--
Aishwarya Krishna
Research in University of Burgundy,
France

Toni Ventura

unread,
Apr 22, 2013, 1:22:07 PM4/22/13
to rgb...@googlegroups.com
Hi,

thank you for the guide, nice and clean!

toni


2013/4/20 aishwarya kotla <aishwar...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "rgbdemo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rgbdemo+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Nicolas Burrus

unread,
Apr 22, 2013, 2:43:14 PM4/22/13
to rgbdemo
Thanks for sharing this!


shom...@gmail.com

unread,
May 27, 2013, 1:28:39 AM5/27/13
to rgb...@googlegroups.com
Hi Aishwarya,
                    I followed your instructions to install RGBDemo.However I couldnot find the option BUILD_SHARED_LIBS_ON while compiling RGBDemo itself.

all demos other than rgbd-viewer failed to work.I tried the following

thanks
shome

aishwarya krishna

unread,
May 28, 2013, 5:27:56 AM5/28/13
to rgb...@googlegroups.com
Hi shom,

Does your openni samples work? Try working with rgbd viewer first and let me know.

I have check my ccmake .. there is no build shared libs option.. Nicolas told me that its ok

  • BUILD_EXAMPLES_ON
  • BUILD_FAKENECT_ON
  • NESTK_USE_FREENECT_ON
  • NESTK_USE_OPENNI_ON
  • NESTK_USE_PCL_ON

Try with these options.. Ah because I did not make the bool option of openNI  on.
I have checked in my ccmake .. these are the options on. Make sure if you have installed libfreenect only, turn nestk_use_freenect to OnN otherwise turn it 'OFF'

Thanks for pointing out the error. I will make changes in the website.

Regards,
Aishwarya

shom...@gmail.com

unread,
May 29, 2013, 3:44:04 AM5/29/13
to rgb...@googlegroups.com
Hi Aishwarya,

                    I sincerely thank your for your prompt reply to my queries.I have gone through your updated instructions in the website https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204?pageUrlChanged=Installation-of-RGB-demo-07-on-Ubuntu-1204

as per updated website,
  NESTK_USE_FREENECT_ON is enabled whether we use libfreenect or openni to run rgbdemo viewer.


is that a typo?


Thanks
Shome

aishwarya kotla

unread,
May 29, 2013, 4:19:43 AM5/29/13
to rgb...@googlegroups.com
Hello,

I have used both.. That's why, I turned it ON. So I made it to turned on.  If you are not using freenect, turn it off


--
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/WCFZzqT7JFI/unsubscribe?hl=en.
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/groups/opt_out.
 
 

shom...@gmail.com

unread,
May 29, 2013, 6:36:09 AM5/29/13
to rgb...@googlegroups.com
Hi Aishwarya,
                   
                    in your set of instructions you seem to have used 32 bit versions of

OpenNI-Bin-Linux32-v1.1.0.41
Sensor-Bin-Linux32-v5.0.1.32
Nite-1.3.1.5

i tried installing 64 bit versions of the same.

while trying to run ./linux_configure.sh, some warnings were generated.

an example of the warnings:

CMake Warning at nestk/deps/cmake/utils.cmake:80 (ADD_EXECUTABLE):
  Cannot generate a safe linker search path for target rgbd-scan-markers
  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/project/shome/softwares/RGBDemo-0.7.0-Source/build/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  scan-markers/CMakeLists.txt:24 (NESTK_ADD_EXECUTABLE)
 :




aishwarya kotla

unread,
May 29, 2013, 6:58:04 AM5/29/13
to rgb...@googlegroups.com
I think warnings doesn't matter. let me knw the output


--
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/WCFZzqT7JFI/unsubscribe?hl=en.
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/groups/opt_out.
 
 

shom...@gmail.com

unread,
May 29, 2013, 7:55:27 AM5/29/13
to rgb...@googlegroups.com
I compiled using ccmake.

then i tried the following:

./rgbd-viewer --freenect.it showed the depth image & RGB image but no infrared image.

./rgbd-viewer : it showed a empty black screen

./rgbd-reconstructor : it showed two blank screens a black one & a blue one.



clearly openni backend is not being used properly.

have you encountered a similar problem?


aishwarya kotla

unread,
May 29, 2013, 8:10:52 AM5/29/13
to rgb...@googlegroups.com
yes but u need to  click to  show both rgb and ir image.

I have already given u a link to change the line of 1057 and follow the link




--
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/WCFZzqT7JFI/unsubscribe?hl=en.
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/groups/opt_out.
 
 

Eskender Tamrat

unread,
Oct 10, 2013, 10:36:09 AM10/10/13
to rgb...@googlegroups.com


On Saturday, April 20, 2013 1:54:45 PM UTC+3, aishwarya krishna wrote:
Hi Nicolas,

I have followed the book of hacking the kinect by jeff kramer. As it is outdates, it took long time to compile RGB demo 0.7 on Ubuntu 12.04 32 and 64 bit. I have posted the very detailed instruction on this web site. Hope it helps some one, may be you could put this on your web site.

https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204?pageUrlChanged=Installation-of-RGB-demo-07-on-Ubuntu-1204

Much thanks for going through all the steps in just one post. I have a question, though. I couldn't find the Nite-1.3.1.5 anywhere in the Internet. The old link is changed and it's not found in http://www.openni.org/openni-sdk/openni-sdk-history-2/ either ... Is it okay to use the NITE 1.5.2.21 instead? I guess the OpenCV and PCL version doesn't matter, right? Thanks. Hope to hear from you.

With Regards,
Eskender

aishwarya kotla

unread,
Oct 10, 2013, 11:55:44 AM10/10/13
to rgb...@googlegroups.com
Hi,

I have mentioned to use 1.5XX version.

Installing Open-NI, Sensor kinect, Avin2Sensor patch and NITE (Note: only 1.5xx versions work with RGB demo source not the github)

Regards,
Aishwarya

--
You received this message because you are subscribed to a topic in the Google Groups "rgbdemo" group.

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/groups/opt_out.



--
Aishwarya Krishna
Masters in Computer vision and Robotics, 
University of Bourgogne, Le Creusot, France
Masters in Electronic Embedded systems,
ESIGELEC, Rouen, France


Eskender Tamrat

unread,
Oct 11, 2013, 2:44:38 AM10/11/13
to rgb...@googlegroups.com


On Thursday, October 10, 2013 6:55:44 PM UTC+3, aishwarya krishna wrote:
Hi,

I have mentioned to use 1.5XX version.

Installing Open-NI, Sensor kinect, Avin2Sensor patch and NITE (Note: only 1.5xx versions work with RGB demo source not the github)
Thanks for the quick reply. One thing, though, the link http://www.openni.org/Downloads/OpenNIModules.aspx direct to the old Download page of the OpenNI framework. Now the path for the package installations is http://www.openni.org/openni-sdk/openni-sdk-history-2/#.UU-fQRx_VR8. I think you pointed the github branch for the Avin2Sensor patch in the https://sites.google.com/site/3dreconstructionusingkinect/project-updates/Installation-of-RGB-demo-07-on-Ubuntu-1204?pageUrlChanged=Installation-of-RGB-demo-07-on-Ubuntu-1204. One quick question before I go over the instruction - does RGBDemo work with the Kinect for Windows (K4W) device?

Much thanks,
Eskender

Regar ds,

aishwarya kotla

unread,
Oct 11, 2013, 10:45:08 AM10/11/13
to rgb...@googlegroups.com
Hi,

I do not have any idea for windows because I did not try for windows as it is very complicated. Yes,I pointed to github version. Regarding Openni, yes I pointed to openni2 butyou should install openni1.5 

I hope this helps

Regards,
Aishwarya

Eskender Tamrat

unread,
Oct 14, 2013, 3:07:01 AM10/14/13
to rgb...@googlegroups.com
Thanks for your kind assistance. I'll be glad If, by any case, you know any other possibilities or have some other suggestions to get up and running with the 3D reconstruction scene using the Kinect for Windows device (K4W) in Ubuntu 12.04 platform. Much thanks!!!!!

Eskender

aishwarya kotla

unread,
Oct 14, 2013, 3:12:02 AM10/14/13
to rgb...@googlegroups.com
Hi,

You should follow the book hacking the kinect by Jeff kramer.. It is old and you might get some difficulties but there is no other choice..

I did the same way for ubuntu.

Regards,
Aishwarya

aishwarya kotla

unread,
Oct 14, 2013, 3:18:24 AM10/14/13
to rgb...@googlegroups.com
Hi,

One more thing, I have used Xbox 360 so may be you should try that device on ubuntu platform

Eskender Tamrat

unread,
Oct 14, 2013, 3:19:55 AM10/14/13
to rgb...@googlegroups.com
Thanks. By the way, I am going through that book and it's very helpful, indeed. I don't think you got me when I say windows, though. I am using Ubuntu 12.04 as an Operating System. I meant I am using "Kinect For Windows" instead of "X-Box Kinect". Most sources considered the XBox Kinect 'cause it's a standard or something, and I was wondering if there are differences between those devices when it comes to the RGBDemo package. I hope there is none. Once aga

Eskender Tamrat

unread,
Oct 14, 2013, 3:26:32 AM10/14/13
to rgb...@googlegroups.com
I see ... well ... I think I don't have any other options besides trying to get it working with my device (K4W) for the moment and let's hope it'll work since the sample programs from libfreenect, OpenNI ... packages is working in "Kinect for Windows" without any modification. Currently I'm struggling to install PCL to my machine with dependency issues raised, so I can't see the RGBDemo effect before I resolved that issue.

Thanks,
Eskender

aishwarya kotla

unread,
Oct 14, 2013, 4:03:49 AM10/14/13
to rgb...@googlegroups.com
For installing PCL too, it is mentioned in that book.. follow that.. and make sure you install the repositories or libraries from synaptic manager or form the terminal. Do not download from the external source.

I hope it helps 

Eskender Tamrat

unread,
Oct 14, 2013, 4:28:36 AM10/14/13
to rgb...@googlegroups.com
Just checked the PCL guide from the book and there also the three steps mentioned just like it's specified in the PCL site. My problem with when I run the $ sudo apt-get install libpcl-all command, it return unmet dependency message. Have been looking everywhere, but no luck yet. The weirdest thing is previously I was successfully installed the library and used it. But, I had to format my computer and now I messed up the installation when I started from scratch again.

The following packages have unmet dependencies:
 libpcl-all : Depends: libpcl-1.7-all but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Thanks for the tips,
Eskender

Eskender Tamrat

unread,
Oct 16, 2013, 8:22:36 AM10/16/13
to rgb...@googlegroups.com
Hi,

Sorry for bringing yet another question. I installed PCL and everything, when I tried the 'make install' command for RGBDemo, I get this error

-----
[ 18%] Building CXX object nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/niLicense.cpp.o
cd /home/opencog/Downloads/RGBDemo-0.7.0-Source/build/nestk/deps/openni/Source/Utils/niLicense && /usr/bin/c++   -DCUSTOM_SAMPLE_XML_PATH=\"config/SamplesConfig.xml\" -DCUSTOM_SAMPLE_USER_XML_PATH=\"config/Sample-User.xml\" -DXN_USE_CUSTOM_MODULES_FILE=xn_modules_file -DUSE_GLUT -fPIC -O2 -g -I/home/opencog/Downloads/RGBDemo-0.7.0-Source/nestk/deps/openni/Include    -o CMakeFiles/niLicense.dir/niLicense.cpp.o -c /home/opencog/Downloads/RGBDemo-0.7.0-Source/nestk/deps/openni/Source/Utils/niLicense/niLicense.cpp
Linking CXX executable ../../../../../../bin/niLicense
cd /home/opencog/Downloads/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    CMakeFiles/niLicense.dir/niLicense.cpp.o  -o ../../../../../../bin/niLicense -rdynamic -L/home/opencog/Downloads/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64 ../../../../../../lib/libOpenNI.so -lusb-1.0 -ldl ../../../../../../lib/libTinyXml.a -Wl,-rpath,/home/opencog/Downloads/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64:/home/opencog/Downloads/RGBDemo-0.7.0-Source/build/lib
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_cancel'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_create'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_join'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_timedjoin_np'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'shm_open'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'shm_unlink'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_init'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_settype'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_destroy'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutex_timedlock'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [bin/niLicense] Error 1
make[2]: Leaving directory `/home/opencog/Downloads/RGBDemo-0.7.0-Source/build'
make[1]: *** [nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/all] Error 2
make[1]: Leaving directory `/home/opencog/Downloads/RGBDemo-0.7.0-Source/build'
make: *** [all] Error 2
---------------------------------------------------

I looked up the group, but there is no solutions provided for this problem. Any suggestions?

Thanks.
Eskender
To unsubscribe from this group and all its topics, send an email to rgbdemo+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Aishwarya Krishna
Masters in Computer vision and Robotics, 
University of Bourgogne, Le Creusot, France
Masters in Electronic Embedded systems,
ESIGELEC, Rouen, France


--
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/WCFZzqT7JFI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rgbdemo+unsubscribe@googlegroups.com.

aishwarya kotla

unread,
Oct 16, 2013, 8:32:37 AM10/16/13
to rgb...@googlegroups.com
sorry, I do not have any idea..
 for this..

Eskender Tamrat

unread,
Oct 16, 2013, 8:43:48 AM10/16/13
to rgb...@googlegroups.com
Thanks for the quick reply. :)

I'd appreciated if someone leave their experience about that problem.

Thanks.

Cristóbal Bellés

unread,
Oct 17, 2013, 7:45:07 AM10/17/13
to rgb...@googlegroups.com
Hi 

I work with Openni2 is better, try.
And gcc 4.6.3, the version 4.7.2 gives some problems when using PCL.

Regards,
Cristobal

Eskender Tamrat

unread,
Oct 17, 2013, 8:50:42 AM10/17/13
to rgb...@googlegroups.com
Thanks for the help. I'll try to work on that one. So, I think my NITE installation also should be NITE 2.0. How about avin2-patch?

PS, I'm using gcc 4.6.4. So, I think that'd work. By the way. do you know how to uninstall the previous packages (OpenNI 1.5 ...) cleanly, so that to not create any confusion? (Basic question. Sorry. I'm all all new to the concept and I messed up big time before).

Once again, much thanks!!!
Eskender


Cristóbal Bellés

unread,
Oct 17, 2013, 12:56:33 PM10/17/13
to rgb...@googlegroups.com
Hi, 

I do not use NITE, I do not know if rgbdemo NITE applications works with NITE2.
I think Openni2 and Openni1 and can be installed together, but be sure to disable NESTK_USE_OPENNI.

Eskender Tamrat

unread,
Oct 18, 2013, 9:57:30 AM10/18/13
to rgb...@googlegroups.com
I tried with the Openni2 and Openni1.5.x.x packages installed, but it keep saying to me "openni not found" in the "ccmake .." command. Is there any other packages to install except the openni frameworks?

Thanks for your kind assistance. :)

Cristóbal Bellés

unread,
Oct 18, 2013, 9:05:11 PM10/18/13
to rgb...@googlegroups.com
Hi, 
It may be that some variable as OPENNI2_LIBRARY not assigned , then you must manually assign

Eskender Tamrat

unread,
Oct 21, 2013, 8:01:59 AM10/21/13
to rgb...@googlegroups.com
Hi,

I followed your advice and manually set the variable to /usr/include/ni. Now, I got this headache problem when I go with the "sudo make && sudo make install command"

----------------------------------------------------------------------

Linking CXX executable ../../../../../../bin/niLicense
cd /home/opencog/Downloads/rgbdemo-master/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    CMakeFiles/niLicense.dir/niLicense.cpp.o  -o ../../../../../../bin/niLicense -rdynamic -L/home/opencog/Downloads/rgbdemo-master/nestk/deps/openni/Nite/Lib/Linux64 ../../../../../../lib/libOpenNI.so -lusb-1.0 -ldl ../../../../../../lib/libTinyXml.a -Wl,-rpath,/home/opencog/Downloads/rgbdemo-master/nestk/deps/openni/Nite/Lib/Linux64:/home/opencog/Downloads/rgbdemo-master/build/lib
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_cancel'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_create'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_join'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_timedjoin_np'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'shm_open'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'shm_unlink'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_init'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_settype'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutexattr_destroy'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'pthread_mutex_timedlock'
../../../../../../lib/libOpenNI.so: error: undefined reference to 'clock_gettime'
collect2: error: ld returned 1 exit status

make[2]: *** [bin/niLicense] Error 1
make[2]: Leaving directory `/home/opencog/Downloads/rgbdemo-master/build'

make[1]: *** [nestk/deps/openni/Source/Utils/niLicense/CMakeFiles/niLicense.dir/all] Error 2
make[1]: Leaving directory `/home/opencog/Downloads/rgbdemo-master/build'

make: *** [all] Error 2
----------------------------------------------------------------------------------------------------------------

Do you know how to get over this problem? I look up everywhere, but I still can't fix my bugs. Once again, thanks for the kind help.

Eskender.

Leonardo Zampi

unread,
Feb 28, 2014, 5:41:21 AM2/28/14
to rgb...@googlegroups.com
Hi Aishhwarya,
first of all, thanks for the tutorial, it was very useful: it worked even on Ubuntu 13.04, but when I upgraded to 13.10 it did not work anymore. I've tried to re-install everything, but when I type: 
 ./linux_configure.sh

it says

The imported target "vtkWrapJava" references the file
   "/usr/bin/vtkWrapJava"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets.cmake"
but not all the files it references.

Then, other erorrs, like
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/leonardo/RGBDemo-0.7.0-Source/build/lib

  Some of these libraries may not be found correctly.

In this discussion moorepants seems to have the same problem, but I did not understand how to solve.
Any idea?

Best regards and thanks again,

Leo

aishwarya kotla

unread,
Feb 28, 2014, 7:00:08 AM2/28/14
to rgb...@googlegroups.com
Hi Leonardo..

Nice to hear that it worked... May be you can try to install all the libraries from the ubuntu repository.. then it should work..



Warm Regards
Aishwarya Krishna
Masters in Computer vision and Robotics, 
University of Bourgogne, Le Creusot, France
Masters in Electronic Embedded systems,
ESIGELEC, Rouen, France
Message has been deleted

aishwarya kotla

unread,
Mar 20, 2014, 1:49:35 PM3/20/14
to rgb...@googlegroups.com
Hi,

Did you make the clean install? I mean if there's a conflict of some packages or something wrong, you have to remove all the libraries from synaptic (which have been downloaded externally) which corresponds the libraries of RGB demo i.e, openNI,PCL and open cv and  do the clean install..

See if you have one or more versions of openNI


That should work..

Warm Regards
Aishwarya Krishna
Masters in Computer vision and Robotics, 
University of Bourgogne, Le Creusot, France
Masters in Electronic Embedded systems,
ESIGELEC, Rouen, France




On Thu, Mar 20, 2014 at 6:41 PM, Leonardo Zampi <l.za...@gmail.com> wrote:
I have installed them also via Synaptic, but nothing have changed. Seems that OpenNI is the main problem, as the terminal says 

checking for module 'openni-dev'
--   package 'openni-dev' not found

But as you can see in the screenshot I have installed it...or libopenni is not the same?


For more options, visit https://groups.google.com/d/optout.

Nikita Agarwal

unread,
Dec 29, 2014, 7:06:34 AM12/29/14
to rgb...@googlegroups.com


Hi Aishwarya,
Your tutorial is really helpful but I am facing certain problems.
I am trying to install rgbdemo-0.7.0 on ubuntu 14.04 ,

I am getting same warnings as Leonardo

when I type: 
 ./linux_configure.sh

it says

CMake Warning at nestk/deps/cmake/utils.cmake:80 (ADD_EXECUTABLE):
  Cannot generate a safe linker search path for target rgbd-scan-topview

  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/nikita/Kinect/RGBDemo-0.7.0-Source/build/lib


  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  scan-topview/CMakeLists.txt:28 (NESTK_ADD_EXECUTABLE)


CMake Warning at nestk/deps/cmake/utils.cmake:80 (ADD_EXECUTABLE):
  Cannot generate a safe linker search path for target rgbd-scan-markers

  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/nikita/Kinect/RGBDemo-0.7.0-Source/build/lib


  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  scan-markers/CMakeLists.txt:24 (NESTK_ADD_EXECUTABLE)

"and many more like this"


-- Generating done
-- Build files have been written to: /home/nikita/Kinect/RGBDemo-0.7.0-Source/build
Program configured in directory build.
Now go into build/ and run make.

 It shows that configuration is successful. But I think still something is wrong.
 it's showing following error after "make" command. Then I tried with rgbdemo-0.5.0 but the problem remains the same.

make[2]: *** [nestk/deps/opencv/modules/core/CMakeFiles/opencv_core.dir/src/arithm.o] Error 1
make[2]: Leaving directory `/home/nikita/Kinect/RGBDemo-0.5.0-Source/build'
make[1]: *** [nestk/deps/opencv/modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make[1]: Leaving directory `/home/nikita/Kinect/RGBDemo-0.5.0-Source/build'

make: *** [all] Error 2

Thanks in advance.


aishwarya kotla

unread,
Dec 29, 2014, 7:53:58 AM12/29/14
to rgb...@googlegroups.com
Hi,

Warnings doesn't matter.. Do you have the error with rgb demo 0.7? If not, you can continue to build it...

Regards

Aishwarya Krishna
Researcher at Vision Labs, 
University of Algarve, Faro, Portugal,
MSc in Computer Vision and Robotics,
University Of Burgundy, Le Creusot, France
Msc. in Electronic Embedded Systems,
ESIGELEC, Rouen, France

Nikita Agarwal

unread,
Dec 30, 2014, 12:19:56 AM12/30/14
to rgb...@googlegroups.com

Hi Aishwarya
Its also giving error while running the command "make" , and making is not complete as I am not getting any executable file in build/bin/

Regards,
Nikita

aishwarya kotla

unread,
Dec 30, 2014, 5:51:30 AM12/30/14
to rgb...@googlegroups.com
Hi,

Did you configure options using ccmake command? 
--
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/WCFZzqT7JFI/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.


--

Nikita Agarwal

unread,
Dec 31, 2014, 2:34:14 AM12/31/14
to rgb...@googlegroups.com


Hi Aishwarya,
I configured options using ccmake. I think the problem was with ubuntu version. I tried it on ubuntu 12.04 and it worked. Also, I found out that while installing opencv we also have to on openni flag to enable its support in opencv. This can be done with "ccmake .. " Otherwise there would be problem in accessing kinect using opencv. If you could add it to your tutorial, it might help someone.
Thanks a lot for your tutorial and your quick response.

Best,
Nikita
B.Tech 2nd yr
IIT Roorkee

aishwarya kotla

unread,
Dec 31, 2014, 8:51:48 AM12/31/14
to rgb...@googlegroups.com
Hi,

I was about to tell you to downgrade to ubuntu 12.04..

Thanks..will add it...

Regards,

Aishwarya Krishna
Researcher at Vision Labs, 
University of Algarve, Faro, Portugal,
MSc in Computer Vision and Robotics,
University Of Burgundy, Le Creusot, France
Msc. in Electronic Embedded Systems,
ESIGELEC, Rouen, France

--

Kamble Tanaji

unread,
Sep 22, 2016, 1:18:59 PM9/22/16
to rgbdemo, nikita...@gmail.com, tanajikamble13

Hello Aishwarya and Nikita..


When i execute the make command it gives me following error..


Linking CXX executable ../../../../../../bin/Sample-Players
cd /home/tan/RGBDemo-0.7.0-Source/build/nestk/deps/openni/Nite/Samples/Players && /usr/bin/cmake -E cmake_link_script CMakeFiles/Sample-Players.dir/link.txt --verbose=1
/usr/bin/c++    -fPIC -O2 -g -DNDEBUG    CMakeFiles/Sample-Players.dir/SceneDrawer.cpp.o CMakeFiles/Sample-Players.dir/main.cpp.o CMakeFiles/Sample-Players.dir/kbhit.cpp.o CMakeFiles/Sample-Players.dir/signal_catch.cpp.o  -o ../../../../../../bin/Sample-Players  -L/home/tan/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64 -rdynamic ../../../../../../lib/libOpenNI.so -lglut -lusb-1.0 -ldl ../../../../../../lib/libTinyXml.a -Wl,-rpath,/home/tan/RGBDemo-0.7.0-Source/nestk/deps/openni/Nite/Lib/Linux64:/home/tan/RGBDemo-0.7.0-Source/build/lib
/usr/bin/ld: CMakeFiles/Sample-Players.dir/main.cpp.o: undefined reference to symbol 'glOrtho'
//usr/lib/x86_64-linux-gnu/mesa/libGL.so.1: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status
make[2]: *** [bin/Sample-Players] Error 1
make[2]: Leaving directory `/home/tan/RGBDemo-0.7.0-Source/build'
make[1]: *** [nestk/deps/openni/Nite/Samples/Players/CMakeFiles/Sample-Players.dir/all] Error 2
make[1]: Leaving directory `/home/tan/RGBDemo-0.7.0-Source/build'

make: *** [all] Error 2


Let me know if u can

Thanks in advance

Tanaji Kamble
Research Scholar
COEP Pune
India.

Kamble Tanaji

unread,
Sep 24, 2016, 11:00:53 AM9/24/16
to rgbdemo
Hi Aishwarya

I just gone through your tutorial
I tried with ubuntu 14.04 but i am unable to install RGBDemo
After that i tried with ubuntu 12.04
but i am getting problem while installing libfreenect
after running make command i get following error

Linking C executable ../bin/freenect-camtest
../lib/libfreenect.so.0.5.5: undefined reference to `libusb_get_parent'
collect2: ld returned 1 exit status
make[2]: *** [bin/freenect-camtest] Error 1
make[1]: *** [examples/CMakeFiles/freenect-camtest.dir/all] Error 2

make: *** [all] Error 2


I tried solution at http://stackoverflow.com/questions/28835794/undefined-reference-to-libusb-get-parent-compiling-freenect and installed libusb 1.0.18
after that i am able to install libfreenect . But after that  i am unable to run even demo example like glview. It gives me error

Kinect camera test
Number of devices found: 1
./freenect-glview: symbol lookup error: /home/coep/libfreenect/build/lib/libfreenect.so.0.5: undefined symbol: libusb_get_parent

Please let me know the solution if u can..


Thanks in advance

Tanaji Kamble
Research Scholar
Center of Excellence in Signal & Image Processing
COEP Pune.
Reply all
Reply to author
Forward
0 new messages