Comments (9)
Thanks for quick response and update @faithfracture
from apple-boost-buildscript.
I can create pull request for you if you want.
from apple-boost-buildscript.
It's interesting that this is actually a problem. My project expects boost headers to be located in <boost/libname>, but I've never had a problem using the framework as is.
I can totally add an option to do that though. (Depending on how it affects my project, I may just make it the default, since it's more correct anyways.)
from apple-boost-buildscript.
Heh totally (meaning you should prioritize your projects). I was thinking you would just add an argument to handle that case.
It doesn't bother me since I use the static libs and modified cpprestsdk to also take the static libs. I was just checking the framework for completeness before doing a pull request on that project.
But since they mentioned your repo, thought I'd give the heads up.
from apple-boost-buildscript.
Oh, they do mention it. That's cool.
My thought was that I'd make this the default and provide a parameter to switch back to the current behavior, so I don't break everyone else's projects. (But again, I'll only do that if it doesn't blow my project up. Selfish, I know :) )
from apple-boost-buildscript.
They're using the old GIST too... I think I'll create an issue with them to use this repo instead, since that one doesn't work with the current version of Xcode (and I don't think it has for a while...)
from apple-boost-buildscript.
As a forewarning, they are slow to respond it seems regarding anything iOS. And it isn't clear to me why they didn't even put a link. I actually gave them a link to it here microsoft/cpprestsdk#436
Heh, be selfish ;). That's what forks are for. Anyways thanks, you saved me a ton of time. I'm usually the guy that has to decipher all the autoconf and do the static lib builds. But this was one of the rare times I could actually use something right out of the box. So it has been super helpful.
If you want me to test building and using on one of your branches, just let me know, I'll be happy to donate some CPU cycles.
from apple-boost-buildscript.
Just to point out, I also faced the same issue. I am also trying to use cpprestsdk across my desktop and mobile client and initially used their documentation for compiling boost for macOS and iOS, which point to outdated gist.
Anyway thanks for great work @faithfracture, As I am new to C++ and everything, this really helps a lot.
@mobileben I would really like to get in touch with you for this as you are also doing similar stuff. Thanks guys.
from apple-boost-buildscript.
Ok, so it looks like when you include a framework in an Xcode project it assumes that everything in the Headers
directory are already under a root directory with the same name of the framework. I.E., if the framework is called boost.framework
, it's assumed that everything in the Headers
directory will be included as "boost/someheader.hpp". So, I did not make having headers be under a boost
parent directory the default. You will instead need to pass the --framework-headers-root
flag to the script.
Fixed in commit 9d3b873
from apple-boost-buildscript.
Related Issues (20)
- Xcode 11.4 unknown argument: '-fcoalesce-templates' HOT 3
- Accepting pull requests? HOT 2
- Catalyst compatibility HOT 11
- Boost filesystem directory_iterator problem on iOS? HOT 24
- Universal binaries with more than one arch for macOS fail on creating xcframework HOT 3
- Using xcframework in Ccode HOT 1
- Universal Boost dynamic libraries (Intel arch and Apple Silicon arch) HOT 2
- Ignoring building Boost.Locale for iOS HOT 2
- license HOT 1
- Boost Context iOS HOT 1
- Collaborator(s) HOT 3
- Getting error: "have the same architectures (arm64) and can't be in the same fat output file" HOT 9
- How to build boost python with python3
- *.xcframework is not working in iOS project HOT 2
- Boost built and ready for iOS/macOS (repo) HOT 2
- Not clear how to pass array to --boost-libs or --ios-archs HOT 6
- Building boost 1.80.0 with BCP (thinning)
- XCFramework missing boost/asio/ssl.hpp
- Unable to build boost: Error staging iPhone. HOT 1
- Fatal Error when I run the script on an M1 Mac
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 apple-boost-buildscript.