Build error window
cuongphamduc opened this issue · 4 comments
I followed the build instructions on windows with respective dependencies but no success. This is the problem I encountered. Can someone help me? I also removed the --compiler-options '-fPIC' option at line 85 in the Cmake file because it doesn't support windows. I attached the error image and my cmake file.
CMakeLists.txt
I have a couple of questions :
- are you building it in the release or debug mode ?
- is this the issue when building all test_*.exe or a specific one ?
@perseusdg I build on Release mode, and I build all with command :
cmake -DCMAKE_BUILD_TYPE=Release -G"Ninja" ..
ninja -j4
It seem error occurs when executing build to tkDNN.dll and tkDNN.lib
I think some recent changes to the master branch need some windows specific modifications ,till that is sorted out , you can use the tensorrt-8 branch here https://github.com/perseusdg/tkDNN (tested on windows 10/11)
Thanks you, I have built and run successfully.