Windows 7 + vs2013 + opencv249 + cuda6.5 Environment setup

Source: Internet
Author: User

Download the relevant items at the following address and build them according to the steps:

Http://www.cnblogs.com/fische/p/4561485.html


The errors and workarounds that occur:


There are two problems with compiling blob.cpp:

Question 1:

Can't open include file cublas_v2.h

Workaround:

In the original text in the vs2013 contains directories and library directories are some of the environment variables, change them to the corresponding absolute path.

Question 2:

Std::_copy_impl:function call with Parameters The May is unsafe ...

Workaround:

http://blog.csdn.net/u012556077/article/details/50353818


Problems with compiling common.cpp:

Question 1:

fopen:this function or variable may be unsafe ...

Workaround:

Http://jingyan.baidu.com/article/49711c616b8a1ffa441b7cdc.html

Question 2:

Getpid identifier not found

Workaround:

Error 2 in http://blog.csdn.net/wishchin/article/details/45339753


Problems with compiling data_reader.cpp, Data_transformer.cpp, Layer.cpp, Layer_factory.cpp, Net.cpp, Parallel.cpp, Solver.cpp:

Issue 1 (same as problem 1 when compiling blob.cpp):

Std::_copy_impl:function call with Parameters The May is unsafe ...

Workaround:

The same as before.



Issues in the compilation:

1. Blog 3.4.2 when compiling CU files, the situation is not the same, there is no modification

2. Only the first one in Io.cpp has been modified in the blog 3.4.3.

The remaining two: the second one does not find the _msc_ver in the document, the third one to _closeshi, including the back of the same ...



Windows 7 + vs2013 + opencv249 + cuda6.5 Environment setup

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.