Giter Club home page Giter Club logo

Comments (10)

clownrat6 avatar clownrat6 commented on August 24, 2024 20

这次我大致弄清楚了,

无法定位程序输入点_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.

clownrat6 avatar clownrat6 commented on August 24, 2024

dll已经被添加到Path用户变量里面,是不行的,之后把dll就和exe放在同一目录下也不行的,而后我再把dll放在system32下面还是不行的

from opencv-mingw-build.

huihut avatar huihut commented on August 24, 2024
无法定位程序输入点...于动态链接库...

这个意思是能找到dll文件,但是找不到对应的库入口。原因可能很多,但我猜是你在32位的程序中使用了我编译的64位 OpenCV-4.1.1-x64 导致的,生成64位目标程序就可以了。

from opencv-mingw-build.

huihut avatar huihut commented on August 24, 2024

@sennnnn 现在怎么样了?若是解决了,我将关闭这个 issue。

from opencv-mingw-build.

clownrat6 avatar clownrat6 commented on August 24, 2024

感谢作者,暂时先关闭吧,目前已经转为使用 msvc 了,等过一段时间再来转回 MinGW

from opencv-mingw-build.

bbqz007 avatar bbqz007 commented on August 24, 2024

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.

AtomicVar avatar AtomicVar commented on August 24, 2024

这次我大致弄清楚了,

无法定位程序输入点_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.

ycdhqzhiai avatar ycdhqzhiai commented on August 24, 2024

@sennnnn 我也遇见了这个问题,但是我没有安装ancoda,
image
我这种的话该怎么处理啊

from opencv-mingw-build.

WRtux avatar WRtux commented on August 24, 2024

@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.

Feanus avatar Feanus commented on August 24, 2024

神仙谢谢

from opencv-mingw-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.