google / samba-documents-provider

Access network file shares directly from the Android Downloads/Files app
GNU General Public License v3.0
638 stars 125 forks source link

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

Open baldraider opened 6 years ago

baldraider commented 6 years ago

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 commented 6 years ago

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

NikolaHadzicNs commented 6 years ago

@faterap have you found solution? Thanks

llxTnT commented 6 years ago

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

hereisderek commented 5 years ago

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 commented 5 years ago

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

I faced same issue for this today.

My Issue Link: https://github.com/google/samba-documents-provider/issues/61

Could advise how to fix this issue?

Thanks.