Comments (5)
Figured out the source of the problem. I should have imported the module. This is missing from documentation, though. I can provide a patch.
from build.
Yep, patch or pull request for docs will be helpful.
Thanks,
On Пт, 20 марта 2015 at 21:07 Dmitry [email protected] wrote:
Figured out the source of the problem. I should have imported the module.
This is missing from documentation, though. I can provide a patch.—
Reply to this email directly or view it on GitHub
#65 (comment).
from build.
It turns out, using just plain import my_module ;
does not work. It does allow invocation of rules from the module, but it also tries to load my_module.jam. I did not notice that at first, because I created my_module.jam while I tried to solve the problem. So, loading fails (with an error message) without the file, but everything else works, due to IMPORT_MODULE
builtin rule used in import
implementation. In the end, I tried IMPORT_MODULE my_module ;
and it works, but IMPORT_MODULE
is not documented (as far as I see).
So, I think IMPORT_MODULE
should also be documented.
from build.
AMDG
On 03/20/2015 03:06 PM, Dmitry wrote:
It turns out, using just plain
import my_module ;
does not work. It does allow invocation of rules from the module, but it also tries to load my_module.jam. I did not notice that at first, because I created my_module.jam while I tried to solve the problem. So, loading fails (with an error message) without the file, but everything else works, due toIMPORT_MODULE
builtin rule used inimport
implementation. In the end, I triedIMPORT_MODULE my_module ;
and it works, butIMPORT_MODULE
is not documented (as far as I see).So, I think
IMPORT_MODULE
should also be documented.
Agreed, but you should generally use import with
a separate file instead of using "module" directly.
In Christ,
Steven Watanabe
from build.
I understand that. My point was that an example from the official manual does not work. I think that incomplete (and as it turns out even incorrect in some places) documentation is the largest problem of Boost.Build. Maybe maintainers could provide me with a guideline on what parts of documentation need contribution the most?
P.S. PR for this particular issue is on way.
from build.
Related Issues (20)
- No option to bootstrap with libc++ HOT 1
- After building b2, lib are generated fine, but I get linker error LNK1181 cannot open input file 'C:\boost_1_77_0\stage.obj' HOT 1
- Misspelling when running bootstrap.bat HOT 2
- MSYS2/Mingw-w64: --no-cmake-config causes fiber and stacktrace to be ignored by the build system, no reason shown HOT 3
- Building boost for Apple Silicon( Arm64 ) HOT 2
- Wrongly trying to build static b2 with intel-linux HOT 1
- b2 does not build on intel-linux HOT 1
- build error on Raspberry Pi 2 Model B HOT 1
- Duplicate initialization of intel-linux HOT 1
- No option to bootstrap with libc++ HOT 2
- Boost MacOs dylibs containing arm64 and x86_64 arch in a single file HOT 1
- No 'bootstrap.jam' was found by searching for: HOT 1
- build results change after 2038 HOT 1
- MinGW Boost.Build not compiling HOT 1
- Can't compile on windows mingw, missing <versionhelpers.h> HOT 1
- architecture=arm+x86: clang error cannot use 'precompiled-header' output with multiple -arch options HOT 1
- Bootstrap procedure writes to source directory HOT 1
- boost-1.83.0-r2 build error on loongson2f notebook use gentoo os HOT 1
- breaking change with rsp file when migrating from boost 1.78 to boost 1.83 under windows/mingw64 HOT 1
- It takes too long to compile boost copy files using Vcpkg on Windows platform HOT 1
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 build.