[python|1.36_beta] Why am I forced to define BOOST_PYTHON_STATIC_LIB?
Hi! I am using VS2005SP1, compiling debug version with MFC in a static lib. No problem for boost libs to auto-select the correct (static) libraries all the time. Enters Boost.Python which deliberately chooses to ignore my compiler settings and to set BOOST_PYTHON_DYNAMIC_LIB and then later at boost\python\detail\config.hpp, line 128: #ifdef BOOST_PYTHON_DYNAMIC_LIB # define BOOST_DYN_LINK // <---- BOOM! #endif which obviously is properly catched in auto_link.hpp, line 292 Everything works as expected if I define BOOST_PYTHON_STATIC_LIB, but I do not understand why I have to take that extra effort. All other boost libs play together with my the compiler settings ... Am I missing something? Markus
on Tue Aug 05 2008, Markus Werle
Hi!
I am using VS2005SP1, compiling debug version with MFC in a static lib. No problem for boost libs to auto-select the correct (static) libraries all the time.
Enters Boost.Python which deliberately chooses to ignore my compiler settings and to set BOOST_PYTHON_DYNAMIC_LIB and then later at boost\python\detail\config.hpp, line 128:
#ifdef BOOST_PYTHON_DYNAMIC_LIB # define BOOST_DYN_LINK // <---- BOOM! #endif
which obviously is properly catched in auto_link.hpp, line 292
Everything works as expected if I define BOOST_PYTHON_STATIC_LIB, but I do not understand why I have to take that extra effort. All other boost libs play together with my the compiler settings ...
Am I missing something?
Probably not. Can you open a ticket at http://svn.boost.org ? A patch would be very, very much appreciated too! Thanks, -- Dave Abrahams BoostPro Computing http://www.boostpro.com
David Abrahams
on Tue Aug 05 2008, Markus Werle
wrote: [...] Am I missing something?
Probably not. Can you open a ticket at http://svn.boost.org ? A patch would be very, very much appreciated too!
http://svn.boost.org/trac/boost/trac/boost/newticket yields: ---- Error: Not Found No handler matched request to /trac/boost/newticket TracGuide — The Trac User and Administration Guide ---- Do I need a Trac/SVN Userid? Markus
Markus Werle
http://svn.boost.org/trac/boost/trac/boost/newticket yields:
---- Error: Not Found No handler matched request to /trac/boost/newticket
TracGuide — The Trac User and Administration Guide ----
Do I need a Trac/SVN Userid?
Arrgghhh! There is a duplication in the URL /trac/boost/tract/boost, so I tried with removing one et voila, it offers a form, but after some time of editing and submitting I get a "Submission rejected as potential spam (Akismet says content is spam)" Lost half an hour for nothing now. Could have been stored in a moderated queue at least. Back button leads to expired form, so all my editing is lost. This is how you draw people away from reporting bugs. I propose using a mechanism like gmane, where you type some text from an image in order to identify yourself as human. And yes I will request a user id now. Markus
on Sun Aug 10 2008, Markus Werle
Markus Werle
writes: http://svn.boost.org/trac/boost/trac/boost/newticket yields:
---- Error: Not Found No handler matched request to /trac/boost/newticket
TracGuide — The Trac User and Administration Guide ----
Do I need a Trac/SVN Userid?
Arrgghhh!
There is a duplication in the URL /trac/boost/tract/boost, so I tried with removing one et voila, it offers a form, but after some time of editing and submitting I get a
"Submission rejected as potential spam (Akismet says content is spam)"
Lost half an hour for nothing now. Could have been stored in a moderated queue at least. Back button leads to expired form, so all my editing is lost. This is how you draw people away from reporting bugs.
I propose using a mechanism like gmane, where you type some text from an image in order to identify yourself as human. And yes I will request a user id now.
I agree that we should do something about this. Akismet seems to make far too many mistakes. I wonder if http://trac.edgewall.org/wiki/SpamFilter or http://projects.otaku42.de/wiki/ScallyWhack/Introduction (or both together) might do a better job for us. Doug, is that something we could look into? -- Dave Abrahams BoostPro Computing http://www.boostpro.com
participants (2)
-
David Abrahams
-
Markus Werle