Comments (11)
It is used indirectly by one boost library. I forgot which. Try dropping it and see the linker errors.
from elements.
No linker errors after removing boost regex. Also, if some library is using boost regex, then it is a bug in that library's CMake files that it does not correctly expose all build requirements. One of modern CMake principles is that you should not care about transitive requirements.
from elements.
No linker errors after removing boost regex. Also, if some library is using boost regex, then it is a bug in that library's CMake files that it does not correctly expose all build requirements. One of modern CMake principles is that you should not care about transitive requirements.
Ah I just noticed that in recent versions of Boost, BTW. Which version are you using?
from elements.
No linker errors after removing boost regex. Also, if some library is using boost regex, then it is a bug in that library's CMake files that it does not correctly expose all build requirements. One of modern CMake principles is that you should not care about transitive requirements.
Ah I just noticed that in recent versions of Boost, BTW. Which version are you using?
OK, that change was introduced in 7bbec72 which coincides with working in Windows, so the linker errors probably happened with Visual Studio 2019 and Boost 1.71
from elements.
No linker errors after removing boost regex. Also, if some library is using boost regex, then it is a bug in that library's CMake files that it does not correctly expose all build requirements. One of modern CMake principles is that you should not care about transitive requirements.
Ah I just noticed that in recent versions of Boost, BTW. Which version are you using?
OK, that change was introduced in 7bbec72 which coincides with working in Windows, so the linker errors probably happened with Visual Studio 2019 and Boost 1.71
@Xeverous one thing that would definitely help is if we could have CI working, so we can at least check building on different platforms. I am also looking at ways to test. I'm a test-driven person and I find it awkward that I do not have tests. The only library I wrote without it. Testing GUIs and graphics is kinda tricky, but I probably have some ideas.
from elements.
So far I was building elements using various MinGW versions and boost 1.69 - 1.72. No problems. If you don't use date_time
's string-related methods you can also drop this once - without them boost date time library is header-only.
from elements.
So far I was building elements using various MinGW versions and boost 1.69 - 1.72. No problems. If you don't use
date_time
's string-related methods you can also drop this once - without them boost date time library is header-only.
Yeah, I know... I just don't have time to investigate.
Feel free to investigate what's happening with VS2019. It's probably a cmake thing. I can't remove the dependency now due to this issue. Try to follow the install procedure here: http://cycfi.github.io/elements/setup and see what you can do to remove the deps.
from elements.
Elements already require building some parts boost and the GCC distro I currently use has a lot of library prebuilds (including boost) so I save a lot of time thanks to it. Don't expect me to check this soon. Linking unnecessary things is not a high-prority issue for me (more of a correctness issue) and if I see something is unneeded, I can drop it anyway (like I already patch scaling).
from elements.
Linking unnecessary things is not a high-prority issue for me
And same for me. There are a lot more important things to do.
from elements.
This is now outdated. We have actually dropped all compiled boost libraries.
from elements.
This is now outdated. We have actually dropped all compiled boost libraries.
Yes we did. It took a while for me to figure out what's pulling all those libraries. It wasn't a high priority back then, but it stuck out like a sore thumb.
from elements.
Related Issues (20)
- Dynamically add/remove child element to layer HOT 2
- [Question] How best to use elements in a larger project? HOT 2
- GTK complains about command-line arguments
- Webpage margins too wide on mobile HOT 3
- Expect framebuffer to be supported HOT 1
- Menubar support HOT 6
- device_to_user point conversion HOT 3
- Crash on replacing content in post HOT 1
- Accessibility support HOT 3
- MSYS2 MinGW64 HOT 2
- reactivity? HOT 2
- Support arrow up down left right keys to navigate on focused items in an element's hierarchy. HOT 1
- Implement Read-Only Text subclass which allows selection and copy, but not destructive editing.
- ⚠️ Please: element|widget and host requests in `Feature list` discussion ⚠️ HOT 1
- size_element does not produce consistent bounds HOT 15
- Static elements resulting in Gtk errors HOT 8
- Manage Windows handling of scroll events properly
- Folder icons should be available by default HOT 4
- Redesign and optimize the Text Editor
- Remove requirement for DLLs 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 elements.