qt5 - libgcc_s_dw2-1.dll is missing making OpenCV and Qt 5 program is unable to start -


my project needs opencv library 2.3 , i'm using qt 5.0.1. however, after building, program won't start. tried dependency walker , added qt's dlls c:\qt\qt5.0.1\5.0.1\mingw47_32\bin except libgcc_s_dw2-2.dll, couldn't find in computer. dependency walker says libgcc_s_dw2-1.dll needed opencv dlls such libopencv_core230.dll. tried dll provided here, got error program couldn't locate input entrance __gxx_personality_v0 on libopencv_imgproc230.dll. advices? :)

i've added statement

qmake_lflags += -static -static-libgcc -static-libstdc++ -lpthread 

into .pro file, not work :(

finally, work.

the statement above wrong since -lpthread 'no use'. changed one:

qmake_lflags += -static-libgcc -static-libstdc++ 

it seems -lpthread should used -static next it, ie. -static -lpthread. however, cause problem compiler can't find opencv libs. remove them , add libpthread-1.dll .exe folder.

many this post.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -