Re: please include python26_d.lib in the installer



On Mar 31, 12:50 pm, Compie <joh...@xxxxxxxxx> wrote:
On 27 mrt, 17:01, Carl Banks <pavlovevide...@xxxxxxxxx> wrote:

OTOH, it's possible that SWIG and Python just happen to use the same
macro to indicate debugging mode.  So I think you raise a valid point
that this can be problematic.  Perhaps something like _Py_DEBUG should
be used instead.

This would be a good solution IMHO. I'm not the only one facing this
problem. The internet is full of people looking for this file...http://www.google.com/search?q=python25_d.lib+error+cannot

_DEBUG is automatically defined by Visual Studio when you build the
Debug version of a project.http://msdn.microsoft.com/en-us/library/0b98s6w8.aspx

So I'm proposing: please use _PYTHON_DEBUG for this purpose. Would
this cause any problems?

Go to bugs.python.org and file a bug report with the conflict it is
causing you. (Well, first, make sure no one else has reported it.) I
advise you to stress the downfalls of the current approach in a
professional, respectful manner. You have been coming off as slightly
whiny in this thread, and that'll hurt your chances of getting such a
change approved. In particular, don't ask for anything, or ask why it
was implemented that way; just report the issue and suggest a fix.

I suspect they used _DEBUG deliberately. I disagree with that: a
generic symbol like _DEBUG should be avoided in general, and should
really be avoided when it entails a change in interface.


Carl Banks
.



Relevant Pages

  • Re: VS2003 C++: multiply defined symbols linking errors... Help Please!
    ... Debug mode, the linker reported the following errors. ... This report will consist of many entries ... Then use the "referenced" entries to find the object files that reference it. ...
    (microsoft.public.vsnet.debugging)
  • Re: please include python26_d.lib in the installer
    ... macro to indicate debugging mode. ... Go to bugs.python.org and file a bug report with the conflict it is ... I suspect they used _DEBUG deliberately. ... Yes you are right, whining here won't help, I will file a bug report. ...
    (comp.lang.python)
  • Re: I need help!!!!!!! Pameter problem
    ... Private Sub Units_AfterUpdate ... For an example 1/1/05 and 5/30/05 and the gallons unit in the report. ... And I am trying to make an report that is between two dates and show just the units that I selected in the combo box. ... When I go into the debug modeand exit it the report shows that info. ...
    (microsoft.public.access.formscoding)
  • Re: Report Timeout - how to change timeout parameter
    ... When I debug the commandtimeout is 30 but it looks like ... get this value in debug mode but if it's from the CurrentProject.Connection ... Finally, in your case, it's also not clear if the generation of the report ... Sylvain Lafontaine, ing. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: please include python26_d.lib in the installer
    ... macro to indicate debugging mode. ...  So I think you raise a valid point ... Debug version of a project. ...
    (comp.lang.python)