Skip to content

Can't compile OpusFile/Opus with Xcode 9 #4

@tulssinep

Description

@tulssinep

Before placing the sources in the correct folders there were like 150 errors. After copying the source files, this went down to 11 errors. What's left is the following:

OpusFile 1 issue
clang: error: no such file or directory: '/Users/Tom/Library/Developer/Xcode/DerivedData/OpusFile-dxbzyuvglxqiesfkzopmfszznotq/Build/Products/Debug/Opus.framework/Opus'

Opus 11 issues
Undefined symbols for architecture x86_64: "_celt_decode_with_ec", referenced from: _opus_decode_frame in opus_decoder.o "_celt_decoder_get_size", referenced from: _opus_decoder_get_size in opus_decoder.o "_celt_decoder_init", referenced from: _opus_decoder_init in opus_decoder.o "_celt_encode_with_ec", referenced from: _opus_encode_native in opus_encoder.o "_celt_encoder_get_size", referenced from: _opus_encoder_get_size in opus_encoder.o "_celt_encoder_init", referenced from: _opus_encoder_init in opus_encoder.o "_opus_custom_decoder_ctl", referenced from: _opus_decoder_init in opus_decoder.o _opus_decode_frame in opus_decoder.o _opus_decoder_ctl in opus_decoder.o "_opus_custom_encoder_ctl", referenced from: _opus_encoder_init in opus_encoder.o _opus_encode_native in opus_encoder.o _opus_encoder_ctl in opus_encoder.o "_run_analysis", referenced from: _opus_encode_native in opus_encoder.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Those symbols are in celt.c but somehow can't be found by opus_decoder although it imports them like this #include "celt.h"

Any ideas what I am doing wrong?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions