|
Boost Users : |
Subject: [Boost-users] [Reflextion] Please help me, i have trouble with reflextion
From: Mario Chacon (the.masch_at_[hidden])
Date: 2008-11-06 18:54:17
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 ?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net