SLADE icon indicating copy to clipboard operation
SLADE copied to clipboard

Can't build SLADE, missing wxWidgets 3.2.2

Open Eonfge opened this issue 1 year ago • 0 comments

SLADE Version: 3.2.2. Operating System: Flatpak Linux

Issue Details: Can't build SLADE because something in CMAKE seems to miss the right version of wxWidgets:

https://github.com/flathub/net.mancubus.SLADE/pull/45

========================================================================
Building module slade in /home/kevin/Projects/net.mancubus.SLADE/.flatpak-builder/build/slade-16
========================================================================
Note: switching to '3.2.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 94f52f8 Update build powershell script for vs2022
Applying patch soundfont.patch
patching file src/Audio/MIDIPlayer.cpp
Hunk #1 succeeded at 98 (offset -254 lines).
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- cotire 1.7.9 loaded.
-- wx-config used is: /app/bin/wx-config
-- wxWidgets version is: 3.2.2
-- gtk version is: 3
CMake Error at /usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES) (Required is at
  least version "3.2.2")
Call Stack (most recent call first):
  /usr/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.26/Modules/FindwxWidgets.cmake:977 (find_package_handle_standard_args)
  src/CMakeLists.txt:66 (find_package)

Eonfge avatar Apr 24 '23 16:04 Eonfge