qianyizh / ElasticReconstruction

3D reconstruction system to creating detailed scene geometry from range video.
http://qianyi.info/scene.html
Other
632 stars 205 forks source link

test.sh won't run if CUDA 8.0 is installed instead of 7.0 #8

Open user0604 opened 7 years ago

user0604 commented 7 years ago

Windows 10 64 bit with OpenNI, Cuda latest, VC 2010 redist. I unzipped the executables, ran test.sh and this is the result

/c/codes/indoor-excutables-1.1/bin
$ ./test.sh
C:/codes/indoor-excutables-1.1/bin/pcl_kinfu_largeScale_release.exe: error 
while loading shared libraries: ?: cannot open shared object file: No such 
file or directory

Please advice on how I should handle this issue

user0604 commented 7 years ago

The reason is the program is not compatible with CUDA 8.0. Solved by completely uninstalling CUDA 8.0, then install CUDA 7.0 instead. During installation, the setup program might say "no compatible hardware found, do you want to install anyway?" but you should choose yes. I also installed VS 2010 Ultimate BEFORE installing CUDA 7.0, but I don't know if it affected. "System requirements" say you need "the latest CUDA", but that is incorrect. Please update accordingly.

quanqhow commented 7 years ago

@user0604 @qianyizh I also run the command "./test.sh", it shows some bugs for me: $ ./test.sh ./test.sh: line 3: pcl_kinfu_largeScale_release.exe: command not found ./test.sh: line 4: GlobalRegistration.exe: command not found ./test.sh: line 5: GraphOptimizer.exe: command not found ./test.sh: line 6: BuildCorrespondence.exe: command not found ./test.sh: line 7: FragmentOptimizer.exe: command not found ./test.sh: line 8: Integrate.exe: command not found ./test.sh: line 9: pcl_kinfu_largeScale_mesh_output_release.exe: command not fou nd C:/Program Files (x86)/PCL 1.7.2/bin/pcl_viewer_release.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory Do you know how to solve this problem?

user0604 commented 7 years ago

@quanqhow You must add the current directory to PATH. i.e if you're on linux/cygwin: then run command export PATH=$PATH:/home/path/to/bin/. If you're on Windows: add the path by right click This PC > Properties > Advanced system settings > tab "Advanced" > Environment Variables, and add the path to the end of value of PATH

quanqhow commented 7 years ago

@user0604 Thank you very much. How to make the .PLY file shown in the meshlab display in color?

user0604 commented 7 years ago

Do you mean the .ply file as in the output of demo.sh? Actually I haven't been able to output a .ply file yet. The algorithm did not create a correct output.pcd and therefore the last command in demo.sh output PCLException and output no world.ply file. Also you can only show the mesh in color if there is a parameter/function in the code that allows that, you either find it in the docs or write it by yourself

guesspalm commented 6 years ago

@user0604 I also get the result: while loading shared libraries: ?: cannot open shared object file: No such file or directory And my CUDA version is 7.0 . Do you have any suggestions? In addition, i'm in windows 7 64 bit with OpenNI,VC 2010 Redistributable

cnu-pxy commented 6 years ago

@user0604 hi, i have been installed CUDA 7.0 instead of 9.0, but the error is still

- Device 0:  "GeForce GTX 1070"  8192Mb
- Can't determine number of cores. Unknown SM version 6.1!
- , sm_61, 0 cores, Driver/Runtime ver.9.0/4.20

i hope you can help me, thank you again.

quanqhow commented 6 years ago

@user0604 Have you compiled the source code under CUDA 8.0 to make the final executive file like _pcl_kinfu_largeScale_mesh_outputrelease.exe and _pcl_kinfu_largeScalerelease.exe ? Can you give me some suggestions ?

bamboosdu commented 6 years ago

@guesspalm your problom can be solved by install Visual C++ Redistributable for Visual Studio 2012 Update 4. I think it is missing msvcr110.dll.

SingularTnT commented 6 years ago

@user0604 I got the same issue, any idea? Thank you very much

cnu-pxy commented 6 years ago

I suppose you forgive this method, cause it is too old to configer, maybe you can try another method I used, called ElasticFusion. You can find it in github. Good luck ------------------ Original ------------------ From: "notifications@github.com"notifications@github.com Date: Sun, Jul 1, 2018 03:07 PM To: "qianyizh/ElasticReconstruction"ElasticReconstruction@noreply.github.com; Cc: "cnu-pxy"2161002059@cnu.edu.cn;"Comment"comment@noreply.github.com; Subject: Re: [qianyizh/ElasticReconstruction] test.sh won't run if CUDA 8.0 isinstalled instead of 7.0 (#8)

@user0604 I got the same issue, any idea? Thank you very much

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

qianyizh commented 6 years ago

I have moved most functionalities of this repo into a new project, called Open3D.

https://github.com/IntelVCL/Open3D

It should be very easy to use now. In fact there is a python interface and you can run reconstruction with a script.

http://www.open3d.org/docs/tutorial/ReconstructionSystem/index.html

SingularTnT commented 6 years ago

I will try it, Thank you!