Comments (4)
This might be related to boostorg/build#481 where the Python installation is built with PyMalloc, so the header path has an m
suffix (e.g. path/to/Python/3.8.x/include/python3.8m
)
from b2.
Wow. I totally forgot about that Bug Report. Thanks for the Hint adeadman!
A general FYI for People interested: Since I have reported this Bug, I am building Boost on Linux and Windows always with:
--without-python
as a work-around.
This does not change the Detection of Python as it is hard-coded in the configuration Files but compilation works fine.
I am not using the Boost Libs currently, so I am not aware of the Cons of not building with / against Python support.
Have a nice Day.
#StaySafeStayHealthyEveryone
from b2.
I needed to build the Boost.Python libraries back in 2012 or so, and it was an absolute nightmare back then. Now, here in 2023, I'm having to do it again, and having the same b2 and jam headaches. Even ChatGPT can't get it to compile.... All we really need is better documentation. For example, I'm running into the age-old problem of the compiler complaining about not finding Python.h. Capital P in Python.h, at least on this Linux machine. I'm an extensive user of conda environments, and I'm trying to bootstrap and b2 off of one of my environments. I've burned through 3 full days now trying to get the config right, and there seems to be no hope. Of all the code I have written over the decades of writing code, nothing has ever been as completely frustrating as trying to build Boost.Python with bootstrap and b2. I'm hoping that by venting here, I go back to my build project and it magically compiles so I can get on with what I need to be doing.
from b2.
For what it is worth, as is often the case, after ranting publicly, I quickly came up with a solution that had been confounding me for days. My notes, should anyone care are here: github.com/rlovell3/boost_python_compile_notes. Those notes are for building on Ubuntu and associated flavors, using a highly customized conda environment running Python 3.11. Thank you to all the Boost contributors. Boost is truly an amazing work. b2 is still a pain though, but I get it.
from b2.
Related Issues (20)
- `ar` response files under MinGW contain paths with backslashes, which fails
- b2 fails to build for clang 3.6 HOT 1
- FreeBSD builds in CI HOT 2
- Manifest-related problems with b2 building in msvc-14.0 HOT 2
- Can't compile and install b2 with b2 HOT 1
- How to build clangw .lib HOT 2
- `b2` build fails on gcc 4.8 HOT 1
- b2 can't find MSVC toolset for Visual Studio 2022 v17.9.0 HOT 2
- Warnings about freeing a non-allocated object
- Infinite recursion in `bcp` tests HOT 3
- Config checks using `address-model=32` in Linux don't use the right flags HOT 2
- [question] Best way to pass _GLIBCXX_USE_CXX11_ABI=0/1 using b2?
- Should --abbreviate-paths be made default under Windows? HOT 15
- lzma.jam doesn't support building from source, like zlib.jam and bzip2.jam HOT 1
- zstd.jam doesn't support building from source, as zlib.jam and bzip2.jam do
- Linking Fails - dangerous relocation: R_AMD64_IMAGEBASE with __ImageBase undefined HOT 2
- Boost build fails when VS 2022 Preview is installed HOT 14
- Generate compile_commands.json HOT 8
- build error-boost1.85 with VS2022 under win10 HOT 1
- after setting using zstd in project-config.jam boost.iostreams still can not detect zstd HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from b2.