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

cannot run C compiled programs in i386 x86_64 #12

Open
Nandhacse94 opened this issue Jan 27, 2017 · 2 comments
Open

cannot run C compiled programs in i386 x86_64 #12

Nandhacse94 opened this issue Jan 27, 2017 · 2 comments

Comments

@Nandhacse94
Copy link

i have successfully implemented the library files given by you.
But when compiling bash build-libopus.sh, it shows Cannot Run C Compiled programs.

checking whether the C compiler works... no
configure: error: in /Users/Documents/Opus-iOS-master/build/src/opus-1.1.4': configure: error: C compiler cannot create executables See config.log' for more details.

And when i remove i386 x86_64 in build-libopus.sh line Number 50. it successfully build the build-libopus.sh.

what is the reason behind the ARCHS=i386 x86_64 giving cannot run c compiled programs error?

@obaskanderi
Copy link

I believe that pull request #11 addressed this issue

@iwasrobbed
Copy link
Contributor

You may not have set your SDK version correctly either, such as if you are using later versions of Xcode:

screen shot 2017-03-31 at 12 46 47 pm

If you look in the config.log file within build/src/opus-1.1.3/, you'll find the error about halfway down.

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

3 participants