-
Notifications
You must be signed in to change notification settings - Fork 9
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
Can't build with MinGW (only boost 1.75.0) #19
Comments
@Tectu I got something. I can't compile if I use msys2's boost package installed via pacman, I get the file too big error (the boost installed via msys is 1.75.0 not sure if that matters). If I just set BOOST_ROOT env variable to point to an extracted version of one of these (which is also what the CI does) then it works (on my machine :p). |
I gave this a try. Results:
|
Well that's weird because the CI can build it even with 1.75.0. Must be something up with msys2's packaging of that version? |
Shouldn't be related to the msys2 package. With all three versions I downloaded the archives from |
Is it acceptable for the library not to build with boost 1.75.0 on mingw? Can msys2 install a later version currently, since if not I guess thats a no |
No problem for my side not to support boost
We can always add custom logic to the cmake scripts to error when boost In general this situation just triggers some alarm bells. What do you think? |
Agreed, it could very easily be a coincidental fix. Especially since I can't find anything in the changelogs to suggest this was an issue they specifically addressed (although it might be buried somewhere in a boost lib other than beast). I don't like it but I'm not sure we can fix this since I don't even know what causes the issue in the first place, other than its probably something to do with the template stuff introduced in #14. I did look at the diffs between 1.75 and 1.76 for beast and they did change a bunch of stuff around tls, that might've simplified the templates a bit and allowed it to build but thats just guesswork. Could |
As discussed, the best thing would be to add CI capabilities for building this library with MinGW to catch problems like this. |
Since merging #14 I am unable to build using MinGW.
Environment:
malloy-example-server-session
(with added-> std::variant<response<>>
return type on router handlers)It seems like @0x00002a is able to build according to #18 (comment)
Using
make
:Using
ninja
:As @0x00002a mentioned it might be worth separating things out into dedicated libraries for server & client. I fully agree that this should be done in the future. However, as I understand, the problem is based on the resulting translation unit(s) exceeding limits and I don't think that separating the resulting library components will affect that?
The text was updated successfully, but these errors were encountered: