Bug report #7908

Compile error - backtrace - libexecinfo - src/app/CMakeLists.txt

Added by Loïc BARTOLETTI over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:master Regression?:No
Operating System:FreeBSD Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16780

Description

Backtrace is a GNU libc/linuxism.

For FreeBSD you can compile and use it with libexecinfo library (see devel/libexecinfo).

CMakeLists needs to be patched using cmake FIND_LIBRARY: find_library (EXECINFO_LIBRARY NAMES execinfo)

Solution for FreeBSD into the patch attached (maybe other unix, but what about APPLE ?) :

IF (UNIX)
  find_library (EXECINFO_LIBRARY NAMES execinfo)
  TARGET_LINK_LIBRARIES(${QGIS_APP_NAME} ${EXECINFO_LIBRARY})
ENDIF (UNIX)

CMakeLists.patch Magnifier (392 Bytes) Loïc BARTOLETTI, 2013-05-26 05:48 AM


Related issues

Related to QGIS Application - Bug report #7902: Compile error - app/main.cpp Closed 2013-05-26
Related to QGIS Application - Bug report #7909: Compile error - grass plugin Closed 2013-05-26

Associated revisions

Revision 3a987258
Added by Jürgen Fischer over 6 years ago

only catch signals on linux (fixes #7908)

History

#1 Updated by Jürgen Fischer over 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF