Can't run apps (Ubuntu 21.04)

When I try to run an app made with JUCE by double clicking on it I get the message
Could Not Display "Projucer”
There is no application installed for “shared library” files. Do you want to search for an application to open this file?
Cancel Search in Software
(Ubuntu 21.04)

Is there anything I can do to solve that problem ?


There’s some info on this issue in this thread.

One option is to add -fno-pie to the extra compiler/linker flags when building the project (you can do this in the Projucer, or set the CXXFLAGS and LDFLAGS variables when building with a makefile).

make clean; make CXXFLAGS=-fno-pie LDFLAGS=-fno-pie

Another option is to compile with Clang instead of GCC. If Clang is installed, you can specify the compiler by setting CXX=clang++ during the build.

make clean; make CC=clang CXX=clang++

Thanks !

I’ll try Clang

– Eigil