Linking issue with simplebrowser, Qt5Positioning and math functions __atan2_finite __acos_finite
-
Re: [Linking issue with WebEngine](Qt5Positioning and math functions __atan2_finite __acos_finite)
ubuntu20.04+Qt5.15.2
when i complie the example project simplebrowser, it show some error:
ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __atan2_finite
ld.lld: error: /opt/Qt/5.15.1/gcc_64/lib/libQt5Positioning.so: undefined reference to __acos_finite
collect2: error: ld returned 1 exit statushow can i do??
-
@JasoNY
If you Google for e.g.__atan2_finite
you will find several posts describing this problem with Ubuntu + Qt Positioning. There is also a post in this forum from March 2023, https://forum.qt.io/topic/143529/linking-issue-with-webengine-qt5positioning-and-math-functions-__atan2_finite-__acos_finite, which seems to be unanswered.Don't know whether anything in https://github.com/isl-org/Open3D/issues/1909 helps? Or https://www.mail-archive.com/debian-glibc@lists.debian.org/msg59266.html? Might be an issue on glibc version or possibly compile flags?