Created
February 13, 2023 16:15
-
-
Save infinitekh/196dde9cef2e42a07763d8e45d619cef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install taglib first ( from github , no apt-get) | |
git clone https://github.com/taglib/taglib | |
cd taglib | |
## diff !! | |
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 06a7c2fa..f987a6d4 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -50,7 +50,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$") | |
endif() | |
if(CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$") | |
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") | |
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fPIC") | |
endif() | |
if(MSVC) | |
no -fPIC ... --->>> amarok build error!!! | |
♯# then | |
mkdir build; cd build; cmake ../ | |
make | |
sudo make install | |
## next. | |
git https://github.com/KDE/amarok | |
cd amarok | |
mkdir build; cd build; cmake ../ | |
some error packages --> each ex) declative... | |
then install apt-get install libkf5declative...-dev | |
## end each; | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment