question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi,

When I try to compile the normalSpeed, I got the error: (FFB6D) lzl@lzl:~/Desktop/FFB6D/normalSpeed/normalSpeed$ python3 setup.py install --user running install running bdist_egg running egg_info creating normalSpeed.egg-info writing normalSpeed.egg-info/PKG-INFO writing dependency_links to normalSpeed.egg-info/dependency_links.txt writing top-level names to normalSpeed.egg-info/top_level.txt writing manifest file 'normalSpeed.egg-info/SOURCES.txt' reading manifest file 'normalSpeed.egg-info/SOURCES.txt' writing manifest file 'normalSpeed.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenCV: /usr/local (found suitable version "3.4.5", minimum required is "3") -- Found PythonLibs: /home/lzl/miniconda3/envs/FFB6D/lib/libpython3.6m.so (found suitable version "3.6.13", minimum required is "3") -- Found PythonInterp: /home/lzl/miniconda3/envs/FFB6D/bin/python3 (found version "3.6.13") -- Found PythonLibs: /home/lzl/miniconda3/envs/FFB6D/lib/libpython3.6m.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /home/lzl/.local/include (found version "2.9.2") -- Found NumPy: /home/lzl/.local/lib/python3.6/site-packages/numpy/core/include (found version "1.19.5") -- Configuring done -- Generating done -- Build files have been written to: /home/lzl/Desktop/FFB6D/normalSpeed/normalSpeed/build/temp.linux-x86_64-3.6 Scanning dependencies of target normalSpeed [ 25%] Building CXX object CMakeFiles/normalSpeed.dir/normal.cpp.o [ 50%] Building CXX object CMakeFiles/normalSpeed.dir/pybind11.cpp.o In file included from /home/lzl/Desktop/FFB6D/normalSpeed/normalSpeed/normal.cpp:1:0: /home/lzl/Desktop/FFB6D/normalSpeed/normalSpeed/normal.hpp:5:10: fatal error: opencv2/rgbd.hpp: No such file or directory #include <opencv2/rgbd.hpp> ^~~~~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/normalSpeed.dir/build.make:62: recipe for target 'CMakeFiles/normalSpeed.dir/normal.cpp.o' failed make[2]: *** [CMakeFiles/normalSpeed.dir/normal.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/lzl/Desktop/FFB6D/normalSpeed/normalSpeed/pybind11.cpp:4:0: /home/lzl/Desktop/FFB6D/normalSpeed/normalSpeed/normal.hpp:5:10: fatal error: opencv2/rgbd.hpp: No such file or directory #include <opencv2/rgbd.hpp> ^~~~~~~~~~~~~~~~~~ compilation terminated. CMakeFiles/normalSpeed.dir/build.make:86: recipe for target 'CMakeFiles/normalSpeed.dir/pybind11.cpp.o' failed make[2]: *** [CMakeFiles/normalSpeed.dir/pybind11.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/normalSpeed.dir/all' failed make[1]: *** [CMakeFiles/normalSpeed.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 Traceback (most recent call last): File "setup.py", line 67, in <module> zip_safe=False, File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run self.do_egg_install() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install self.run_command('bdist_egg') File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run self.build() File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/command/install_lib.py", line 107, in build self.run_command('build_ext') File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 33, in run self.build_extension(ext) File "setup.py", line 58, in build_extension subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp) File "/home/lzl/miniconda3/envs/FFB6D/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.

I have installed Opencv3.4.5.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:20

github_iconTop GitHub Comments

1reaction
LZL-CScommented, Jun 21, 2022

@LZL-CS what pytorch version are you using?

did you also met an error when installing RandLa?

Hi, my pytorch version is 1.4.0, and I got errors when compile RanDLA😂

0reactions
LZL-CScommented, Jun 27, 2022

@LZL-CS email sent!

Hi, I have received it. Thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compiler Bug - C2 wiki
Compiler bugs are often found lurking in parts of the compiler that are infrequently exercised. A good way to find some of these...
Read more >
CS 6120: Finding and Understanding Bugs in C Compilers
Bug Types · A crash error is one that crashes the compiler during compilation or exits with non-zero termination code. · A wrong-code...
Read more >
GCC Bugs - GNU Project
Basically, a compiler can assume that all changes to variables happen through pointers or references to variables of a type compatible to the ......
Read more >
Bugs in Programming
In programming jargon, “errors” are known as “bugs”. There are many apocryphal ... We can link and run only programs that contain no...
Read more >
It Is Never a Compiler Bug Until It Is - Hacker News
Compiler bugs are indeed pretty frightening. A few years ago I bumped into one in some code that had potential to have a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found