Comments (4)
Quick question: Is that header-only? Can it be made header-only?
A few Boost library require linking, a few of those can be #ifdef
'ed to remove some features to not require linking. But most examples still requiring linking are text / string related so I am not too hopeful here.
Can you try to find out some more details?
from bh.
Besides the BH package I do include (for a unix OS) also the following,
#ifndef _WIN32
#include <boost/locale.hpp>
#endif
As of boost 1.62 the boost/locale.hpp file includes the following:
#ifndef BOOST_LOCALE_HPP_INCLUDED
#define BOOST_LOCALE_HPP_INCLUDED
#include <boost/locale/boundary.hpp>
#include <boost/locale/collator.hpp>
#include <boost/locale/conversion.hpp>
#include <boost/locale/date_time.hpp>
#include <boost/locale/date_time_facet.hpp>
#include <boost/locale/encoding.hpp>
#include <boost/locale/format.hpp>
#include <boost/locale/formatting.hpp>
#include <boost/locale/generator.hpp>
#include <boost/locale/gnu_gettext.hpp>
#include <boost/locale/info.hpp>
#include <boost/locale/localization_backend.hpp>
#include <boost/locale/message.hpp>
#include <boost/locale/util.hpp>
#endif
The locale issue is apparent, for instance, when I try to convert non english text to lower/upper case.
from bh.
That does not answer my question about the need for linking. Looking at your package I see
@LOCALE_LIBS@ -lboost_system
and that is a no-no for the BH package. No linking. Headers only.
from bh.
And it is right in your own configure.ac
as LOCALE_LIBS="-lboost_locale"
.
Sorry, can't do in BH. You can try to build on top of BH and shadow with local copies your package. Some stan related packages did that for a while, and we moved things which are in fact header-only over.
BH cannot give you all of Boost without linking. No Free Lunch. Sorry.
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.