Giter Site home page Giter Site logo

Comments (6)

frankfliu avatar frankfliu commented on May 22, 2024

@ntbdusty
"Unable to load library 'C:\Users\Default.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll'
This message looks suspicious. Somehow java think you are running as user "Default", that's strange.

Would you please run following command and collect the output:

cd integration
..\gradlew debugEnv

If you are login as administrator in Windows, the correct location of mxnet.dll should look like following:

C:\Users\Administrator\.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll

Somehow your path missing a \ after Default

from djl.

ntbdusty avatar ntbdusty commented on May 22, 2024

Ouch, I have to explain, do not pay attention to it. I just replaced manually real user name.
It should looks like "" 'C:\Users\UserName.mxnet\cache\1.6.0-b-SNAPSHOT-20200120mkl-win-x86_64\mxnet.dll'
Also, see logs in attach:
build.log
debugEnv.log

from djl.

frankfliu avatar frankfliu commented on May 22, 2024

@ntbdusty
I guess this is caused by you running gradle in MingW64 shell. Please try to run gradle in command prompt.

from djl.

ntbdusty avatar ntbdusty commented on May 22, 2024

@frankfliu
Unfortunately, the same result in command prompt. =(

from djl.

frankfliu avatar frankfliu commented on May 22, 2024

@ntbdusty
This is really strange, mxnet.dll is a 64-bit DLL, and your java and windows are both 64-bit. Somehow your system trying to load mxnet.dll in 32-bit mode and failed.

Can you try one more thing: delete C:\Users\UserName.mxnet folder and try it again?
Another thing to try is: install vs2015 redistribution package, see: https://github.com/awslabs/djl/blob/master/docs/development/troubleshooting.md#3-build-fails-on-windows-caused-by-unsatisfiedlinkerror

from djl.

ntbdusty avatar ntbdusty commented on May 22, 2024

@frankfliu
Many thanks, reinstalling vs2015 solved the problem.
I should have read Troubleshooting more accurate.

from djl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.