How to fix Fatal Error: File Too Big

Hi all,
Does anyone know how to fix the “Too many sections” / “File too big” errors when building a JUCE project with CLion? The error is coming from juce_gui_basicis.cpp.obj.

Based on https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections, the solution seems to be adding -Wa,-mbig-obj to the “Extra Compiler Flags” field of the corresponding exporter.

I hope this helps.

1 Like