Skip to content

Fix building IconBuilder when using latest VS2019 (16.10+) #685

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

Merged
merged 2 commits into from
May 28, 2021

Conversation

McMartin
Copy link
Owner

Resolves #684

@MartyLake: please review, thanks!

@steve-baker-cradle: please have a look at the second commit (602ece8) and let me know whether what I wrote is correct. Thanks!

McMartin added 2 commits May 27, 2021 22:39
Otherwise, building IconBuilder fails with:

  JUCE\modules\juce_gui_basics\juce_gui_basics.cpp : fatal error C1128:
  number of sections exceeded object file format limit: compile with
  /bigobj

This was not caught on CI because the Azure Pipelines VMs have VS2019
version 16.9.31229.75 installed [1].

[1]: https://github.com/actions/virtual-environments/blob/win19/20210516.0/images/win/Windows2019-Readme.md#visual-studio-enterprise-2019
@McMartin McMartin requested a review from MartyLake May 27, 2021 20:46
Copy link
Collaborator

@MartyLake MartyLake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ! Thanks for your contribution Mr Baker !

@steve-baker-cradle
Copy link

@McMartin Looks good to me! 👍

@McMartin McMartin merged commit 00a7bcc into main May 28, 2021
@McMartin McMartin deleted the fix-building-IconBuilder branch May 28, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IconBuilder compilation on MSVC 16.10.0 requires the /bigobj flag
3 participants