Fatal error while building Boost Python binding: cannot open input file 'boost_python.lib'

My build keeps encountering a fatal error, and I cannot find out why this is the case. I copied all of the Python libs from boost_1_76_0\lib64-msvc-14.1 into my project directory and followed every step listed at https://www.mail-archive.com/cplusplus-sig@python.org/msg03634.html, but my boost_python.lib file apparently does not exist.

The exact error message:
1
2
3
4
5
6
7
(base) C:\local\boost_1_76_0\CPlusPlus\Sample_Source\_Common>b2
warning: no Python configured in user-config.jam
warning: will use default configuration
...found 70 targets...
...updating 2 targets...
msvc.link.dll apdfldoc.pyd
LINK : fatal error LNK1181: cannot open input file 'boost_python.lib'
Last edited on
Your listed steps link doesn't go anywhere.
That's because the browser interprets the comma as being part of the link. If you remove the trailing comma, it works.

To the OP, it's helpful if you put a space after the URL before any punctuation, otherwise clicking the link won't work. Like so:

[...] listed at https://www.mail-archive.com/cplusplus-sig@python.org/msg03634.html , but [...]
Ah, okay. Thanks.
Topic archived. No new replies allowed.