ibtsfif's People
ibtsfif's Issues
problem with 'make'
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
/IBTSFIF-master/illuminants/lille/tan_orthodox/zGlobal.h:13:27: fatal error: malloc/malloc.h: There is no file or directory
**Dear authors,
When I type 'make' to build the code, I encounter these problems below,
......
**[ 80%] Built target iic_eval-lib
[ 84%] Built target iic_commands-lib
[ 85%] Building CXX object reflectance/lille/CMakeFiles/lille-lib.dir/commands/command_ltan.cpp.o
In file included from /media/swy/78FEF6D8FEF68E1E/Programming_Toolbox/IBTSFIF-master/illuminants/lille/tan_orthodox/orthodox_tan_adapter.h:8:0,
from /media/swy/78FEF6D8FEF68E1E/Programming_Toolbox/IBTSFIF-master/illuminants/lille/commands/command_ltan.cpp:6:
/media/swy/78FEF6D8FEF68E1E/Programming_Toolbox/IBTSFIF-master/illuminants/lille/tan_orthodox/zGlobal.h:13:27: fatal error: malloc/malloc.h: There is no file or directory
#include <malloc/malloc.h>
^
compilation terminated.
make[2]: *** [reflectance/lille/CMakeFiles/lille-lib.dir/commands/command_ltan.cpp.o] error 1
make[1]: *** [reflectance/lille/CMakeFiles/lille-lib.dir/all] error 2
make: * [all] error 2
What should I do to solve these problems and complete 'make'?
Looking forward to your reply.**
Error in resolving image name from my database of images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.