Comments (8)
I see what is going on: JUCE requires C++17 since juce-framework/JUCE@b3a4d54, which was released in JUCE 7.0.3.
FRUT hasn't been updated yet to support JUCE 7.0.3. I'll take care of fixing that as soon as possible.
from frut.
Hi @lucreciaef,
On Windows, you can use CLion with the MSVC toolchain that comes with Visual Studio. See https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html#MSVC. You don't have to use WSL.
However, if you still want to use WSL, FRUT should work just fine. Could you please share the CMakeCache.txt
file in a new comment? I'd like to see how FRUT was configured.
from frut.
I am having the same problem on my Ubuntu 20.04 machine too when I try build and install FRUT.
/home/tom/JUCE/modules/juce_core/system/juce_CompilerSupport.h:91:3: error: "JUCE requires C++17 or later"
#error "JUCE requires C++17 or later"
The JUCE itself could be correctly built stand alone. I am using gcc 9.4.0 and clang 10.0.0-4ubuntu1.
from frut.
Hi @McMartin
Thank you very much for the quick reply.
I was fortunately able to make this work today! So I'll share what happened here for the record:
I initially tried with Ubuntu so that I could follow the exact installation instructions in the FRUT readme, which are linux commands. It doesn't work otherwise (or I'm not aware of how to do it). So, I wasn't able to create the CMakeLists.txt
file myself - a colleague with a Linux machine generated it for me, and I pasted it into my project file and changed the folder paths.
I opened the project on CLion and got an error saying that it couldn't find the "reprojucer" file and that "C++17" was required. I went ahead and simply edited the CMakeLists.txt file... replaced C++14
with C++17
on " CXX_LANGUAGE_STANDARD "C++17"
", and corrected the reprojucer.cmake location path, which was somehow wrong - CMake build worked. (?)
Then, when trying to run the project .exe I ran into another problem: fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
...After reading many threads about what this is and what it means, I found a fix and added
if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
endif()
in the CMakeLists.txt
file ... And that finally worked and launched the program.
I removed these manual hacky fixes and changed the toolchain to Visual Studio (instead of MinGW-64) and I run into the same errors. So I put back those additions in the CMakeLists.txt file.
To sum up: I'm no longer blocked but I'd still like to see what went wrong with the Ubuntu vm. I'm sending the CMakeCache.txt from the /FRUIT/build folder.
from frut.
I opened #750 to fix this issue. Feel free to give it a try and let me know if anything is not working as expected.
from frut.
@McMartin I just tried again. Sadly it failed at 31%. Screenshot below:
I do have the package libx11-dev installed in its latest version. CMakeCache file below!
CMakeCache.txt
from frut.
@lucreciaef as documented in https://github.com/juce-framework/JUCE/blob/master/docs/Linux%20Dependencies.md, you also need the package libxrandr-dev
(and a few other ones).
from frut.
@McMartin Thanks for the hint. I thought I had them all but two were missing.
The build and install worked now. I got stuck with $ cmake .. -G<generator>
but my guess is that I'm simply missing many other dependencies on this wsl ("Cmake was unable find ...."). So I'll get to reading more about this later :)
from frut.
Related Issues (20)
- Reprojucer.cmake doesn't support the setting `USE_LEGACY_BUILD_SYSTEM`
- Reprojucer.cmake doesn't support the setting `USE_IPP_LIBRARY_ONE_API`
- Reprojucer.cmake doesn't support the setting `USE_MKL_LIBRARY_ONE_API`
- JUCE 7 causing "Undefined symbols for architecture x86_64" HOT 8
- Invalid Audio IO Settings in Standalone Linux Project HOT 4
- Question: Release build containing local build strings HOT 3
- Trailing whitespace bug on JUCEOPTIONS definitons in modules HOT 1
- Not finding AudioUnitSDK files inside of juce_audio_plugin_client module HOT 6
- "math cannot parse the expression" Error in Reprojucer when configuring a project HOT 5
- Call different jucer_appconfig_header based on exporter? HOT 3
- CMake cannot find contents of JUCE/modules HOT 3
- CMake Error at Jucer2CMake/CMakeLists.txt:22 (message): JUCE_ROOT must be defined HOT 1
- FRUT with Mac OS
- MacOS/iOS compilation/signing Workflow
- Undefined symbols for architecture x86_64 when building FRUT on macos 11 HOT 1
- JUCE ARA PluginDemo build Projucer/FRUT discrepancy
- EXTRA_LINKER_FLAGS are OTHER_LIBTOOLFLAGS in Xcode Project
- How to use target_link_libraries HOT 1
- [Windows / MSVC] Issues while building a basic JUCE example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frut.