You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\workstation\github\tensorflow_scala>sbt
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=400m; support was removed in 8.0
[info] Loading global plugins from C:\Users\Tao\.sbt\0.13\plugins
[info] Loading project definition from D:\workstation\github\tensorflow_scala\project
[error] Error trying to determine platform.
[warn] Cannot determine platform! It will be set to 'unknown'.
[info] Set current project to all (in build file:/D:/workstation/github/tensorflow_scala/)
>
then i run compile,
error got:
> compile
[info] Building library with native build tool CMake
Exception in thread "Thread-3" java.io.IOException: Cannot run program "cmake" (in directory "D:\workstation\github\tensorflow_scala\tensorflow\target\native\unknown-unk
nown\build"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
at sbt.SequentialProcess.runAndExitValue(ProcessImpl.scala:240)
at sbt.CompoundProcess$$anonfun$1.apply$mcV$sp(ProcessImpl.scala:201)
at sbt.Spawn$$anon$3.run(ProcessImpl.scala:17)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 4 more
Exception in thread "Thread-1" java.lang.RuntimeException: No exit code: process destroyed.
at scala.sys.package$.error(package.scala:27)
at sbt.CompoundProcess$$anonfun$exitValue$1.apply(ProcessImpl.scala:193)
at sbt.CompoundProcess$$anonfun$exitValue$1.apply(ProcessImpl.scala:193)
at scala.Option.getOrElse(Option.scala:120)
at sbt.CompoundProcess.exitValue(ProcessImpl.scala:193)
at sbt.SequentialProcess$$anonfun$runAndExitValue$1.apply$mcI$sp(ProcessImpl.scala:241)
at sbt.SequentialProcess$$anonfun$runAndExitValue$1.apply(ProcessImpl.scala:241)
at sbt.SequentialProcess$$anonfun$runAndExitValue$1.apply(ProcessImpl.scala:241)
at sbt.CompoundProcess.runInterruptible(ProcessImpl.scala:214)
at sbt.SequentialProcess.runAndExitValue(ProcessImpl.scala:241)
at sbt.CompoundProcess$$anonfun$1.apply$mcV$sp(ProcessImpl.scala:201)
at sbt.Spawn$$anon$3.run(ProcessImpl.scala:17)
[info] Compiling 1 protobuf files to D:\workstation\github\tensorflow_scala\tensorflow\src\main\generated\java
[info] Compiling schema D:\workstation\github\tensorflow_scala\tensorflow\src\main\proto\CheckpointState.proto
[trace] Stack trace suppressed: run last tensorflow/*:nativeCompile for the full output.
[trace] Stack trace suppressed: run last tensorflow/protobuf:protobufGenerate for the full output.
[error] (tensorflow/*:nativeCompile) No exit code: process destroyed.
[error] (tensorflow/protobuf:protobufGenerate) error occurred while compiling protobuf files: Cannot run program "protoc": CreateProcess error=2, The system cannot find
the file specified
[error] Total time: 1 s, completed Jul 18, 2017 9:10:58 AM
what is [error] Error trying to determine platform. about?
The text was updated successfully, but these errors were encountered:
This is because the sbt-jni plugin does not currently support Windows. It shouldn't be too hard to add support for Windows (the related issue is here). If nothing happens for some time, I might tackle it, but I want to prioritize some features first.
when i run: sbt
i got:
then i run
compile
,error got:
what is
[error] Error trying to determine platform.
about?The text was updated successfully, but these errors were encountered: