
13 Sep
2008
13 Sep
'08
12:24 p.m.
Hello. I downloaded boost.extensions from http://boost-extension.blogspot.com/?gclid=CNjp5dfJ2JUCFQsZQgod0mHbWg When I tried the first example (the shared_library one) in the tutorial, I realized that the macro BOOST_EXTENSION_EXPORT_DECL didn't prevent c++ name mangling for the example function. I had to add extern "C" before void manually. And in the second tutorial (the animals tutorial) BOOST_EXTENSION_TYPE_MAP_FUNCTION seems to be called, but when I get the map from main, it is empty. The library is found (LD_LIBRARY_PATH is set so that it finds the library) but it does not work. Thank you. Tested in gcc 4.2.3 under ubuntu 8.04.