Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
user0604 opened this issue Apr 2, 2017 · 13 comments
Open

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

user0604 opened this issue Apr 2, 2017 · 13 comments

Comments

@user0604
Copy link

user0604 commented Apr 2, 2017

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 user0604 changed the title Reconstruction system executables won't run test.sh test.sh won't run if CUDA 8.0 is installed instead of 7.0 Apr 2, 2017
@user0604
Copy link
Author

user0604 commented Apr 2, 2017

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
Copy link

quanqhow commented Apr 3, 2017

@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
Copy link
Author

user0604 commented Apr 3, 2017

@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
Copy link

quanqhow commented Apr 3, 2017

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

@user0604
Copy link
Author

user0604 commented Apr 3, 2017

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
Copy link

@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
Copy link

cnu-pxy commented Jan 11, 2018

@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
Copy link

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

@bamboosdu
Copy link

@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
Copy link

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

@cnu-pxy
Copy link

cnu-pxy commented Jul 1, 2018 via email

@qianyizh
Copy link
Owner

qianyizh commented Jul 1, 2018

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
Copy link

I will try it, Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants