ElasticReconstruction icon indicating copy to clipboard operation
ElasticReconstruction copied to clipboard

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

Open user0604 opened this issue 7 years ago • 13 comments

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 avatar Apr 02 '17 14:04 user0604

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.

user0604 avatar Apr 02 '17 17:04 user0604

@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?

quanqhow avatar Apr 03 '17 11:04 quanqhow

@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

user0604 avatar Apr 03 '17 11:04 user0604

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

quanqhow avatar Apr 03 '17 14:04 quanqhow

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

user0604 avatar Apr 03 '17 15:04 user0604

@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

guesspalm avatar Jan 09 '18 14:01 guesspalm

@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.

cnu-pxy avatar Jan 11 '18 10:01 cnu-pxy

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

quanqhow avatar Jan 25 '18 14:01 quanqhow

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

bamboosdu avatar Apr 03 '18 13:04 bamboosdu

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

SingularTnT avatar Jul 01 '18 07:07 SingularTnT

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: "[email protected]"[email protected] Date: Sun, Jul 1, 2018 03:07 PM To: "qianyizh/ElasticReconstruction"[email protected]; Cc: "cnu-pxy"[email protected];"Comment"[email protected]; 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.

cnu-pxy avatar Jul 01 '18 07:07 cnu-pxy

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

qianyizh avatar Jul 01 '18 07:07 qianyizh

I will try it, Thank you!

SingularTnT avatar Jul 01 '18 15:07 SingularTnT