On Thu, Nov 6, 2008 at 8:54 PM, Mario Chacon
<the.masch@gmail.com> wrote:
Hello, I am trying to use boos-reflexion but I have this trouble in this thread:
http://archives.free.net.ph/message/20080913.122428.8014a555.fi.html
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.3.2 under ubuntu 8.10.
Can somebody help me ?