Hi,
I try to compile a clean checkout from the github on my Arch Linux system (gcc-9.2.0, CUDA 10.2).
I get a linker error if support for CUDA is switched on while linking tools/im2rec.cc (or cpp-package/example, like:
undefined reference to
std::__cxx11::basic_ostringstream`
This kind of error is seen if two compilation units are linked that have been compiled with different C++ standards (C++ ABI incompatibility).
The error vanishes if CUDA (USE_CUDA) is switched off.
If I compile the sources of MXnet-1.5.1 with CUDA support (in the same environment) I don’t get the linker errors!
Maybe -std=c++11
is not correctly passed to the submodules?
Oliver