Skip to content

Opus サブモジュール内の silk/HP_variable_cutoff.c ファイルが、存在しないヘッダーファイル main_FLP.h をインクルードしようとしています。 #1

@Unser-a0

Description

@Unser-a0

タイトル: [ビルドエラー] Opusモジュール全体で存在しないmain_FLP.hが参照されている

問題の説明:
Opusサブモジュール内の複数のファイルが存在しないヘッダーファイルmain_FLP.hをインクルードしようとしています。個々のファイルを修正しても他のファイルで同じエラーが発生し、ビルドが完了しません。

再現手順:

  1. 最新mainブランチをクローン
    git clone https://github.com/krkrz/krkrsdl2.git
    cd krkrsdl2
    git submodule update --init --recursive
  2. Mesonビルドディレクトリ設定
    meson setup builddir
  3. ビルド実行
    meson compile -C builddir

期待される動作:
プロジェクトが正常にビルドされること

実際の動作:

  1. 最初のエラー:
    ../external/krkrz/external/opus/silk/HP_variable_cutoff.c:34:10: fatal error: main_FLP.h: No such file or directory
  2. これを修正後、別のファイルで同じエラー:
    ../external/krkrz/external/opus/silk/enc_API.c:41:10:: fatal error: main_FLP.h: No such file or directory
  3. 複数ファイルで連鎖的にエラー発生

環境:

  • OS: Windows (Cygwin)
  • コンパイラ: GCC 13.4.0
  • Mesonバージョン: 1.4.2
  • Opusサブモジュールコミット: 4f7980c

追加情報:

  1. 公式Opusリポジトリ(xiph/opus)にはmain_FLP.hは存在しない
  2. 以下のファイルで問題が確認されている:
  • silk/HP_variable_cutoff.c
  • silk/enc_API.c
    .........
  1. 単一ファイル修正では不十分
  2. 根本原因: カスタムOpusバージョンが不完全なFLP実装を使用

标题: [构建错误] Opus模块中多处引用了不存在的main_FLP.h文件

问题描述:
Opus子模块中多个文件试图包含不存在的头文件main_FLP.h。即使修复单个文件,其他文件仍会出现相同错误,导致构建无法完成。

重现步骤:

  1. 克隆最新main分支
    git clone https://github.com/krkrz/krkrsdl2.git
    cd krkrsdl2
    git submodule update --init --recursive
  2. 配置Meson构建目录
    meson setup builddir
  3. 执行构建
    meson compile -C builddir

预期行为:
项目应正常构建成功

实际行为:

  1. 首次错误:
    ../external/krkrz/external/opus/silk/HP_variable_cutoff.c:34:10: fatal error: main_FLP.h: No such file or directory
  2. 修复后,其他文件出现相同错误:
    ../external/krkrz/external/opus/silk/enc_API.c:41:10:: fatal error: main_FLP.h: No such file or directory
  3. 多个文件连续报错

环境:

  • 操作系统: Windows (Cygwin)
  • 编译器: GCC 13.4.0
  • Meson版本: 1.4.2
  • Opus子模块提交: 4f7980c

补充信息:

  1. 官方Opus仓库(xiph/opus)中不存在main_FLP.h
  2. 以下文件确认存在问题:
  • silk/HP_variable_cutoff.c
  • silk/enc_API.c
    .........
  1. 单独修复文件无法解决问题
  2. 根本原因: 自定义Opus版本使用了不完整的FLP实现

Title: [Build Error] Multiple references to non-existent main_FLP.h throughout Opus module

Description:
Multiple files in the Opus submodule attempt to include the non-existent header main_FLP.h. Fixing individual files leads to the same error in other files, preventing complete build.

Steps to Reproduce:

  1. Clone latest main branch
    git clone https://github.com/krkrz/krkrsdl2.git
    cd krkrsdl2
    git submodule update --init --recursive
  2. Setup Meson builddir
    meson setup builddir
  3. Execute build
    meson compile -C builddir

Expected Behavior:
Project should build successfully

Actual Behavior:

  1. Initial error:
    ../external/krkrz/external/opus/silk/HP_variable_cutoff.c:34:10: fatal error: main_FLP.h: No such file or directory
  2. After fixing, same error in different file:
    ../external/krkrz/external/opus/silk/enc_API.c:41:10:: fatal error: main_FLP.h: No such file or directory
  3. Continuous errors across multiple files

Environment:

  • OS: Windows (Cygwin)
  • Compiler: GCC 13.4.0
  • Meson Version: 1.4.2
  • Opus Submodule Commit:4f7980c

Additional Information:

  1. main_FLP.h does not exist in official Opus repo (xiph/opus)
  2. Following files confirmed problematic:
  • silk/HP_variable_cutoff.c
  • silk/enc_API.c
    .........
  1. Individual file fixes are insufficient
  2. Root cause: Custom Opus version uses incomplete FLP implementation

確認事項:

  • 私はこの問題が既存のissueで報告されていないことを確認しました

  • 問題は最新のmainブランチで再現可能です

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions