Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C compiler cannot create executables in Xcode 9.4.1 #20

Open
lawlietop123 opened this issue Jul 20, 2018 · 5 comments
Open

C compiler cannot create executables in Xcode 9.4.1 #20

lawlietop123 opened this issue Jul 20, 2018 · 5 comments

Comments

@lawlietop123
Copy link

when compiling bash build-libopus.sh, it shows Cannot Run C Compiled programs.

configure: error: in `/Users/mac/Downloads/OpusKit-master/Submodules/Opus-iOS/build/src/opus-1.1.3':
configure: error: C compiler cannot create executables

@daholino
Copy link

I'm late to the party but I had the same problem. Changing SDK version to 11.4 in build-libopus.sh fixed my problem. If you want to see your SDKs you can do it with: xcodebuild -showsdks

@Davarg
Copy link

Davarg commented Dec 26, 2018

I've only updated
VERSION="1.3"
SDKVERSION="12.1"
and everything work

@xuan9
Copy link

xuan9 commented Apr 9, 2019

Please build-libopus.sh to auto choose SDK version:
SDKVERSION=$(xcrun --sdk iphoneos --show-sdk-version)

@TongFangyuan
Copy link

Please build-libopus.sh to auto choose SDK version:
SDKVERSION=$(xcrun --sdk iphoneos --show-sdk-version)

Thanks, that solved my problem.

@Chetan9007
Copy link

Please build-libopus.sh to auto choose SDK version:
SDKVERSION=$(xcrun --sdk iphoneos --show-sdk-version)

Thanks, Best answer, you save my day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants