Sample Header Ad - 728x90

Finding paths to both: wxWidgets_LIBRARIES and wxWidgets_INCLUDE_DIRS variable needed for C++ compilation

1 vote
2 answers
505 views
On Debian based OS, how could I figure out both wxWidgets_LIBRARIES and wxWidgets_INCLUDE_DIRS paths? Indeed, I'm actually facing such error with cmake when trying to compile a software:
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.18/Modules/FindwxWidgets.cmake:1008 (find_package_handle_standard_args)
  src/pacakge_core/CMakeLists.txt:16 (find_package)
Therefore, I'm searching for the correct paths to pass to my cmake command.
Asked by s.k (511 rep)
Oct 30, 2022, 03:12 PM
Last activity: Jun 21, 2024, 08:05 PM