compilation failed ___libm_sse2_sincos [closed]

asked 2019-04-29 17:10:23 -0500

jo_devs gravatar image

updated 2019-04-29 17:56:28 -0500

Hi everybody, I made an opencv project C++ on VS2019 with opencv 4. My system is windows 10. I need to use the opencvworld static lib for my project so i recompiled opencv 4 sources with cmake with build_shared off and i get this error: Erreur LNK2001 unresolved external symbol ___libm_sse2_sincos_ xx..opencv_world410.lib(resize.obj) 1

Apparently IPP can be the rootcause so i've disabled WITH_IPP but it does not work, same error.

How to solve this issue? Thanks to you.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by jo_devs
close date 2019-05-01 11:16:12.027641


so i've disabled WITH_IPP but it does not work

problem is about sse2 optimization (which should be supplied by your compiler), not about ipp.

(no idea, how you managed to get that error, though)

berak gravatar imageberak ( 2019-04-30 03:14:09 -0500 )edit

Alright, i'm gonna check that. On cmake i chose the VS 2019 compiler option with win32 platform.

jo_devs gravatar imagejo_devs ( 2019-04-30 03:32:01 -0500 )edit