-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Win10 build error: gtest, no 'object' file generated #14378
Comments
Hey, this is the MXNet Label Bot. |
Thanks for the issue. Looks like a problem finding a 3rd party package. When you cloned the repo did you use the --recursive flag? Here's a link to the build from source instructions just in case. @mxnet-label-bot add [Installation, Windows, Build] |
@mxnet-label-bot add [installation, Windows, build] |
Yes, --recursive flag was used. |
Don't try to build mxnet1.4.0, it is broken, I suggest you build mxnet1.3.1, it is still broken on windows 10, but unless with a lot of efforts, you can build it. Please check this blog if you want to know how to build mxnet1.3.1 on windows. |
@stereomatchingkiss , but I successfully build mxnet with ed83071 rev. With mkl, mkl blas, cuda, cudnn, opencv... However, I have not used it yet. Is it possible that the bugs will appear when it will be used? PS. Gtest I skip during the build. |
It is a good news if you can build it on windows. How do you solve the issues of #13958 and #14343? I can build mxnet(1.3.1) with mkl too, problems is it always throw exception at runtime if you do the inference task by cpu(by gpu is fine). ed83071 is a bit newer than 1.4.0, wonder if they fix the build issues on windows already?I am still waiting next stable release. |
I did not make any changes to the code. As for Cmake, I do not remember exactly what changes I made to the configuration, but for sure nothing is critically important. Probably all of these issues were already fixed below or it was depend on VS version (my 2017, you as I understand 2015). |
I don't use vc2017, since it always break support about cuda. |
Is this related to issue found in pipeline for unrelated PR #16328
|
System and tools: Win 10 x64 Enterprise 2016 LTSB, VS 2017 15.9.8, CMake 3.13, mxnet rev ed83071.
Build configured via CMake gui. BUILD_TESTING flag was disabled.
Builded using msbuild tools:
msbuild mxnet.sln /p:configuration=debug /m
Error received:
"C:\Lib\mxnet\prebuild_x64\mxnet.sln" (default target) (1) -> "C:\Lib\mxnet\prebuild_x64\3rdparty\googletest\googletest\gtest.vcxproj.metaproj" (default target) (5) -> "C:\Lib\mxnet\prebuild_x64\3rdparty\googletest\googletest\gtest.vcxproj" (default target) (11) -> (ClCompile target) -> C:\Lib\mxnet\source\3rdparty\googletest\googletest\include\gtest/internal/gtest-port.h(996): error C2220: warning treated as error - no 'object' file generated [C:\Lib\mxnet\prebuild_x64\3rdparty\googletest\googletest\gtest.vcxproj]
The text was updated successfully, but these errors were encountered: