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

problem with 'make' #3

Open
guopifen opened this issue Jun 10, 2019 · 0 comments
Open

problem with 'make' #3

guopifen opened this issue Jun 10, 2019 · 0 comments

Comments

@guopifen
Copy link

When I type 'make' to build the code,I encounter a problems below
............
[ 79%] Building CXX object CMakeFiles/vole.dir/superpixels/normal_image.cpp.o
[ 82%] Building CXX object CMakeFiles/vole.dir/superpixels/superpixelsegmentation.cpp.o
[ 85%] Building CXX object CMakeFiles/vole.dir/rbase/illum.cpp.o
[ 88%] Building CXX object CMakeFiles/vole.dir/rbase/color_space.cpp.o
[ 91%] Building CXX object CMakeFiles/vole.dir/rbase/img_read.cpp.o
/home/user3/illumination/illum_maps/rbase/img_read.cpp: In static member function ‘static cv::Mat_<cv::Vec<double, 3> > iread::IRead::img_read(const string&, const string&, int, int)’:
/home/user3/illumination/illum_maps/rbase/img_read.cpp:27:18: error: ‘numeric_limits’ is not a member of ‘std’
if (divisor <= std::numeric_limits::epsilon()) divisor = getMax(imageRawTyped);
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:27:38: error: expected primary-expression before ‘double’
if (divisor <= std::numeric_limits::epsilon()) divisor = getMax(imageRawTyped);
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:27:38: error: expected ‘)’ before ‘double’
/home/user3/illumination/illum_maps/rbase/img_read.cpp: In static member function ‘static cv::Mat_<cv::Vec<double, 3> > iread::IRead::img_read_dl(const string&, const string&, int, int, int)’:
/home/user3/illumination/illum_maps/rbase/img_read.cpp:75:18: error: ‘numeric_limits’ is not a member of ‘std’
if (divisor <= std::numeric_limits::epsilon()) divisor = getMax(imageRawTyped);
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:75:38: error: expected primary-expression before ‘double’
if (divisor <= std::numeric_limits::epsilon()) divisor = getMax(imageRawTyped);
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:75:38: error: expected ‘)’ before ‘double’
/home/user3/illumination/illum_maps/rbase/img_read.cpp: In static member function ‘static cv::Mat_<cv::Vec<double, 3> > iread::IRead::img_read_dl_max(const string&, const string&, int, int&, int)’:
/home/user3/illumination/illum_maps/rbase/img_read.cpp:154:18: error: ‘numeric_limits’ is not a member of ‘std’
if (divisor <= std::numeric_limits::epsilon()) { divisor = getMax(imageRawTyped); maxInt
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:154:38: error: expected primary-expression before ‘double’
if (divisor <= std::numeric_limits::epsilon()) { divisor = getMax(imageRawTyped); maxInt
^
/home/user3/illumination/illum_maps/rbase/img_read.cpp:154:38: error: expected ‘)’ before ‘double’
CMakeFiles/vole.dir/build.make:782: recipe for target 'CMakeFiles/vole.dir/rbase/img_read.cpp.o' failed
make[2]: *** [CMakeFiles/vole.dir/rbase/img_read.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/vole.dir/all' failed
make[1]: *** [CMakeFiles/vole.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

What should I do to solve these problems and complete 'make'?

My environment:
- OpenCV (tested with 3.1.0)

  • Boost (tested with 1.61)
  • cmake (tested with 3.5.1)
  • python3.4(anaconda)
    Looking forward to your reply
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

1 participant