Ask Your Question

koor's profile - activity

2017-07-13 04:14:35 -0600 received badge  Enthusiast
2017-07-12 08:58:03 -0600 commented question ALL_BUILD error when building OpenCV from source

the interesting part is;when i try to build on my home pc i only get linker errors from the dnn module,when i try to build on my work pc i get linker errors from modules like highgui,core,features2d. so i can't just "simply" remove them from the solution

2017-07-11 11:12:38 -0600 commented question ALL_BUILD error when building OpenCV from source

if the problem re-occurs with other modules i will definitely do,thanks @berak

2017-07-10 10:35:58 -0600 commented question ALL_BUILD error when building OpenCV from source

I "fixed" this issue by removing "opencv_dnn","opencv_perf_dnn" and "opencv_test_dnn" from the solution, but one shouldn't get linker errors like this when building OpenCV from source?

2017-07-08 06:23:26 -0600 commented question ALL_BUILD error when building OpenCV from source

here you go :)

2017-07-08 05:36:36 -0600 asked a question ALL_BUILD error when building OpenCV from source

Hello all

I am trying to build the latest OpenCV which i downloaded from Github with Visual Studio 2013 on a Windows 7 64-bit machine using cmake GUI.The build options i am using are;

  • WITH_CUDA: ON
  • WITH_OPENCL: OFF
  • WITH_TBB: ON
  • CUDA_ARCH_BIN: 6.1 (MY CARD IS A GTX 1070)
  • CUDA_ARCH_PTX: 6.1

the rest is on default.When i right click ALL_BUILD and wait for it to finish i get the following output;

image description

  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(330): error C2065: 'int32_t' : undeclared identifier
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(330): error C2065: 'buffer' : undeclared identifier
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(330): error C2059: syntax error : ')'
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(331): error C2065: 'buffer' : undeclared identifier
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(333): error C2065: 'buffer' : undeclared identifier
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(336): error C2065: 'buffer' : undeclared identifier
  • C:\Users\can\Desktop\training\opencv-master\modules\dnn\src\torch\THDiskFile.cpp(337): error C2065: 'buffer' : undeclared identifier
  • LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_dnn330d.lib'
  • LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_dnn330d.lib'

How can i resolve this issue? Any help is much appreciated :)