apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.78k stars 6.79k forks source link

Build failure with CUDA 11.4 and vs2019 #20812

Closed yoyy123 closed 2 years ago

yoyy123 commented 2 years ago

Description

use vs2019 build mxnet.sln failed generate libmxnet.dll but not libmxnet.lib

Error Message

3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): warning MSB8064: Custom build for item "E:\software\devMXNet\apache-mxnet-190\build\CMakeFiles\21d81a15cd87f46f8342caaa6a99a5c1\warp_gen_cpp.cpp.rule" succeeded, but specified dependency "e:\software\devmxnet\apache-mxnet-190\build\release\mxnet_75.dll" does not exist. This may cause incremental build to work incorrectly. 3>mxnet.vcxproj -> E:\software\devMXNet\apache-mxnet-190\build\Release\libmxnet.dll 3>Done building project "mxnet.vcxproj". 4>------ Build started: Project: im2rec, Configuration: Release x64 ------ 4>LINK : fatal error LNK1181: cannot open input file 'Release\libmxnet.lib' 4>Done building project "im2rec.vcxproj" -- FAILED.

Environment

OpenBLAS-0.3.19+opencv-4.5.3-vc14_vc15

github-actions[bot] commented 2 years ago

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.