THMonster / Revda

Tools to play live stream with danmaku.
GNU General Public License v2.0
214 stars 12 forks source link

源码安装,编译成功,链接失败 #64

Closed fuermobai closed 1 month ago

fuermobai commented 5 months ago

发行版: gentoo 桌面: xfce4 安装依赖后,编译成功,链接错误,具体内容如下: _cmake -DCMAKE_BUILDTYPE=Release ..

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Cargo: /usr/bin/cargo (found version "1.75.0") -- Found Rust: /usr/bin/rustc (found version "1.75.0") -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /home/libre/Downloads/Revda/build

make [ 50%] Generating /home/libre/Downloads/Revda/dmlive/target/release/dmlive Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling version_check v0.9.4 ... Finished release [optimized] target(s) in 2m 38s [ 50%] Built target dmlive-bin [100%] Generating src-tauri/target/release/revda yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 1.47s. yarn run v1.22.19 $ vue-tsc --noEmit && vite build vite v4.4.10 building for production... ✓ 1406 modules transformed. dist/index.html 0.48 kB │ gzip: 0.30 kB dist/assets/index-54e53519.css 325.02 kB │ gzip: 44.24 kB dist/assets/index-678862f7.js 889.89 kB │ gzip: 284.22 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:

error: could not compile app (bin "app") due to previous error Error failed to build app: failed to build app error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. make[2]: [CMakeFiles/revda-bin.dir/build.make:75: src-tauri/target/release/revda] Error 1 make[1]: [CMakeFiles/Makefile2:138: CMakeFiles/revda-bin.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

eselect gcc list [1] x86_64-pc-linux-gnu-13 *

fuermobai commented 5 months ago

切换成gcc12,一样的问题。

THMonster commented 4 months ago

你看看会不会是这个问题 https://github.com/ffplayout/ffplayout/issues/580#issuecomment-2041338122

fuermobai commented 3 months ago

你看看会不会是这个问题 ffplayout/ffplayout#580 (comment)

谢谢!我回去晚上试试,然后过来反馈。