title: Getting an error when compiling with RenderScript library: llvm-rs-cc.exe'' finished with non-zero exit value -1073741515
body: <p>As the title mentions, when I want to add RenderScript to my project, I get the following error (on Gradle Sync):</p>
  
  <p>Error:Execution failed for task '<strong>:app:compileDebugRenderscript</strong>'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Dries\AppData\Local\Android\sdk2\build-tools\23.0.1**llvm-rs-cc.exe'' finished with non-zero exit value -1073741515**</p>
  
  <p>I'm using Android Studio 1.3.2</p>
  
  <p>This is my build.gradle:</p>
  
  <pre><code>    import com.android.build.gradle.internal.dsl.ProductFlavor
  
  apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "com.example.dries.myocrtest"
          minSdkVersion 17
          targetSdkVersion 23
          versionCode 1
          versionName "1.0"
  
          renderscriptTargetApi 22
          renderscriptSupportModeEnabled true
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.0.1'
      compile project(':tesstwo')
      compile project(':fileExplorer')
  }
  </code></pre>
  
  <p><strong>tesstwo build.gradle file:</strong></p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "19.1.0"
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 20
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
      sourceSets{
          main{
              jni.srcDirs=[]
          }
      }
  }
  </code></pre>
  
  <p><strong>fileExplorer build.gradle file:</strong></p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  </code></pre>
  
  <p>Additional errors referred to in my comment on Stephen Hines' post:</p>
  
  <pre><code>warning: Linking two modules of different data layouts: 'C:\Users\Dries\AppData\Local\Android\sdk2\build-tools\23.0.1\renderscript\lib\bc\armeabi-v7a\libclcore.bc' is 'e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64' whereas 'C:\Users\Dries\AndroidDev\MyOCRTEST\app\build\generated\res\rs\debug\raw\bc64\inverse.bc' is 'e-m:e-i64:64-i128:128-n32:64-S128'
  warning: Linking two modules of different target triples: C:\Users\Dries\AppData\Local\Android\sdk2\build-tools\23.0.1\renderscript\lib\bc\armeabi-v7a\libclcore.bc' is 'armv7-none-linux-gnueabi' whereas 'C:\Users\Dries\AndroidDev\MyOCRTEST\app\build\generated\res\rs\debug\raw\bc64\inverse.bc' is 'aarch64-none-linux-gnueabi'
  E/bcc     (27612): Unable to compile the source to file C:\Users\Dries\AndroidDev\MyOCRTEST\app\build\intermediates\rs\debug\obj\armeabi-v7a\inverse.o! (Error loading input bitcode)
  Error:Execution failed for task ':app:compileDebugRenderscript'.
  &gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Dries\AppData\Local\Android\sdk2\build-tools\23.0.1\bcc_compat.exe'' finished with non-zero exit value 1
  Failed to compile script!
  </code></pre>