Build error window #287

Closed
opened 2022-04-15 11:37:31 +02:00 by cuongphamduc · 4 comments
cuongphamduc commented 2022-04-15 11:37:31 +02:00 (Migrated from github.com)

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

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](https://user-images.githubusercontent.com/39322464/163554869-441ad333-770f-414e-92ec-5ba94045836c.png) [CMakeLists.txt](https://github.com/ceccocats/tkDNN/files/8495212/CMakeLists.txt)
perseusdg commented 2022-04-15 12:20:28 +02:00 (Migrated from github.com)

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 ?
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 ?
cuongphamduc commented 2022-04-15 12:28:31 +02:00 (Migrated from github.com)

@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 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 2022-04-15 12:41:14 +02:00 (Migrated from github.com)

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)

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 2022-04-15 12:43:22 +02:00 (Migrated from github.com)

Thanks you, I have built and run successfully.

Thanks you, I have built and run successfully.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/tkDNN#287