-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drop boost regex requirement? #70
Comments
It is used indirectly by one boost library. I forgot which. Try dropping it and see the linker errors. |
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. |
So far I was building elements using various MinGW versions and boost 1.69 - 1.72. No problems. If you don't use |
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. |
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). |
And same for me. There are a lot more important things to do. |
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. |
Elements requires
boost::regex
in CMake files but there is not a single use of any regex in the repository.The text was updated successfully, but these errors were encountered: