{"action":"created","issue":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/172","labels_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/172/comments","events_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/172/events","html_url":"https://github.com/vlfeat/matconvnet/issues/172","id":89201721,"number":172,"title":"Issue with GPU installation","user":{"login":"aakashiisc","id":12946897,"avatar_url":"https://avatars.githubusercontent.com/u/12946897?v=3","gravatar_id":"","url":"https://api.github.com/users/aakashiisc","html_url":"https://github.com/aakashiisc","followers_url":"https://api.github.com/users/aakashiisc/followers","following_url":"https://api.github.com/users/aakashiisc/following{/other_user}","gists_url":"https://api.github.com/users/aakashiisc/gists{/gist_id}","starred_url":"https://api.github.com/users/aakashiisc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aakashiisc/subscriptions","organizations_url":"https://api.github.com/users/aakashiisc/orgs","repos_url":"https://api.github.com/users/aakashiisc/repos","events_url":"https://api.github.com/users/aakashiisc/events{/privacy}","received_events_url":"https://api.github.com/users/aakashiisc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-18T05:13:38Z","updated_at":"2015-06-29T14:21:26Z","closed_at":null,"body":"Hi, \r\nI am using MATLAB 2015a, CUDA toolkit 6.5 and visual studio 2013.\r\n\r\nI am able to compile the CPU version. but here is the error I get while compiling GPU version.\r\n\r\nError using vl_compilenn>mex_link (line 452)\r\nLINK : fatal error LNK1181: cannot open input file\r\n'C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\im2row_gpu.obj'\r\n\r\n\r\n\r\nError in vl_compilenn>(parfor body) (line 404)\r\n  mex_link(opts, objs, mex_dir, flags.link) ;\r\n\r\nError in vl_compilenn (line 401)\r\nparfor i = 1:numel(mex_src)\r\n \r\n\r\n\r\n*****************verbose mode of the above error********************\r\n\r\n\r\nvl_compilenn('enableGpu', true,'verbose',1)\r\nvl_compilenn: * CUDA configuration *\r\nvl_compilenn:\tCUDA: seraching for the CUDA Devkit (use the option 'CudaRoot' to override):\r\n\t| valid |   ver | NVCC path                                                              |\r\n\t|     1 | 60513 | C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5\\bin\\nvcc       |\r\n\t|     0 |     0 | .                                                                      |\r\n\t|     0 |     0 | C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v5.5\\bin\\nvcc.exe   |\r\n\t|     0 |     0 | C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.0\\bin\\nvcc.exe   |\r\n\t|     1 | 60513 | C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5\\bin\\nvcc.exe   |\r\n\t|     0 |     0 | C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v7.0\\bin\\nvcc.exe   |\r\n\t|     0 |     0 | /usr/local/cuda/bin/nvcc                                               |\r\nvl_compilenn:\tCUDA: choosing NVCC compiler 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5\\bin\\nvcc' (version 60513)\r\nvl_compilenn:\tCUDA: using CUDA Devkit 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5'.\r\nvl_compilenn:\tCUDA: determining GPU compute capability (use the 'CudaArch' option to override)\r\nvl_compilenn:\tCUDA: NVCC architecture string: '-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" '.\r\nvl_compilenn:\tCUDA: MEX config file: 'C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml'\r\nvl_compilenn: * Compiler and linker configurations *\r\nvl_compilenn: \tintermediate build products directory: C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\r\nvl_compilenn: \tMEX files: C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex/\r\nvl_compilenn: \tMEX compiler options: -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nvl_compilenn: \tMEX linker options: -lmwblas -lgdiplus -LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5\\lib\\x64 -lcudart -lcublas -lgpu -largeArrayDims\r\nvl_compilenn: \tMEX compiler options (CUDA): -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nvl_compilenn: * Reading images *\r\nvl_compilenn: \tvl_imreadjpeg enabled\r\nvl_compilenn: \timage library: gdiplus\r\nvl_compilenn: \timage library compile flags: \r\nvl_compilenn: \timage library link flags: -lgdiplus\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\copy_gpu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\subsample_gpu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\im2row_gpu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\datacu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\normalize_gpu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\pooling_gpu.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnsubsample.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnfullyconnected.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnconv.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\datamex.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\data.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\vl_nnconvt.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\vl_nnpool.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\vl_nnnormalize.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\vl_imreadjpeg.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\vl_nnconv.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\imread_gdiplus.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\subsample_cpu.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\im2row_cpu.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnbias.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnnormalize.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\nnpooling.cu -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx -f C:\\Program Files\\MATLAB\\R2015a\\toolbox\\distcomp\\gpu\\extern\\src\\mex\\win64\\mex_CUDA_win64.xml NVCCFLAGS=-gencode=arch=compute_21,code=\\\"sm_21,compute_21\\\" $NVCC_FLAGS\r\nBuilding with 'NVIDIA CUDA Compiler'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\tinythread.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\normalize_cpu.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\pooling_cpu.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX CC: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\src\\bits\\impl\\copy_cpu.cpp -c -DNDEBUG -DENABLE_GPU -D__SSSE3__ -largeArrayDims -cxx\r\nBuilding with 'Microsoft Visual C++ 2013 Professional'.\r\nMEX completed successfully.\r\nvl_compilenn: MEX LINK: -outdir C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex -lmwblas -lgdiplus -LC:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v6.5\\lib\\x64 -lcudart -lcublas -lgpu -largeArrayDims C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\vl_nnconv.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\data.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\datamex.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnconv.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnfullyconnected.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnsubsample.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnpooling.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnnormalize.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\nnbias.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\im2row_cpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\subsample_cpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\copy_cpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\pooling_cpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\normalize_cpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\tinythread.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\im2row_gpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\subsample_gpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\copy_gpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\pooling_gpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\normalize_gpu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\datacu.obj C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\imread_gdiplus.obj\r\nBuilding with 'Microsoft Visual C++ 2013 Professional (C)'.\r\nError using vl_compilenn>mex_link (line 452)\r\nLINK : fatal error LNK1181: cannot open input file\r\n'C:\\Users\\psychroomnew\\Desktop\\matconvnet-master\\matconvnet-master\\matlab\\mex\\.build\\bits\\impl\\im2row_gpu.obj'\r\n\r\n\r\n\r\nError in vl_compilenn>(parfor body) (line 404)\r\n  mex_link(opts, objs, mex_dir, flags.link) ;\r\n\r\nError in vl_compilenn (line 401)\r\nparfor i = 1:numel(mex_src)\r\n \r\n\r\nThank you "},"comment":{"url":"https://api.github.com/repos/vlfeat/matconvnet/issues/comments/116695413","html_url":"https://github.com/vlfeat/matconvnet/issues/172#issuecomment-116695413","issue_url":"https://api.github.com/repos/vlfeat/matconvnet/issues/172","id":116695413,"user":{"login":"pengsun","id":4939990,"avatar_url":"https://avatars.githubusercontent.com/u/4939990?v=3","gravatar_id":"","url":"https://api.github.com/users/pengsun","html_url":"https://github.com/pengsun","followers_url":"https://api.github.com/users/pengsun/followers","following_url":"https://api.github.com/users/pengsun/following{/other_user}","gists_url":"https://api.github.com/users/pengsun/gists{/gist_id}","starred_url":"https://api.github.com/users/pengsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pengsun/subscriptions","organizations_url":"https://api.github.com/users/pengsun/orgs","repos_url":"https://api.github.com/users/pengsun/repos","events_url":"https://api.github.com/users/pengsun/events{/privacy}","received_events_url":"https://api.github.com/users/pengsun/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T14:21:26Z","updated_at":"2015-06-29T14:21:26Z","body":"Hi, \r\n\r\nAccording to the error message you post, I guess you had not done it in the right folder. We need reside at the root folder (`matconvnet-master` in your case) and run the m file to compile."}}