-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/dev/cradle-engine/cradle-engine/3rdparty/FRUT/cmake/tools/_build/Visual Studio 16 2019
Microsoft (R) Build Engine version 16.10.0+4242f381a for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
juce_core.cpp
juce_data_structures.cpp
juce_events.cpp
juce_graphics.cpp
juce_gui_basics.cpp
Generating Code...
C:\dev\cradle-engine\cradle-engine\3rdparty\JUCE\modules\juce_gui_basics\juce_gui_basics.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj [C:\dev\cradle-engine\cradle-engine\3rdparty\FRUT\cmake\tools\_build\Visual Studio 16 2019\tools_juce_gui_basics.vcxproj]
Patching cmake\tools\juce_gui_basics.cmake to add:
if (MSVC)
target_compile_options(tools_juce_gui_basics PUBLIC /bigobj)
endif()
When compiling on MSVC 16.10.0 I hit the following error:
Failed to build
IconBuilder
Versions
CMake:
3.20.2
FRUT: commit 55f1c02cc836c08ec5469f64a3f8cc89ecb535fb JUCE: unknown (no juce_core module)CMake variables
Variables from
Reprojucer.cmake
Output of
execute_process()
Patching cmake\tools\juce_gui_basics.cmake to add:
seems to resolve the issue?