Comments (6)
We should be able to narrow this down to somewhere in your package / its use of BH.
By way of background:
- BH currently has about 50 reverse depends, these all build without the
std::cout
issue -- as they are all on CRAN - I was wrestling for long time with another Boost using package of mine, and a colleague eventually tracked it down deep inside of Boost Fusion where
std::cout
was used as a fallback when no other output was define -- and we were able to override withRcpp::Rcout
which then uses the R stream so that the package is now on CRAN
So can I suggest that you try a minimal usage case, and build it up until you reach the full complexity of your package. Somewhere on the way we will probably find the Boost component tickling this.
Patching BH itself is somewhat out of the question, and as mentioned above, has not been needed.
from bh.
I will try to analyze my package in detail. Thank you!
Could you point me to the package you mentioned above? I would like to check their source and how they overrided with Rcpp::Rcout.
from bh.
It was RcppStreams and this change -- but I consider this to be somewhat specific to the package.
from bh.
Also, when I grep for std::cout
in your sources I still see some not-commented out uses (though I did only look very briefly and may have missed #define
statements around them). But if that is the case, you may want to make sure you take care of those before turning to Boost...
from bh.
I see. Thanks! I will try to analyze my code more carefully.
from bh.
No worries. I will close this now, please do feel free to re-open it when you find something needing a change in BH.
from bh.
Related Issues (20)
- Some way to prune BH HOT 7
- BH is taking too much time (More than 30 mins) to install even after successful download. HOT 6
- Adding Mp11 HOT 5
- Addition of (all of) boost/polygon (to also include voronoi.hpp) HOT 4
- Backporting deprecation warning fix for integer_log2.hpp ? HOT 4
- Path length adjustments break certain includes HOT 8
- Add accumulators as an official package
- Package missing from org.renjin.cran repositories HOT 6
- include license file HOT 5
- Include Boost Beast in next upstream update HOT 21
- Update BH to 1.75.0 and minor regressions requiring downstream changes HOT 37
- boost geometry C++14 R 3.6 patch HOT 8
- Include boost process? HOT 8
- Include boost ublas? HOT 3
- Upgrade to Boost 1.78 HOT 11
- Add Boost::Lambda2 ?
- Installation error r-devel-linux-x86_64-debian-gcc HOT 24
- A request to add timer/include/boost/progress.hpp HOT 11
- Compilation of `bigmemory` fails in Alpine Linux apparently due to BH version HOT 2
- BH 1.81.0 upgrade plan HOT 10
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 bh.