Mads Kjeldgaard

Results 203 comments of Mads Kjeldgaard

I tried adding `-DCMAKE_POSITION_INDEPENDENT_CODE=ON` to the generate step of cmake to resolve this latter problem (the error seems to recommend adding -fPIC compiler flag but the internet says this should...

> I tried adding `-DCMAKE_POSITION_INDEPENDENT_CODE=ON` to the generate step of cmake to resolve this latter problem (the error seems to recommend adding -fPIC compiler flag but the internet says this...

> -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ``` [ { "directory": "/home/alarm/.cache/paru/clone/supercollider-flucoma-git/src/supercollider-flucoma-git-r1179.5956e97/build", "command": "/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -isystem /usr/share/supercollider-headers/include/plugin_interface -isystem /usr/share/supercollider-headers/include/common -isystem /usr/share/supercollider-headers/common -isystem /usr/share/supercollider-headers/external_libraries/boost -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS...

Haha don't stress about it... I'll do the same. We'll figure it out ! Get Outlook for Android

Just tried it again making sure to clean up before install but still get the same errors about dangerous relocations and recompiling with -fPIC. A random idea: Could this be...

I just remembered having the same issue with the daisysp library in this plugin suite https://www.github.com/madskjeldgaard/mkplugins/tree/main/CMakeLists.txt

> This SO post suggests that (sometimes?) GCC cares about where `fPIC` appears in the invocation: https://stackoverflow.com/questions/332767/recompile-with-fpic-option-but-the-option-is-already-in-the-makefile > > What happens if you _also_ add `-fPIC` to CXXFLAGS before the...

also tried this flavour of cmake just in case: ``` cmake -E env CXXFLAGS="-fPIC" cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DFLUID_PATH=$FLUCOMA_CORE -DSC_PATH=$SC_SRC -DCMAKE_INSTALL_PREFIX=$DEST .. ```

.... Sorry for the cliffhanger. I am now getting A LITTLE BIT FURTHER. The good news: No more fpic complaints. The bad news: the simd stuff is back. These commands:...