No registered converter was able to produce a C++ rvalue

873 views
Skip to first unread message

Erik Basargin

unread,
May 16, 2017, 2:05:05 PM5/16/17
to opengm
Hey. I successfully followed the installation instructions Shaun Irwin.
But when typing:
python -c "import opengm"

Returns:
TypeError: No registered converter was able to produce a C++ rvalue of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > from this Python object of type str

I use:
Anaconda 2 (Python 2.7);
boost = 1.64.0
libgcc-6 = 6.2.0

Erik Basargin

unread,
May 17, 2017, 12:32:16 AM5/17/17
to opengm
Solution:
write   
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)   to the file  /opengm/CMakeLists.txt

Further:
make -j4
sudo make test
sudo make install
Reply all
Reply to author
Forward
0 new messages