-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failed cause mxnet.dll is not a valid Win32 application #22
Comments
@ntbdusty Would you please run following command and collect the output:
If you are login as administrator in Windows, the correct location of mxnet.dll should look like following:
Somehow your path missing a \ after Default |
Ouch, I have to explain, do not pay attention to it. I just replaced manually real user name. |
@ntbdusty |
@frankfliu |
@ntbdusty Can you try one more thing: delete C:\Users\UserName.mxnet folder and try it again? |
@frankfliu |
Hello, guys. Could you help me?
When I tried to build app I've got an error
"Unable to load library 'C:\Users\Default.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll':
2020-01-23T03:20:04.060+0300 [ERROR] [system.err] %1 is not a valid Win32 application."
Command for build is "./gradlew run -Dmain=ai.djl.examples.training.TrainMnist"
It's strange, because I have the environment showed below:
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
Microsoft Windows [Version 10.0.17763.864]
OS Name Microsoft Windows 10 Enterprise LTSC
Version 10.0.17763 Build 17763
System Type x64-based PC
Gradle 6.0.1
Build time: 2019-11-18 20:25:01 UTC
Revision: fad121066a68c4701acd362daf4287a7c309a0f5
Kotlin: 1.3.50
Groovy: 2.5.8
Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019
JVM: 1.8.0_162 (Oracle Corporation 25.162-b12)
OS: Windows 10 10.0 amd64
The text was updated successfully, but these errors were encountered: