Code Blocks OpenCV build failed

时间:2017-08-05 11:02:49

标签: opencv cmake mingw codeblocks

Having an issue with trying to build any opencv version with code::blocks.

Imgur

I've have built opencv successfully before and have no idea what the issue is.

I've tried following many different tutorials on building opencv using mingw 4.9.2 and CMake. I have also tried using mingw32 and mingw64.

But I continue to receive the errors shown in the image above.

My question is; What is the issue? How can I fix this? And, lastly, what am I doing wrong?

1 个答案:

答案 0 :(得分:1)

发现我使用的OpenCV版本与MinGW有问题。测试了一大堆OpenCV版本(3.3,3.2,3.1,2.4.13,2.4.13.3)。

我发现OpenCV版本2.4.9与最新版本的CMake和MinGW一起工作。

我以为这是为了帮助其他人在创建OpenCV时遇到问题,以便使用MinGW / Code :: Blocks

相关问题