Comments (10)
这次我大致弄清楚了,
无法定位程序输入点_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE
这个错误是因为anaconda 中的 LIBSTDC++-6.DLL 与 MinGW64 的LIBSTDC++-6.DLL 冲突所导致的,在配置环境变量时将 MinGW64 的 bin 路径移到高于 anaconda 的 mingw-w64/bin 路径更高优先级的位置就可以了。
from opencv-mingw-build.
dll已经被添加到Path用户变量里面,是不行的,之后把dll就和exe放在同一目录下也不行的,而后我再把dll放在system32下面还是不行的
from opencv-mingw-build.
无法定位程序输入点...于动态链接库...
这个意思是能找到dll文件,但是找不到对应的库入口。原因可能很多,但我猜是你在32位的程序中使用了我编译的64位 OpenCV-4.1.1-x64 导致的,生成64位目标程序就可以了。
from opencv-mingw-build.
@sennnnn 现在怎么样了?若是解决了,我将关闭这个 issue。
from opencv-mingw-build.
感谢作者,暂时先关闭吧,目前已经转为使用 msvc 了,等过一段时间再来转回 MinGW
from opencv-mingw-build.
your stdc++ version is too older than what the libopencv is compiled with.
the opencv3.4 is compiled with gcc7, and the document of the repo says gcc8, i think the opencv4 maybe compiled with gcc8.
make sure you link a newer stdc++.dll during runtime.
from opencv-mingw-build.
这次我大致弄清楚了,
无法定位程序输入点_ZNSt6thread15_M_start_threadESt10unique_ptrINS_6_StateESt14default_deleteIS1_EEPFvvE
这个错误是因为anaconda 中的 LIBSTDC++-6.DLL 与 MinGW64 的LIBSTDC++-6.DLL 冲突所导致的,在配置环境变量时将 MinGW64 的 bin 路径移到高于 anaconda 的 mingw-w64/bin 路径更高优先级的位置就可以了。
牛,这个问题真的把我搞死,果然是 Conda 搞的鬼。
from opencv-mingw-build.
@sennnnn 我也遇见了这个问题,但是我没有安装ancoda,
我这种的话该怎么处理啊
from opencv-mingw-build.
@sennnnn @ycdhqzhiai
Found that one import _ZNSi5seekgESt4fposIiE
from libstdc++-6.dll
has changed in newer versions of GCC.
For my current setup (MinGW-w64 12.2.0), the signature now becomes _ZNSi5seekgESt4fposI9_MbstatetE
.
More mismatches may exist as well.
To solve this problem, use a libstdc++-6.dll
from older versions of MinGW.
@huihut
I suggest adding -static-libstdc++
when building to eliminate the dependency on specific versions of MinGW.
from opencv-mingw-build.
神仙谢谢
from opencv-mingw-build.
Related Issues (20)
- git clone not working HOT 3
- how to build opencv2.4.11 mingw windows? HOT 2
- 编译通过但是打不开,缺少dll HOT 4
- Opencv nonfree build HOT 2
- No x86 version ? HOT 1
- OpenCV4.4 HOT 9
- undefined reference to `cv::imread(std::string const&, int)' HOT 2
- 4.11能用但4.50不能用 HOT 1
- What's the version of the mingw/qt you use? HOT 1
- Hello,my friend
- thank you
- The library is compiled without QT support
- Error: undefined reference to `cv::VideoCapture::VideoCapture(std::string const&, int)' HOT 1
- 首先感谢大哥 4.5.5 qt 解压的dll用不了 4.5.2可用 HOT 1
- no quality.hpp in 4.5.5version
- 请问大哥OpenCV-4.5.0-with-contrib qt dll用不了吗?
- crash when calling in program
- i keep getting this error and i spent like 2 days trying to figure it out for the past 2 days i am using msys2 fatal error: opencv2/opencv.hpp: No such file or directory 1 | #include <opencv2/opencv.hpp>
- the counterpart "**_world452.dll" in vc edition?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv-mingw-build.