anilsathyan7 / Portrait-Segmentation

Real-time portrait segmentation for mobile devices
MIT License
638 stars 133 forks source link

Android build error #36

Open zzzzzzpc opened 3 years ago

zzzzzzpc commented 3 years ago

after i clone the folder of seg_v2 and wanna build it by gradle on android studio, i meet the erro that:

`Execution failed for task ':app:compileDebugRenderscript'.

com.android.ide.common.process.ProcessException: Error while executing process /home/zpc/Android/Sdk/build-tools/29.0.2/llvm-rs-cc with arguments {-I /home/zpc/Android/Sdk/build-tools/29.0.2/renderscript/include/ -I /home/zpc/Android/Sdk/build-tools/29.0.2/renderscript/clang-include/ -rs-package-name=android.support.v8.renderscript -p /home/zpc/Documents/Portrait-Segmentation-master/android/SegMe_V2/app/build/generated/renderscript_source_output_dir/debug/out -target-api 24 /home/zpc/Documents/Portrait-Segmentation-master/android/SegMe_V2/app/src/main/rs/saturation.rs -O 3 -o /home/zpc/Documents/Portrait-Segmentation-master/android/SegMe_V2/app/build/generated/res/rs/debug/raw}

it seems that caused by the saturation.rs, but I cannot figure it out. Any solutions? pls!

`

MeLonJ10 commented 3 years ago

I met the same build error. Have you solved it?

SB2318 commented 2 years ago

I want to work on this.