Skip to content
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

[Windows / MSVC] Issues while building a basic JUCE example #770

Open
GammaSigma1234 opened this issue Apr 27, 2024 · 1 comment
Open

[Windows / MSVC] Issues while building a basic JUCE example #770

GammaSigma1234 opened this issue Apr 27, 2024 · 1 comment

Comments

@GammaSigma1234
Copy link

GammaSigma1234 commented Apr 27, 2024

I tried using FRUT with a very simple officiale JUCE tutorial, namely the Animation Geometry. I chose this particular example because I am testing FRUT, and I wanted to use the simplest JUCE project possible in order to avoid incompatibilities and issues.

In the end I managed to build and run Animation Geometry, but during the whole process, while following the FRUT guide, I got a warning and an error:

  1. Warning: during the "We first build and install FRUT with CMake" step, when launching cmake --build . --target install --parallel, I got this message:
Project_With_FRUT\FRUT\cmake\tools\PListMerger\main.cpp(141,33): warning C4996: 'juce::XmlElement::createDocument': This has been deprecated in favour of the toString method. [Project_With_FRUT\FRUT\build\cmake\tools\PListMerger\PListMerger.vcxproj]
  1. Error: when building the project (Animation Geometry), I got this message:
error C1128: number of sections exceeded object file format limit: compile with /bigobj

I solved the compilation error by adding this instruction near the top of the newly generated CMakeLists.txt:

if(MSVC)
    add_compile_options(/bigobj)
endif()

I'm building on a Windows 10 machine, using MSVC compiler (installed with Windows SDK 10.0.22621.0) and CMake version 3.23.1. With the aforementioned correction, I was able to correctly build and launch the Geometry Animation tutorial.

@GammaSigma1234 GammaSigma1234 changed the title Issues while building a basic JUCE example [Windows / MSVC] Issues while building a basic JUCE example Apr 27, 2024
@andresestrella
Copy link

I went through pretty much exactly the same as you lol. Thanks for the solution

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

No branches or pull requests

2 participants