Closed ItamarKanter closed 7 years ago
I guess you are trying to compile this on Java 9. Try Java 8. Java 9 is still in beta
Thanks, No I encounter other problem.
deepwater-backend-api deepwater-mxnet deepwater-tensorflow :clean UP-TO-DATE :deepwater-backend-api:clean UP-TO-DATE :deepwater-mxnet:makeClean Makefile:21: ../thirdparty/mxnet/config.mk: No such file or directory make: *** No rule to make target '../thirdparty/mxnet/config.mk'. Stop. :deepwater-mxnet:makeClean FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':deepwater-mxnet:makeClean'.
Process 'command 'make'' finished with non-zero exit value 2
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.605 secs
You'll need to follow the instructions for building mxnet
Specifically
git submodule update --init --recursive
cp make/config.mk .
### EDIT config.mk - USE_OPENCV=0, USE_CUDA=1, USE_CUDA_PATH=...
make -j8```
Posted new binary builds for the latest version of Deep Water (incl. mxnet + TensorFlow) in the main README.md
Hello, I run ./gradlew --stacktrace clean tensorflowCompile to build the so and jar TensorFlow files and get the following error:
FAILURE: Build failed with an exception.
What went wrong: Could not determine java version from '9-internal'.
Try: Run with --info or --debug option to get more log output.
Exception is: java.lang.IllegalArgumentException: Could not determine java version from '9-internal'. at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:63) at org.gradle.api.JavaVersion.current(JavaVersion.java:72) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:32) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
I also try to install gradle but still get the same error. Any ideas how to complete the installation?