Skip to content

Instantly share code, notes, and snippets.

@infinitekh
Created February 13, 2023 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinitekh/196dde9cef2e42a07763d8e45d619cef to your computer and use it in GitHub Desktop.
Save infinitekh/196dde9cef2e42a07763d8e45d619cef to your computer and use it in GitHub Desktop.
# 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