Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wxwidgets] Could not find package #14492

Closed
alvarogalloc opened this issue Nov 9, 2020 · 1 comment
Closed

[wxwidgets] Could not find package #14492

alvarogalloc opened this issue Nov 9, 2020 · 1 comment
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@alvarogalloc
Copy link

A few weeks ago i had problems using libmariadb, and it was solved, but now i want to use wxwidgets, but i get this:
[cmake] CMake Error at /Users/macuser/vcpkg/downloads/tools/cmake-3.18.4-osx/cmake-3.18.4-Darwin-x86_64/CMake.app/Contents/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): [cmake] Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES [cmake] wxWidgets_INCLUDE_DIRS) (Required is at least version "3.1")

My CMakeLists.txt is this:
`cmake_minimum_required(VERSION 3.0.0)
project(gui VERSION 0.1.0)

find_package(wxWidgets 3.1 COMPONENTS core base REQUIRED)
include(${wxWidgets_USE_FILE})

add_executable(gui main.cpp)

target_link_libraries(gui PRIVATE ${wxWidgets_LIBRARIES})`

@JonLiu1993 JonLiu1993 self-assigned this Nov 10, 2020
@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Nov 10, 2020
@JonLiu1993
Copy link
Member

Duplicated to #4756

@JonLiu1993 JonLiu1993 changed the title wxwidgets errors [wxwidgets] Could not find package Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

2 participants