Comments (7)
i'll look into fixing this over the next few weeks, if nobody else gets around to it.
from libui-rs.
CXXFLAGS+=-stdlib=libc++ cargo build
The above seems to be also a working solution.
from libui-rs.
this is an upstream issue in libui (andlabs/libui#422) caused by an even further upstream issue in CMake
from libui-rs.
@hajsf as a temporary workaround you could try doing the following:
Open
/Library/Developer/CommandLineTools/Packages/
.
Run the packagemacOS_SDK_headers_for_macOS_10.14.pkg
.
Found at https://blog.driftingruby.com/updated-to-mojave/.
I did not personally test it, hence can't confidently say whether it'd work.
from libui-rs.
I have the same issue.
The solution with the package did not work for me as the directory does not exist on my system. This is probably because I'm still running on macOS 10.13.
The other solution (libc++ as standard library in C++ flags) did work though.
from libui-rs.
I have the same problem on macOS Mojave 10.14.2. That is a shame, I really wanted to use this library for my next projects 😞
from libui-rs.
and I think I was able to fix it on our side! logic is basically just adding --stdlib=libc++
to CXXFLAGS when TARGET is an apple triple, via some code in build.rs
. PR is #59.
from libui-rs.
Related Issues (20)
- ScrollArea missing HOT 1
- integration with asynchronous code HOT 1
- Instructions to build the examples HOT 2
- iui = "0.3" in toml - not work, require git folder. Git method - work. HOT 6
- Missing comma in example
- Hi can I please have an example of how to draw a simple window with some text? HOT 2
- Is browser/wasm support planned? HOT 1
- [usage] Externally trigger UI update HOT 1
- Is this project still under development? HOT 16
- Reference-counted AreaHandlers for interactive canvas scenarios HOT 1
- Support uiForm as Form HOT 1
- Cmake issue when building iui v 0.3.0 on windows 8.1 HOT 3
- Linker error when compiling basic example on arm64 macOS (Apple Silicon) HOT 2
- Unable to compile ui-sys HOT 1
- dyld: Library not loaded: @rpath/libui.A.dylib error on macOS
- passing &ui to every single method in the entire library HOT 2
- Build fails catastrophically on my macOS system HOT 4
- Move away from `failure` HOT 1
- in applicationShouldTerminate: HOT 3
- ui-sys does not recompile if a libui file changes
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 libui-rs.