c++ - undefined reference to `__atomic_fetch_add_4 error while using opencv -


i'm new opencv library , every time try compile code

#include "opencv2/core.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgcodecs.hpp" using namespace cv; using namespace std; int main() { mat img; img = imread("lena.jpg"); imshow("original image", img); waitkey(); } 

i error undefined reference `__atomic_fetch_add_4

this code copied tutorial , it's working writer problem me

i looked solution problem , did not found working solution, not no cause of problem

i'm using code::blocks ide

thanks,

go setting>compiler settings , tick intel i486 option. worked me


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -