lewes6369 / TensorRT-Yolov3

TensorRT for Yolov3
MIT License
489 stars 165 forks source link

does this work in win10? #36

Open faedtodd opened 5 years ago

faedtodd commented 5 years ago

i try to build this proj with vs2017, error occur as follow: 2>Building NVCC (Device) object sample.out/CMakeFiles/TrtNet.dir/src/Debug/TrtNet_generated_UpsampleLayer.cu.obj 2>-- Removing E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/sample/build/sample.out/CMakeFiles/TrtNet.dir/src/Debug/TrtNet_generated_UpsampleLayer.cu.obj 2>E:/software/cmake/bin/cmake.exe -E remove E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/sample/build/sample.out/CMakeFiles/TrtNet.dir/src/Debug/TrtNet_generated_UpsampleLayer.cu.obj 2>-- Generating dependency file: E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/sample/build/sample.out/CMakeFiles/TrtNet.dir/src/TrtNet_generated_UpsampleLayer.cu.obj.NVCC-depend 2>E:/software/cuda/cuda9.0/cuda_toolkit/bin/nvcc.exe -M -DCUDACC E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/code/src/UpsampleLayer.cu -o E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/sample/build/sample.out/CMakeFiles/TrtNet.dir/src/TrtNet_generated_UpsampleLayer.cu.obj.NVCC-depend -ccbin E:/software/vs2017/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -m32 --std c++11 -Xcompiler ,\"/DWIN32\",\"/D_WINDOWS\",\"/W3\",\"/GR\",\"/EHsc\",\"-Wall\",\"-Ofast\",\"-Wfatal-errors\",\"-Wall\",\"-Ofast\",\"-Wfatal-errors\",\"-D_MWAITXINTRIN_H_INCLUDED\",\"/MDd\",\"/Zi\",\"/Ob0\",\"/Od\",\"/RTC1\" -D_FORCE_INLINES -Xcompiler -fPIC -DNVCC -IE:/software/TensorRT-5.0.4.3/include -IE:/software/cuda/cuda9.0/cuda_toolkit/include -IE:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/code/include 2>nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier 2>CMake Error at TrtNet_generated_UpsampleLayer.cu.obj.Debug.cmake:219 (message): 2> Error generating 2> E:/frieza/watrix/TensorRT-Yolov3-master/tensorRTWrapper/sample/build/sample.out/CMakeFiles/TrtNet.dir/src/Debug/TrtNet_generated_UpsampleLayer.cu.obj 2> 2> 2>E:\software\vs2017\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: “cmd.exe” exit, 1。 how can i run this in windows

talebolano commented 5 years ago

yes,it can work in win10 .see my repository https://github.com/talebolano/TensorRT-Yolov3/tree/win10

faedtodd commented 5 years ago

yes,it can work in win10 .see my repository https://github.com/talebolano/TensorRT-Yolov3/tree/win10

哥们,非常感谢,不过你的repo我一直配置不好,不会编译,方便加个微信教教我不....

lewes6369 commented 5 years ago

note the fatal :

nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier

Please try the later version of cuda or the earlier Visual Studio. If I have time, I will add the docker to deploy later. Thanks.

faedtodd commented 5 years ago

note the fatal :

nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier

Please try the later version of cuda or the earlier Visual Studio. If I have time, I will add the docker to deploy later. Thanks. Thanks very much~

zcc199710 commented 5 years ago

在 win10下 打不开项目 所以没啥用啊