nonlinear1 / BundleFusion_Ubuntu_V0

This is BundleFusion for Ubuntu version
139 stars 31 forks source link

compile issues #11

Open dqqDQ opened 4 years ago

dqqDQ commented 4 years ago

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 .

jsBrique commented 4 years ago

I have same problem ...

hitsz-zuoqi commented 4 years ago

The same...

qingyuanchen1997 commented 4 years ago

same,did you solve this problem?

Frozenheart1998 commented 4 years ago

same, have you solved that?

zhuangpeixi commented 4 years ago

you can use gcc-5

Hhsssssss commented 4 years ago

did any one solve this problem? i need some help

mbanani commented 2 years ago

The libraries are declared within the wrong name scope. Adding this to the top of external/mLib/include/mLibDepthCamera.cpp seems to fix the issue.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>