ceccocats / tkDNN

Deep neural network library and toolkit to do high performace inference on NVIDIA jetson platforms
GNU General Public License v2.0
718 stars 208 forks source link

Build error window #287

Closed cuongphamduc closed 2 years ago

cuongphamduc commented 2 years ago

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. image CMakeLists.txt

perseusdg commented 2 years ago

I have a couple of questions :

cuongphamduc commented 2 years ago

@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

perseusdg commented 2 years ago

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)

cuongphamduc commented 2 years ago

Thanks you, I have built and run successfully.