KikoPlayProject / KikoPlay

KikoPlay - NOT ONLY A Full-Featured Danmu Player 不仅仅是全功能弹幕播放器
https://kikoplay.fun
GNU General Public License v3.0
1.57k stars 96 forks source link

fix qmake process and cmake process under linux system #176

Closed zerobikappa closed 2 weeks ago

zerobikappa commented 2 weeks ago

分别修复了linux下的qmake和cmake的编译过程,使其能在linux系统下正常编译通过。 更改后linux下的手动编译步骤如下: (1) 使用qmake时:

git clone https://github.com/KikoPlayProject/KikoPlay
mkdir build
cd build
qmake ../KikoPlay/build.pro
make

(2) 使用cmake时:

git clone https://github.com/KikoPlayProject/KikoPlay
mkdir build
cmake -B build/ -S KikoPlay/
cmake --build build/

P.S. 最近的版本(1.0.2~1.0.3)发现虽然能编译通过,但出现Segmentation fault,关于这个问题我可能会另起一个issue讨论。因此在这里我只想首先解决编译无法通过的问题。