小编Jt1*_*995的帖子

如何使用mingw32-make在opencv编译期间解决'不命名类型'?

我正在尝试使用额外的java(ximgproc)模块编译opencv.用Cmake生成文件后,我尝试使用带有cmd的"mingw32-make"命令生成.jar和.dll,但是我收到了以下错误.

我正在关注本指南:https://zami0xzami.wordpress.com/2016/03/16/building-java-wrapper-for-opencv/

我该如何解决?

 C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp:175:14: error: 'thread' in namespace 'std' does not name a type
         std::thread second_workthread;
              ^~~~~~
C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp:176:14: error: 'mutex' in namespace 'std' does not name a type
         std::mutex mtx;
              ^~~~~
C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp:177:14: error: 'condition_variable' in namespace 'std' does not name a type
         std::condition_variable objectDetectorRun;
              ^~~~~~~~~~~~~~~~~~
C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp:178:14: error: 'condition_variable' in namespace 'std' does not name a type
         std::condition_variable objectDetectorThreadStartStop;
              ^~~~~~~~~~~~~~~~~~
C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp: In member function 'void cv::DetectionBasedTracker::SeparateDetectionWork::setParameters(const cv::DetectionBasedTracker::Parameters&)':
C:\Users\Jt1995\Desktop\opencv-master\modules\objdetect\src\detection_based_tracker.cpp:143:30: error: 'mutex' is not a member of 'std'
             std::unique_lock<std::mutex> mtx_lock(mtx); …
Run Code Online (Sandbox Code Playgroud)

opencv cmake mingw32

6
推荐指数
1
解决办法
1571
查看次数

android你没有权限访问/在这个服务器WAMP上

我试图用我的Android设备打开我的wamp服务器,但我得到"你没有权限访问/在这个服务器上的Android"apache版本是2.4.18.i尝试修改httpd.conf但它不起作用.现在它的像这样:

DocumentRoot "c:/wamp64/www"

<Directory "c:/wamp64/www/">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files. …
Run Code Online (Sandbox Code Playgroud)

php apache android wampserver

1
推荐指数
1
解决办法
2439
查看次数

标签 统计

android ×1

apache ×1

cmake ×1

mingw32 ×1

opencv ×1

php ×1

wampserver ×1