Hi, I get the following error trying to build the latest TVM (github master branch). I’m building with gcc 4.8.5.
CMakeFiles/tvm.dir/src/codegen/codegen_opengl.cc.o: In function `tvm::codegen::BuildOpenGL(tvm::Array<tvm::LoweredFunc, void>)':
codegen_opengl.cc:(.text+0x3d80): multiple definition of `tvm::codegen::BuildOpenGL(tvm::Array<tvm::LoweredFunc, void>)'
CMakeFiles/tvm.dir/src/codegen/build_opengl.cc.o:build_opengl.cc:(.text+0xc0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [libtvm.so] Error 1
make[1]: *** [CMakeFiles/tvm.dir/all] Error 2
make: *** [all] Error 2
In my config.cmake
, I have set(USE_OPENGL OFF)
but apparently it builds OpenGL library anyway.
Has anyone encountered this issue before?
Thanks