#10932 closed Bugs (fixed)
Boost.Python Missing Include Placeholders
Reported by: | Owned by: | Stefan Seefeld | |
---|---|---|---|
Milestone: | To Be Determined | Component: | python USE GITHUB |
Version: | Boost 1.57.0 | Severity: | Showstopper |
Keywords: | nvcc python missing include | Cc: |
Description
Hi,
I am compiling Boost.Python with nvcc/6.5, gcc/4.6.2, python/2.7.8 and cmake/3.0.1 right now.
As a side note, I modified the standard FindPythonLibs.cmake a bit to match the cuda_add_library calls.
During compile, get an error
boost/python/exception_translator.hpp(22): error: identifier "_1" is undefined boost/python/exception_translator.hpp(22): error: identifier "_2" is undefined
due to a missing include:
#include <boost/bind/placeholders.hpp>
The attached patch and GitHub pull request no. 13 fix the issue.
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | patchIncludePython.txt added |
---|
comment:1 by , 8 years ago
Owner: | changed from | to
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
just for reference, the issue was triggered as soon as BOOST_BIND_NO_PLACEHOLDERS
was defined in user code.
Note:
See TracTickets
for help on using tickets.
Patch: Add missing include (bind placeholders)