nonlinear1 / bundlefusion_ubuntu_v0 Goto Github PK
View Code? Open in Web Editor NEWThis is BundleFusion for Ubuntu version
This is BundleFusion for Ubuntu version
This is the bundlefusion of linux version, exactly the ubuntu version. I have tested in Ubuntu16.04 + CUDA9.0 and Ubuntu 18.04 + CUDA10. I think other version is OK, maybe you should change some compile configuration! The project archeticture: BundleFusion_Ubuntu_V0 has the following folders and a CMakeLists.txt and two parameter configuration files: cmake_modules data external FriedLiver lib mLibExternal modules scans build CMakeLists.txt zParametersBundlingDefault.txt zParametersDefault.txt The data,lib,mLibExternal,scans you must make them yourself! "external" this folder has a mLib, which is changed by me! "data" folder, you put the dataset for example:sequence.sens, you can download it from the https://github.com/niessner/BundleFusion. "lib" is empty folder just used in compilation. "mLibExternal" folder you must add the files from the bundlefusion in https://github.com/niessner/BundleFusion. "scans" folder is the mesh output! the results you are looking forward to! make and compile: cd build cmake .. make -j8 now you just put the "zParametersBundlingDefault.txt" and "zParametersDefault.txt" into build folder and just ./FriedLiver the Bundlefuson_Ubuntu is running and press "9" key you can save the mesh! For now, no display, when I have time, I will add display, I will use imGUI and OpenGL to display and render! If anyone have any problem you can send me a email:[email protected] or qq:31781410 or join my wechat for VIO I also R&D VIO slam! I hope all of you will benefit from my porting project--BundleFusion_Ubuntu! Guan Shi yuan 关士远 2019.11.26
I make this project work, but face the same awkward problem like win10. FriedLiver stuck when it load sens file and begin to compute SIFT with my poor GPU. The error is
FriedLiver/Source/SiftGPU/SiftPyramid.cpp(387):cudaSafeCall() Run time API error 715: an illegal instruction was encountered.
Any idea to solve it, or just compute without GPU, or close multi-threaded during runing?
Hope help me.
when I "make -j8", the project stuck. The errors are shown below:
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/BundleFusion_Ubuntu.dir/all' failed
make[1]: *** [CMakeFiles/BundleFusion_Ubuntu.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The total error log is shown below:
(base) mhf@omnisky:~/NeRF/BundleFusion_Ubuntu_V0-master/build$ make -j8 Scanning dependencies of target BundleFusion_Ubuntu [ 2%] Building CXX object CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/src/core-util/utility.cpp.o [ 4%] Building CXX object CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/include/mLibDepthCamera.cpp.o [ 6%] Building CXX object CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/src/core-base/common.cpp.o [ 8%] Building CXX object CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/src/core-util/timer.cpp.o In file included from /usr/include/c++/7/cstdlib:77:0, from /usr/include/c++/7/stdlib.h:36, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:573, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:11: /usr/include/c++/7/bits/std_abs.h:52:11: error: ‘::abs’ has not been declared using ::abs; ^~~ In file included from /usr/include/c++/7/stdlib.h:36:0, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:573, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:11: /usr/include/c++/7/cstdlib:127:11: error: ‘::div_t’ has not been declared using ::div_t; ^~~~~ /usr/include/c++/7/cstdlib:128:11: error: ‘::ldiv_t’ has not been declared using ::ldiv_t; ^~~~~~ /usr/include/c++/7/cstdlib:130:11: error: ‘::abort’ has not been declared using ::abort; ^~~~~ /usr/include/c++/7/cstdlib:134:11: error: ‘::atexit’ has not been declared using ::atexit; ^~~~~~ /usr/include/c++/7/cstdlib:137:11: error: ‘::at_quick_exit’ has not been declared using ::at_quick_exit; ^~~~~~~~~~~~~ /usr/include/c++/7/cstdlib:140:11: error: ‘::atof’ has not been declared using ::atof; ^~~~ /usr/include/c++/7/cstdlib:141:11: error: ‘::atoi’ has not been declared using ::atoi; ^~~~ /usr/include/c++/7/cstdlib:142:11: error: ‘::atol’ has not been declared using ::atol; ^~~~ /usr/include/c++/7/cstdlib:143:11: error: ‘::bsearch’ has not been declared using ::bsearch; ^~~~~~~ /usr/include/c++/7/cstdlib:144:11: error: ‘::calloc’ has not been declared using ::calloc; ^~~~~~ /usr/include/c++/7/cstdlib:145:11: error: ‘::div’ has not been declared using ::div; ^~~ /usr/include/c++/7/cstdlib:146:11: error: ‘::exit’ has not been declared using ::exit; ^~~~ /usr/include/c++/7/cstdlib:147:11: error: ‘::free’ has not been declared using ::free; ^~~~ /usr/include/c++/7/cstdlib:148:11: error: ‘::getenv’ has not been declared using ::getenv; ^~~~~~ /usr/include/c++/7/cstdlib:149:11: error: ‘::labs’ has not been declared using ::labs; ^~~~ /usr/include/c++/7/cstdlib:150:11: error: ‘::ldiv’ has not been declared using ::ldiv; ^~~~ /usr/include/c++/7/cstdlib:151:11: error: ‘::malloc’ has not been declared using ::malloc; ^~~~~~ /usr/include/c++/7/cstdlib:153:11: error: ‘::mblen’ has not been declared using ::mblen; ^~~~~ /usr/include/c++/7/cstdlib:154:11: error: ‘::mbstowcs’ has not been declared using ::mbstowcs; ^~~~~~~~ /usr/include/c++/7/cstdlib:155:11: error: ‘::mbtowc’ has not been declared using ::mbtowc; ^~~~~~ /usr/include/c++/7/cstdlib:157:11: error: ‘::qsort’ has not been declared using ::qsort; ^~~~~ /usr/include/c++/7/cstdlib:160:11: error: ‘::quick_exit’ has not been declared using ::quick_exit; ^~~~~~~~~~ /usr/include/c++/7/cstdlib:163:11: error: ‘::rand’ has not been declared using ::rand; ^~~~ /usr/include/c++/7/cstdlib:164:11: error: ‘::realloc’ has not been declared using ::realloc; ^~~~~~~ /usr/include/c++/7/cstdlib:165:11: error: ‘::srand’ has not been declared using ::srand; ^~~~~ /usr/include/c++/7/cstdlib:166:11: error: ‘::strtod’ has not been declared using ::strtod; ^~~~~~ /usr/include/c++/7/cstdlib:167:11: error: ‘::strtol’ has not been declared using ::strtol; ^~~~~~ /usr/include/c++/7/cstdlib:168:11: error: ‘::strtoul’ has not been declared using ::strtoul; ^~~~~~~ /usr/include/c++/7/cstdlib:169:11: error: ‘::system’ has not been declared using ::system; ^~~~~~ /usr/include/c++/7/cstdlib:171:11: error: ‘::wcstombs’ has not been declared using ::wcstombs; ^~~~~~~~ /usr/include/c++/7/cstdlib:172:11: error: ‘::wctomb’ has not been declared using ::wctomb; ^~~~~~ /usr/include/c++/7/cstdlib:200:11: error: ‘::lldiv_t’ has not been declared using ::lldiv_t; ^~~~~~~ /usr/include/c++/7/cstdlib:206:11: error: ‘::_Exit’ has not been declared using ::_Exit; ^~~~~ /usr/include/c++/7/cstdlib:210:11: error: ‘::llabs’ has not been declared using ::llabs; ^~~~~ /usr/include/c++/7/cstdlib:216:11: error: ‘::lldiv’ has not been declared using ::lldiv; ^~~~~ /usr/include/c++/7/cstdlib:227:11: error: ‘::atoll’ has not been declared using ::atoll; ^~~~~ /usr/include/c++/7/cstdlib:228:11: error: ‘::strtoll’ has not been declared using ::strtoll; ^~~~~~~ /usr/include/c++/7/cstdlib:229:11: error: ‘::strtoull’ has not been declared using ::strtoull; ^~~~~~~~ /usr/include/c++/7/cstdlib:231:11: error: ‘::strtof’ has not been declared using ::strtof; ^~~~~~ /usr/include/c++/7/cstdlib:232:11: error: ‘::strtold’ has not been declared using ::strtold; ^~~~~~~ /usr/include/c++/7/cstdlib:240:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::lldiv_t; ^~~~~~~~~ /usr/include/c++/7/cstdlib:242:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::_Exit; ^~~~~~~~~ /usr/include/c++/7/cstdlib:244:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::llabs; ^~~~~~~~~ /usr/include/c++/7/cstdlib:245:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::div; ^~~~~~~~~ /usr/include/c++/7/cstdlib:246:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::lldiv; ^~~~~~~~~ /usr/include/c++/7/cstdlib:248:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::atoll; ^~~~~~~~~ /usr/include/c++/7/cstdlib:249:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::strtof; ^~~~~~~~~ /usr/include/c++/7/cstdlib:250:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::strtoll; ^~~~~~~~~ /usr/include/c++/7/cstdlib:251:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::strtoull; ^~~~~~~~~ /usr/include/c++/7/cstdlib:252:11: error: ‘::__gnu_cxx’ has not been declared using ::__gnu_cxx::strtold; ^~~~~~~~~ In file included from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:573:0, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:11: /usr/include/c++/7/stdlib.h:38:12: error: ‘stb::std::abort’ has not been declared using std::abort; ^~~~~ /usr/include/c++/7/stdlib.h:39:12: error: ‘stb::std::atexit’ has not been declared using std::atexit; ^~~~~~ /usr/include/c++/7/stdlib.h:40:12: error: ‘stb::std::exit’ has not been declared using std::exit; ^~~~ /usr/include/c++/7/stdlib.h:43:14: error: ‘stb::std::at_quick_exit’ has not been declared using std::at_quick_exit; ^~~~~~~~~~~~~ /usr/include/c++/7/stdlib.h:46:14: error: ‘stb::std::quick_exit’ has not been declared using std::quick_exit; ^~~~~~~~~~ /usr/include/c++/7/stdlib.h:51:12: error: ‘stb::std::div_t’ has not been declared using std::div_t; ^~~~~ /usr/include/c++/7/stdlib.h:52:12: error: ‘stb::std::ldiv_t’ has not been declared using std::ldiv_t; ^~~~~~ /usr/include/c++/7/stdlib.h:55:12: error: ‘stb::std::atof’ has not been declared using std::atof; ^~~~ /usr/include/c++/7/stdlib.h:56:12: error: ‘stb::std::atoi’ has not been declared using std::atoi; ^~~~ /usr/include/c++/7/stdlib.h:57:12: error: ‘stb::std::atol’ has not been declared using std::atol; ^~~~ /usr/include/c++/7/stdlib.h:58:12: error: ‘stb::std::bsearch’ has not been declared using std::bsearch; ^~~~~~~ /usr/include/c++/7/stdlib.h:59:12: error: ‘stb::std::calloc’ has not been declared using std::calloc; ^~~~~~ /usr/include/c++/7/stdlib.h:61:12: error: ‘stb::std::free’ has not been declared using std::free; ^~~~ /usr/include/c++/7/stdlib.h:62:12: error: ‘stb::std::getenv’ has not been declared using std::getenv; ^~~~~~ /usr/include/c++/7/stdlib.h:63:12: error: ‘stb::std::labs’ has not been declared using std::labs; ^~~~ /usr/include/c++/7/stdlib.h:64:12: error: ‘stb::std::ldiv’ has not been declared using std::ldiv; ^~~~ /usr/include/c++/7/stdlib.h:65:12: error: ‘stb::std::malloc’ has not been declared using std::malloc; ^~~~~~ /usr/include/c++/7/stdlib.h:67:12: error: ‘stb::std::mblen’ has not been declared using std::mblen; ^~~~~ /usr/include/c++/7/stdlib.h:68:12: error: ‘stb::std::mbstowcs’ has not been declared using std::mbstowcs; ^~~~~~~~ /usr/include/c++/7/stdlib.h:69:12: error: ‘stb::std::mbtowc’ has not been declared using std::mbtowc; ^~~~~~ /usr/include/c++/7/stdlib.h:71:12: error: ‘stb::std::qsort’ has not been declared using std::qsort; ^~~~~ /usr/include/c++/7/stdlib.h:72:12: error: ‘stb::std::rand’ has not been declared using std::rand; ^~~~ /usr/include/c++/7/stdlib.h:73:12: error: ‘stb::std::realloc’ has not been declared using std::realloc; ^~~~~~~ /usr/include/c++/7/stdlib.h:74:12: error: ‘stb::std::srand’ has not been declared using std::srand; ^~~~~ /usr/include/c++/7/stdlib.h:75:12: error: ‘stb::std::strtod’ has not been declared using std::strtod; ^~~~~~ /usr/include/c++/7/stdlib.h:76:12: error: ‘stb::std::strtol’ has not been declared using std::strtol; ^~~~~~ /usr/include/c++/7/stdlib.h:77:12: error: ‘stb::std::strtoul’ has not been declared using std::strtoul; ^~~~~~~ /usr/include/c++/7/stdlib.h:78:12: error: ‘stb::std::system’ has not been declared using std::system; ^~~~~~ /usr/include/c++/7/stdlib.h:80:12: error: ‘stb::std::wcstombs’ has not been declared using std::wcstombs; ^~~~~~~~ /usr/include/c++/7/stdlib.h:81:12: error: ‘stb::std::wctomb’ has not been declared using std::wctomb; ^~~~~~ In file included from /usr/include/c++/7/math.h:36:0, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:577, from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:11: /usr/include/c++/7/cmath:83:11: error: ‘::acos’ has not been declared using ::acos; ^~~~ /usr/include/c++/7/cmath:102:11: error: ‘::asin’ has not been declared using ::asin; ^~~~ /usr/include/c++/7/cmath:121:11: error: ‘::atan’ has not been declared using ::atan; ^~~~ /usr/include/c++/7/cmath:140:11: error: ‘::atan2’ has not been declared using ::atan2; ^~~~~ /usr/include/c++/7/cmath:161:11: error: ‘::ceil’ has not been declared using ::ceil; ^~~~ /usr/include/c++/7/cmath:180:11: error: ‘::cos’ has not been declared using ::cos; ^~~ /usr/include/c++/7/cmath:199:11: error: ‘::cosh’ has not been declared using ::cosh; ^~~~ /usr/include/c++/7/cmath:218:11: error: ‘::exp’ has not been declared using ::exp; ^~~ /usr/include/c++/7/cmath:237:11: error: ‘::fabs’ has not been declared using ::fabs; ^~~~ /usr/include/c++/7/cmath:256:11: error: ‘::floor’ has not been declared using ::floor; ^~~~~ /usr/include/c++/7/cmath:275:11: error: ‘::fmod’ has not been declared using ::fmod; ^~~~ /usr/include/c++/7/cmath:296:11: error: ‘::frexp’ has not been declared using ::frexp; ^~~~~ /usr/include/c++/7/cmath:315:11: error: ‘::ldexp’ has not been declared using ::ldexp; ^~~~~ /usr/include/c++/7/cmath:334:11: error: ‘::log’ has not been declared using ::log; ^~~ /usr/include/c++/7/cmath:353:11: error: ‘::log10’ has not been declared using ::log10; ^~~~~ /usr/include/c++/7/cmath:372:11: error: ‘::modf’ has not been declared using ::modf; ^~~~ /usr/include/c++/7/cmath:384:11: error: ‘::pow’ has not been declared using ::pow; ^~~ /usr/include/c++/7/cmath:421:11: error: ‘::sin’ has not been declared using ::sin; ^~~ /usr/include/c++/7/cmath:440:11: error: ‘::sinh’ has not been declared using ::sinh; ^~~~ /usr/include/c++/7/cmath:459:11: error: ‘::sqrt’ has not been declared using ::sqrt; ^~~~ /usr/include/c++/7/cmath:478:11: error: ‘::tan’ has not been declared using ::tan; ^~~ /usr/include/c++/7/cmath:497:11: error: ‘::tanh’ has not been declared using ::tanh; ^~~~ /usr/include/c++/7/cmath:1080:11: error: ‘::double_t’ has not been declared using ::double_t; ^~~~~~~~ /usr/include/c++/7/cmath:1081:11: error: ‘::float_t’ has not been declared using ::float_t; ^~~~~~~ /usr/include/c++/7/cmath:1084:11: error: ‘::acosh’ has not been declared using ::acosh; ^~~~~ /usr/include/c++/7/cmath:1085:11: error: ‘::acoshf’ has not been declared using ::acoshf; ^~~~~~ /usr/include/c++/7/cmath:1086:11: error: ‘::acoshl’ has not been declared using ::acoshl; ^~~~~~ /usr/include/c++/7/cmath:1088:11: error: ‘::asinh’ has not been declared using ::asinh; ^~~~~ /usr/include/c++/7/cmath:1089:11: error: ‘::asinhf’ has not been declared using ::asinhf; ^~~~~~ /usr/include/c++/7/cmath:1090:11: error: ‘::asinhl’ has not been declared using ::asinhl; ^~~~~~ /usr/include/c++/7/cmath:1092:11: error: ‘::atanh’ has not been declared using ::atanh; ^~~~~ /usr/include/c++/7/cmath:1093:11: error: ‘::atanhf’ has not been declared using ::atanhf; ^~~~~~ /usr/include/c++/7/cmath:1094:11: error: ‘::atanhl’ has not been declared using ::atanhl; ^~~~~~ /usr/include/c++/7/cmath:1096:11: error: ‘::cbrt’ has not been declared using ::cbrt; ^~~~ /usr/include/c++/7/cmath:1097:11: error: ‘::cbrtf’ has not been declared using ::cbrtf; ^~~~~ /usr/include/c++/7/cmath:1098:11: error: ‘::cbrtl’ has not been declared using ::cbrtl; ^~~~~ /usr/include/c++/7/cmath:1100:11: error: ‘::copysign’ has not been declared using ::copysign; ^~~~~~~~ /usr/include/c++/7/cmath:1101:11: error: ‘::copysignf’ has not been declared using ::copysignf; ^~~~~~~~~ /usr/include/c++/7/cmath:1102:11: error: ‘::copysignl’ has not been declared using ::copysignl; ^~~~~~~~~ /usr/include/c++/7/cmath:1104:11: error: ‘::erf’ has not been declared using ::erf; ^~~ /usr/include/c++/7/cmath:1105:11: error: ‘::erff’ has not been declared using ::erff; ^~~~ /usr/include/c++/7/cmath:1106:11: error: ‘::erfl’ has not been declared using ::erfl; ^~~~ /usr/include/c++/7/cmath:1108:11: error: ‘::erfc’ has not been declared using ::erfc; ^~~~ /usr/include/c++/7/cmath:1109:11: error: ‘::erfcf’ has not been declared using ::erfcf; ^~~~~ /usr/include/c++/7/cmath:1110:11: error: ‘::erfcl’ has not been declared using ::erfcl; ^~~~~ /usr/include/c++/7/cmath:1112:11: error: ‘::exp2’ has not been declared using ::exp2; ^~~~ /usr/include/c++/7/cmath:1113:11: error: ‘::exp2f’ has not been declared using ::exp2f; ^~~~~ /usr/include/c++/7/cmath:1114:11: error: ‘::exp2l’ has not been declared using ::exp2l; ^~~~~ /usr/include/c++/7/cmath:1116:11: error: ‘::expm1’ has not been declared using ::expm1; ^~~~~ /usr/include/c++/7/cmath:1117:11: error: ‘::expm1f’ has not been declared using ::expm1f; ^~~~~~ /usr/include/c++/7/cmath:1118:11: error: ‘::expm1l’ has not been declared using ::expm1l; ^~~~~~ /usr/include/c++/7/cmath:1120:11: error: ‘::fdim’ has not been declared using ::fdim; ^~~~ /usr/include/c++/7/cmath:1121:11: error: ‘::fdimf’ has not been declared using ::fdimf; ^~~~~ /usr/include/c++/7/cmath:1122:11: error: ‘::fdiml’ has not been declared using ::fdiml; ^~~~~ /usr/include/c++/7/cmath:1124:11: error: ‘::fma’ has not been declared using ::fma; ^~~ /usr/include/c++/7/cmath:1125:11: error: ‘::fmaf’ has not been declared using ::fmaf; ^~~~ /usr/include/c++/7/cmath:1126:11: error: ‘::fmal’ has not been declared using ::fmal; ^~~~ /usr/include/c++/7/cmath:1128:11: error: ‘::fmax’ has not been declared using ::fmax; ^~~~ /usr/include/c++/7/cmath:1129:11: error: ‘::fmaxf’ has not been declared using ::fmaxf; ^~~~~ /usr/include/c++/7/cmath:1130:11: error: ‘::fmaxl’ has not been declared using ::fmaxl; ^~~~~ /usr/include/c++/7/cmath:1132:11: error: ‘::fmin’ has not been declared using ::fmin; ^~~~ /usr/include/c++/7/cmath:1133:11: error: ‘::fminf’ has not been declared using ::fminf; ^~~~~ /usr/include/c++/7/cmath:1134:11: error: ‘::fminl’ has not been declared using ::fminl; ^~~~~ /usr/include/c++/7/cmath:1136:11: error: ‘::hypot’ has not been declared using ::hypot; ^~~~~ /usr/include/c++/7/cmath:1137:11: error: ‘::hypotf’ has not been declared using ::hypotf; ^~~~~~ /usr/include/c++/7/cmath:1138:11: error: ‘::hypotl’ has not been declared using ::hypotl; ^~~~~~ /usr/include/c++/7/cmath:1140:11: error: ‘::ilogb’ has not been declared using ::ilogb; ^~~~~ /usr/include/c++/7/cmath:1141:11: error: ‘::ilogbf’ has not been declared using ::ilogbf; ^~~~~~ /usr/include/c++/7/cmath:1142:11: error: ‘::ilogbl’ has not been declared using ::ilogbl; ^~~~~~ /usr/include/c++/7/cmath:1144:11: error: ‘::lgamma’ has not been declared using ::lgamma; ^~~~~~ /usr/include/c++/7/cmath:1145:11: error: ‘::lgammaf’ has not been declared using ::lgammaf; ^~~~~~~ /usr/include/c++/7/cmath:1146:11: error: ‘::lgammal’ has not been declared using ::lgammal; ^~~~~~~ /usr/include/c++/7/cmath:1149:11: error: ‘::llrint’ has not been declared using ::llrint; ^~~~~~ /usr/include/c++/7/cmath:1150:11: error: ‘::llrintf’ has not been declared using ::llrintf; ^~~~~~~ /usr/include/c++/7/cmath:1151:11: error: ‘::llrintl’ has not been declared using ::llrintl; ^~~~~~~ /usr/include/c++/7/cmath:1153:11: error: ‘::llround’ has not been declared using ::llround; ^~~~~~~ /usr/include/c++/7/cmath:1154:11: error: ‘::llroundf’ has not been declared using ::llroundf; ^~~~~~~~ /usr/include/c++/7/cmath:1155:11: error: ‘::llroundl’ has not been declared using ::llroundl; ^~~~~~~~ /usr/include/c++/7/cmath:1158:11: error: ‘::log1p’ has not been declared using ::log1p; ^~~~~ /usr/include/c++/7/cmath:1159:11: error: ‘::log1pf’ has not been declared using ::log1pf; ^~~~~~ /usr/include/c++/7/cmath:1160:11: error: ‘::log1pl’ has not been declared using ::log1pl; ^~~~~~ /usr/include/c++/7/cmath:1162:11: error: ‘::log2’ has not been declared using ::log2; ^~~~ /usr/include/c++/7/cmath:1163:11: error: ‘::log2f’ has not been declared using ::log2f; ^~~~~ /usr/include/c++/7/cmath:1164:11: error: ‘::log2l’ has not been declared using ::log2l; ^~~~~ /usr/include/c++/7/cmath:1166:11: error: ‘::logb’ has not been declared using ::logb; ^~~~ /usr/include/c++/7/cmath:1167:11: error: ‘::logbf’ has not been declared using ::logbf; ^~~~~ /usr/include/c++/7/cmath:1168:11: error: ‘::logbl’ has not been declared using ::logbl; ^~~~~ /usr/include/c++/7/cmath:1170:11: error: ‘::lrint’ has not been declared using ::lrint; ^~~~~ /usr/include/c++/7/cmath:1171:11: error: ‘::lrintf’ has not been declared using ::lrintf; ^~~~~~ /usr/include/c++/7/cmath:1172:11: error: ‘::lrintl’ has not been declared using ::lrintl; ^~~~~~ /usr/include/c++/7/cmath:1174:11: error: ‘::lround’ has not been declared using ::lround; ^~~~~~ /usr/include/c++/7/cmath:1175:11: error: ‘::lroundf’ has not been declared using ::lroundf; ^~~~~~~ /usr/include/c++/7/cmath:1176:11: error: ‘::lroundl’ has not been declared using ::lroundl; ^~~~~~~ /usr/include/c++/7/cmath:1178:11: error: ‘::nan’ has not been declared using ::nan; ^~~ /usr/include/c++/7/cmath:1179:11: error: ‘::nanf’ has not been declared using ::nanf; ^~~~ /usr/include/c++/7/cmath:1180:11: error: ‘::nanl’ has not been declared using ::nanl; ^~~~ /usr/include/c++/7/cmath:1182:11: error: ‘::nearbyint’ has not been declared using ::nearbyint; ^~~~~~~~~ /usr/include/c++/7/cmath:1183:11: error: ‘::nearbyintf’ has not been declared using ::nearbyintf; ^~~~~~~~~~ /usr/include/c++/7/cmath:1184:11: error: ‘::nearbyintl’ has not been declared using ::nearbyintl; ^~~~~~~~~~ /usr/include/c++/7/cmath:1186:11: error: ‘::nextafter’ has not been declared using ::nextafter; ^~~~~~~~~ /usr/include/c++/7/cmath:1187:11: error: ‘::nextafterf’ has not been declared using ::nextafterf; ^~~~~~~~~~ /usr/include/c++/7/cmath:1188:11: error: ‘::nextafterl’ has not been declared using ::nextafterl; ^~~~~~~~~~ /usr/include/c++/7/cmath:1190:11: error: ‘::nexttoward’ has not been declared using ::nexttoward; ^~~~~~~~~~ /usr/include/c++/7/cmath:1191:11: error: ‘::nexttowardf’ has not been declared using ::nexttowardf; ^~~~~~~~~~~ /usr/include/c++/7/cmath:1192:11: error: ‘::nexttowardl’ has not been declared using ::nexttowardl; ^~~~~~~~~~~ /usr/include/c++/7/cmath:1194:11: error: ‘::remainder’ has not been declared using ::remainder; ^~~~~~~~~ /usr/include/c++/7/cmath:1195:11: error: ‘::remainderf’ has not been declared using ::remainderf; ^~~~~~~~~~ /usr/include/c++/7/cmath:1196:11: error: ‘::remainderl’ has not been declared using ::remainderl; ^~~~~~~~~~ /usr/include/c++/7/cmath:1198:11: error: ‘::remquo’ has not been declared using ::remquo; ^~~~~~ /usr/include/c++/7/cmath:1199:11: error: ‘::remquof’ has not been declared using ::remquof; ^~~~~~~ /usr/include/c++/7/cmath:1200:11: error: ‘::remquol’ has not been declared using ::remquol; ^~~~~~~ /usr/include/c++/7/cmath:1202:11: error: ‘::rint’ has not been declared using ::rint; ^~~~ /usr/include/c++/7/cmath:1203:11: error: ‘::rintf’ has not been declared using ::rintf; ^~~~~ /usr/include/c++/7/cmath:1204:11: error: ‘::rintl’ has not been declared using ::rintl; ^~~~~ /usr/include/c++/7/cmath:1206:11: error: ‘::round’ has not been declared using ::round; ^~~~~ /usr/include/c++/7/cmath:1207:11: error: ‘::roundf’ has not been declared using ::roundf; ^~~~~~ /usr/include/c++/7/cmath:1208:11: error: ‘::roundl’ has not been declared using ::roundl; ^~~~~~ /usr/include/c++/7/cmath:1210:11: error: ‘::scalbln’ has not been declared using ::scalbln; ^~~~~~~ /usr/include/c++/7/cmath:1211:11: error: ‘::scalblnf’ has not been declared using ::scalblnf; ^~~~~~~~ /usr/include/c++/7/cmath:1212:11: error: ‘::scalblnl’ has not been declared using ::scalblnl; ^~~~~~~~ /usr/include/c++/7/cmath:1214:11: error: ‘::scalbn’ has not been declared using ::scalbn; ^~~~~~ /usr/include/c++/7/cmath:1215:11: error: ‘::scalbnf’ has not been declared using ::scalbnf; ^~~~~~~ /usr/include/c++/7/cmath:1216:11: error: ‘::scalbnl’ has not been declared using ::scalbnl; ^~~~~~~ /usr/include/c++/7/cmath:1218:11: error: ‘::tgamma’ has not been declared using ::tgamma; ^~~~~~ /usr/include/c++/7/cmath:1219:11: error: ‘::tgammaf’ has not been declared using ::tgammaf; ^~~~~~~ /usr/include/c++/7/cmath:1220:11: error: ‘::tgammal’ has not been declared using ::tgammal; ^~~~~~~ /usr/include/c++/7/cmath:1222:11: error: ‘::trunc’ has not been declared using ::trunc; ^~~~~ /usr/include/c++/7/cmath:1223:11: error: ‘::truncf’ has not been declared using ::truncf; ^~~~~~ /usr/include/c++/7/cmath:1224:11: error: ‘::truncl’ has not been declared using ::truncl; ^~~~~~ In file included from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:11:0: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h: In function ‘unsigned char* stb::stbi__convert_format(unsigned char*, int, int, unsigned int, unsigned int)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1365:10: note: in expansion of macro ‘CASE’ CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1365:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1366:10: note: in expansion of macro ‘CASE’ CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1366:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1367:10: note: in expansion of macro ‘CASE’ CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1367:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1368:10: note: in expansion of macro ‘CASE’ CASE(2,1) dest[0]=src[0]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1368:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(2,1) dest[0]=src[0]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1369:10: note: in expansion of macro ‘CASE’ CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1369:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1370:10: note: in expansion of macro ‘CASE’ CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1370:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1371:10: note: in expansion of macro ‘CASE’ CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1371:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1372:10: note: in expansion of macro ‘CASE’ CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1372:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1373:10: note: in expansion of macro ‘CASE’ CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1373:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1374:10: note: in expansion of macro ‘CASE’ CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1374:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1375:10: note: in expansion of macro ‘CASE’ CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1375:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1361:44: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1376:10: note: in expansion of macro ‘CASE’ CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:1376:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h: In function ‘int stb::stbi__create_png_image_raw(stb::stbi__png*, stb::stbi_uc*, stb::stbi__uint32, int, stb::stbi__uint32, stb::stbi__uint32, int, int)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4054:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4054:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4055:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4055:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4056:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4056:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4057:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4057:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4058:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4058:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4050:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < nk; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4059:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4059:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4070:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_none) cur[k] = raw[k]; break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4070:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_none) cur[k] = raw[k]; break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4071:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4071:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4072:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4072:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4073:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4073:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4074:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4074:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4075:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4075:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; ^~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4068:20: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4076:13: note: in expansion of macro ‘CASE’ CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; ^~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image.h:4076:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; ^~~~~ In file included from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/mLibDepthCamera.cpp:15:0: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image_write.h: In function ‘unsigned char* stb::stbi_zlib_compress(unsigned char*, int, int*, int)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/ext-depthcamera/sensorData/stb_image_write.h:805:20: warning: unused variable ‘k’ [-Wunused-variable] unsigned int k=0, s1=1, s2=0; ^ CMakeFiles/BundleFusion_Ubuntu.dir/build.make:134: recipe for target 'CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/include/mLibDepthCamera.cpp.o' failed make[2]: *** [CMakeFiles/BundleFusion_Ubuntu.dir/external/mLib/include/mLibDepthCamera.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/src/core-util/timer.cpp: In static member function ‘static double ml::Timer::getTime()’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/src/core-util/timer.cpp:22:2: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/src/core-util/utility.cpp:6:0: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h: In function ‘void ml::util::checkedFRead(void*, UINT64, UINT64, FILE*)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h:454:10: warning: unused variable ‘elementsRead’ [-Wunused-variable] UINT64 elementsRead = fread(dest, elementSize, elementCount, file); ^~~~~~~~~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h: In function ‘void ml::util::checkedFWrite(const void*, UINT64, UINT64, FILE*)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h:459:10: warning: unused variable ‘elementsWritten’ [-Wunused-variable] UINT64 elementsWritten = fwrite(Src, elementSize, elementCount, file); ^~~~~~~~~~~~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h: In function ‘void ml::util::checkedFSeek(ml::util::UINT, FILE*)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/include/core-util/utility.h:464:7: warning: unused variable ‘result’ [-Wunused-variable] int result = fseek(file, offset, SEEK_SET); ^~~~~~ /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/src/core-util/utility.cpp: In function ‘size_t ml::util::getFileSize(const string&)’: /home/mhf/NeRF/BundleFusion_Ubuntu_V0-master/external/mLib/src/core-util/utility.cpp:457:7: warning: unused variable ‘success’ [-Wunused-variable] int success = stat(filename.c_str(), &statbuf); ^~~~~~~ CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/BundleFusion_Ubuntu.dir/all' failed make[1]: *** [CMakeFiles/BundleFusion_Ubuntu.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
I try to build the project and cmake it successfully, but the errors occured because of mLib when i make it. I replaced the empty document with the one from https://github.com/niessner/mLib.
All errors are 'xxx was not declared in the scope'. Can you update your mLib? Or tell us how to fix it?
" xxxx/BundleFusion_Ubuntu_V0/FriedLiver/Source/SiftGPU/SiftPyramid.cpp(387) : cudaSafeCall() Runtime API error 715: an illegal instruction was encountered."
I encountered this problem, any one solved?
ubuntu18.04 cuda10.1 pangolin0.4 ,rtx2060
hello! I find a problem when I make this project
/usr/bin/ld: cannot find -lOpenNI2
I put the folder "OpenNI2" under the /home/user/, and change the CMakeLists.txt content about the path of OpenNI, but it still cannot work.
CV_BGR2RGB doesn't work at opencv 4.0.
Just read the solution at NVIDIA/DALI#735.
I found that cmake can't find OpenGL. I fixed it by add 'find_package(OpenGL REQUIRED)' at CMakeLists.txt. But i don't know how to pull the litte fix ,so created a new issues. Hope the author can see and thank the author's work and the decision to open source again.
when i compile the source with 'make -j8' had same error:
usr/include/c++/6/cstdlib:124:11: error: ‘::div_t’ has not been declared
using ::div_t;
^~~~~
/usr/include/c++/6/cstdlib:125:11: error: ‘::ldiv_t’ has not been declared
using ::ldiv_t;
^~~~~~
/usr/include/c++/6/cstdlib:127:11: error: ‘::abort’ has not been declared
using ::abort;
^~~~~
and so on. 'cstdliblib.h','cmath' all report error,
cloud you help me solve the problem? thank you .
I compile the ubuntu friedliver successfully, but when I run the living room 1 in ICL-NUIM dataset or the author's default dataset, office3.sens file, I found It process each frame more and more slow,.
For about 200 frames, it will stuck, and as a consequence, my ubuntu16.04 will give no response, anyone can help me?
My configuration is : ubuntu16.04.6+cuda8.0
we test apt2.sens dataset, the process finished, but result is not completed.Testing with different strong computer devices ,we still find it. Even if we use same setting ,it happens in different datasets.So ,we have to record and show it.
<<< [Frame: 3988 ] 96327 >>>
<<< [Frame: 3988 ] 96469 >>>
[no more reintegration ops] 172 frames past end
[ stop scanning and exit ]
#VALID TRANSFORMS = 2817
[marching cubes] running marching cubes...
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000000, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000005, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000006, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000001, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000002, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000003, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000004, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000007, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000008, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000009, 3000000, 3000000)
marching cubes exceeded max number of triangles (addr, #tri, max#tri): (3000010, 3000000, 3000000)
s_streamingEnabled...
size before: 9000000
saving mesh (../data/apt2.ply) ...done!
Mesh generation time 0 seconds
done!
the processed.txt file's content :
valid = true
heapFreeCount = 96469
numValidOptTransforms = 2817
numTransforms = 3989
observing the apt2.ply in meshlab, we find many empty spaces.
Maybe anyone kowns how to fix it? thx
When i make this project, get a error that 'can not find -lOpenNI'.
So I change OpenNI2 's path to my local one at the CMakeList.txt(Include and Redist).
Hope the author can add OpenNI2 library at this project to avoid this problem.
Is there any code related to saving mesh ?
And where is the path of the saved mesh files ?
Thanks !
Hi,
when run the office datasets apt1 scene,it make the error as below:
FriedLiver: /home/recon/rgb-d/BundleFusion/BundleFusion_Ubuntu_V0/FriedLiver/Source/SiftGPU/SIFTImageManager.cpp:47: SIFTImageGPU& SIFTImageManager::createSIFTImageGPU(): Assertion `m_SIFTImagesGPU.size() < m_maxNumImages' failed.
Aborted (core dumped)
please help to give some advice, thanks
thank you for your great work! I got errors when I run "make -j4":
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:494:9: error: multiple definition of ‘enum FREE_IMAGE_TMO’
FI_ENUM(FREE_IMAGE_TMO) {
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:104:30: note: in definition of macro ‘FI_ENUM’
#define FI_ENUM(x) enum x
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:494:9: note: previous definition here
FI_ENUM(FREE_IMAGE_TMO) {
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:104:30: note: in definition of macro ‘FI_ENUM’
#define FI_ENUM(x) enum x
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:503:9: error: multiple definition of ‘enum FREE_IMAGE_FILTER’
FI_ENUM(FREE_IMAGE_FILTER) {
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:104:30: note: in definition of macro ‘FI_ENUM’
#define FI_ENUM(x) enum x
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:503:9: note: previous definition here
FI_ENUM(FREE_IMAGE_FILTER) {
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:104:30: note: in definition of macro ‘FI_ENUM’
#define FI_ENUM(x) enum x
^
/home/joen/Codes/BundleFusion_Ubuntu_V0/mLibExternal/include/FreeImage/FreeImage.h:515:9: error: multiple definition of ‘enum FREE_IMAGE_COLOR_CHANNEL’
FI_ENUM(FREE_IMAGE_COLOR_CHANNEL) {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.