|
This post was updated on .
I´ve been trying to build the Kinfu-app for some days now and just some hours ago I managed to build the whole bunch with CMake.
When I tried to compile the project however I got the following linker-error: LNK1104: cannot open file '..\..\..\lib\pcl_common_debug.lib' So i looked and found my lib-folder empty, which makes me guess that something in CMake was missing. So just in case I´m right and CMake is missing something, here´s my output: Found SSE2 extensions, using flags: /arch:SSE2 HAVE_OPENMP status 1 Eigen found (include: C:/Program Files/Eigen/include) FLANN found (include: C:/Program Files/flann/include, lib: optimized;C:/Program Files/flann/lib/flann_cpp_s.lib;debug;C:/Program Files/flann/lib/flann_cpp_s-gd.lib) OpenNI found (include: C:/Program Files/OpenNI/Include, lib: C:/Program Files/OpenNI/Lib/openNI.lib) QHULL found (include: C:/Program Files/qhull/include, lib: optimized;C:/Program Files/qhull/lib/qhullstatic.lib;debug;C:/Program Files/qhull/lib/qhullstatic_d.lib) VTK found (include: C:/Program Files/VTK 5.8.0/include/vtk-5.8;C:/Program Files/VTK 5.8.0/include/vtk-5.8, lib: C:/Program Files/VTK 5.8.0/lib/vtk-5.8;C:/Program Files/VTK 5.8.0/lib/vtk-5.8) Could NOT find MPI_C (missing: MPI_C_LIBRARIES MPI_C_INCLUDE_PATH) Could NOT find MPI_CXX (missing: MPI_CXX_LIBRARIES MPI_CXX_INCLUDE_PATH) Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) Tests will not be built: GTest was not found. PCL_EXAMPLES_SUBDIRS C:/Users/BumBumFish/Desktop/PCL/examples/common;C:/Users/BumBumFish/Desktop/PCL/examples/features;C:/Users/BumBumFish/Desktop/PCL/examples/filters CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20 Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) DOXYGEN_FOUND NO HTML_HELP_COMPILER Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) Found CPack generators: NSIS The following subsystems will be built: common geometry octree io sample_consensus kdtree search filters segmentation visualization features surface registration keypoints tracking apps 3d_rec_framework examples gpu_containers gpu_utils gpu_octree gpu_features gpu_kinfu gpu_segmentation gpu_surface ml outofcore recognition global_tests tools The following subsystems will not be built: gpu_people: Disabled by default. proctor: Requires external library boost_mpi. simulation: Disabled by default. Configuring done Generating done So hopefully that´s enough information so someone can help me. I could be totally wrong of course, in which case I´d like to ask you to point me in the right direction. Thanks in advance. |
|
As of what I can see your CMake output looks fine.
But you only use CMake to generate project files for example Visual studio - Its in here your compiling is done. What have you seleted as build output? - find the solution and compile it (both release and debug to get both versions of libs/dlls) Regards, Lars
Vision System Engineer
Danrob A/S DK |
|
Thank you very much, it compiles fine now.
It doesn´t work however. When I start the .exe it tells me: Device 0: "GeForce GT 540M" 1024Mb, sm_21, 96 cores, Driver/Runtime ver.4.10/4.0 Error: Init failed: Can´t create any node of the requested type! C:\Users\bla\PCL\gpu\kinfu\tools\capture.cpp:122 So this isn´t a compile-problem anymore. Do I actually have to alter the code to make this work? Any suggestions are very much appreciated. |
|
It's Kinect/OpenNI/drivers problem. Try to test it with other PCL samples to
make sure. Cheers, Anatoly -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of bumbumfish Sent: Wednesday, April 11, 2012 8:52 PM To: [hidden email] Subject: Re: [PCL-users] problems compiling KinFu Thank you very much, it compiles fine now. It doesn´t work however. When I start the .exe it tells me: *Device 0: "GeForce GT 540M" 1024Mb, sm_21, 96 cores, Driver/Runtime ver.4.10/4.0 Error: Init failed: Can´t create any node of the requested type! C:\Users\bla\PCL\gpu\kinfu\tools\capture.cpp:122* So this isn´t a compile-problem anymore. Do I actually have to alter the code to make this work? Any suggestions are very much appreciated. -- View this message in context: http://www.pcl-users.org/problems-compiling-KinFu-tp3900237p3903118.html Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com. _______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users _______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users |
|
I´m sorry but I don´t seem to really understand what you´re telling me to do.
I ran some more samples and some seem to work (from what I can tell, which isn´t much). Others don´t work and i really can´t tell the reason. So I really don´t see how I could "make sure" that it´s a drivers problem. And even if I could make sure it is, I wouldn´t know how to solve the problem then. Please understand that I´m very thankful for your help. It´s just that it´s really difficult for me to grasp things that are clear to you. |
|
This post has NOT been accepted by the mailing list yet.
perhaps there is a problem on your OpenNI driver, try to reinstall it and check whether it works fine by using OpenNI Sample Viewer, i think both 32-bit or 64 bit OpenNI driver are just fine
|
|
In reply to this post by bumbumfish
I meant other PCL samples that use Kinect. if they don't work its
definitively driver problem. if they do then kinfu_app's problem. For the driver case I, personally, also don't know what to do. Cheers, Anatoly On Wed, Apr 11, 2012 at 10:52 PM, bumbumfish <[hidden email]> wrote: > I´m sorry but I don´t seem to really understand what you´re telling me to do. > > I ran some more samples and some seem to work (from what I can tell, which > isn´t much). > Others don´t work and i really can´t tell the reason. So I really don´t see > how I could "make sure" that it´s a drivers problem. And even if I could > make sure it is, I wouldn´t know how to solve the problem then. > > Please understand that I´m very thankful for your help. It´s just that it´s > really difficult for me to grasp things that are clear to you. > > -- > View this message in context: http://www.pcl-users.org/problems-compiling-KinFu-tp3900237p3903469.html > Sent from the Point Cloud Library (PCL) Users mailing list archive at Nabble.com. > _______________________________________________ > [hidden email] / http://pointclouds.org > http://pointclouds.org/mailman/listinfo/pcl-users -- Best regards, Anatoly Baksheev _______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users |
|
This post was updated on .
Thank you for your answers, I tried as you said and the problem really seems to be the Kinect driver.
I tried to use newer OpenNI/PrimeSense drivers but that didn´t work. So if anyone has another idea, let me hear it ^^ |
|
Hi Bumbumfish,
Try look in the device manager to see if your kinect is shown correctly. Last time I had that problem was because I had installed Microsofts drivers also, and hence it didn't work properly.
regards, Lars
On Thu, Apr 12, 2012 at 1:07 AM, bumbumfish <[hidden email]> wrote: Thank you for your answers, I tried as you said and the problem really seems _______________________________________________ [hidden email] / http://pointclouds.org http://pointclouds.org/mailman/listinfo/pcl-users
Vision System Engineer
Danrob A/S DK |
|
This post has NOT been accepted by the mailing list yet.
In reply to this post by bumbumfish
I am having the same problem as you indicated above.
How did you resolve it. I have tried building in both release and debug but get the same message for kinfu |
Try using the pre-built binaries, otherwise make sure you're on the updated trunk version. If you can find them add the files to the system PATH. -Toby |
| Powered by Nabble | Edit this page |
