Comments (2)
Thanks for reporting this issue. We now enable PIC for binary data targets: fac6f4c
from juce.
A rough fix would be to just add the workaround to the example.
I'm not sure whether we should enable PIC for all binary data targets, as sometimes these will only be linked into executable targets that don't require PIC. That said, it looks like linking a PIC staticlib into a non-PIC executable works, so perhaps this is the simplest solution.
It looks like the existing CMake support is attempting to set this properly on all its targets, though, so I guess it's that support that needs to be amended to also include the binary data target.
I'm not sure - I think we only enable PIC for plugin shared-code and wrapper targets.
from juce.
Related Issues (20)
- [Bug]: AUv3 crashes 100% of the time with macos 14 + ableton 11
- [Bug]: submitting to ios app store results in ITMS-91053: Missing API declaration error HOT 4
- [Bug]: [6.1.7 - 7.0.10] repaint issue: InvalidateRect() called with wrong rect size if coming from keyboard hook
- [Bug]: AudioTransportSource::hasStreamFinished nullptr exception
- [Bug]: Program freezes when clicking note B8 in MPEDemo, but DemoRunner is fine HOT 1
- [Bug]: BinaryBuilder returns 0 (success) on failure HOT 1
- Add LICENSE-GPL file to repostiory HOT 3
- [Bug]: native macOS top bar menu memory leak
- [Bug]: Right clicking in WebView causes crash HOT 2
- [Bug]: Switch from webkit2gtk 4.0 to 4.1
- [Bug]: Review all uses of __clang_major__
- [Bug]: JUCE_x86 failed to setup due to "The code execution cannot proceed because clang_rt.asan_dynamic-x86_64.dll was not found" on ASAN of windows with MSVC
- [Bug]:vs2019 exception on exit for both debug and release version
- [Bug]: TimerThread singleton assertion error on unexpected recreation HOT 1
- [Bug]: AudioFormatReaderSource::getNextAudioBlock() incorrect when looping short files HOT 1
- [Bug]: Memory leak when closing Reaper with the plugin window open HOT 2
- [Bug]: AUResources.r Dependency Link in the Readme leads to a 404 page not found HOT 1
- [Bug]: (Juce 8) Crash if loaded image is larger than maximum bitmap size
- [Bug]:(JUCE 8) No Close Button or Other Window Controls Displayed in JUCE 8 Projucer Window HOT 1
- [Bug]: (JUCE 8) WebSliderParameterAttachment returns INT_MAX for numSteps
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 juce.