nonlinear1 / BundleFusion_Ubuntu_V0

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

FreeImage.h mutiple definition #15

Closed sysu17363087 closed 1 year ago

sysu17363087 commented 1 year ago

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) {

sysu17363087 commented 1 year ago

there are another FreeImage.h under /usr/local which i guess is conflicted with this file. so i delete it then it works