Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

wscript:223: error: could not configure a c compiler! #55

Open
baldraider opened this issue Apr 22, 2018 · 5 comments
Open

wscript:223: error: could not configure a c compiler! #55

baldraider opened this issue Apr 22, 2018 · 5 comments

Comments

@baldraider
Copy link

Getting an error on running sh configure.sh on mac

Creating standalone toolchain...
usage: make_standalone_toolchain.py [-h] --arch
{arm,arm64,mips,mips64,x86,x86_64}
[--api API]
[--stl {gnustl,libc++,stlport}] [--force]
[-v]
[--package-dir PACKAGE_DIR | --install-dir INSTALL_DIR]
make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers
Configuring Samba...
Checking for program gcc or cc : ['/Users/sasuke/Downloads/samba-4.5.1/cc_shim.py', '/Users/sasuke/Downloads/samba-4.5.1/bin/ndk/toolchain/bin/clang']
/Users/sasuke/Downloads/samba-4.5.1/lib/replace/../../buildtools/wafsamba/wscript:223: error: could not configure a c compiler!

@faterap
Copy link

faterap commented May 9, 2018

Have you got a solution of this? I've encounted the same problem.

@NikolaHadzicNs
Copy link

@faterap have you found solution?
Thanks

@llxTnT
Copy link

llxTnT commented Jul 28, 2018

make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers
please use NDK r15c
the higher version can't recognize arguments: --unified-headers

@hereisderek
Copy link

make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers
please use NDK r15c
the higher version can't recognize arguments: --unified-headers

just delete --unified-headers, it is the default for newer versions

@jerrychong25
Copy link

Hi @baldraider @faterap @NikolaHadzicNs @llxTnT @hereisderek,

I faced same issue for this today.

My Issue Link: #61

Could advise how to fix this issue?

Thanks.

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

No branches or pull requests

6 participants