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

Can't build on Windows 10 (MSVC) if wxwidgets installed by vcpkg #19

Closed
slavroman opened this issue Jul 7, 2024 · 2 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@slavroman
Copy link

Hello! I'm try to compile your examples according your instruction from README.md

mkdir build && cd build
cmake ..
start wxWidgetsExamples.sln

When I type cmake .. in build directory I've receive error, please see screen bottom.

2024-07-07 233413

P.S.>Have installed wxwidgets dynamic and static x86 & x64 through vcpkg

wxwidgets:x64-windows 3.2.5#3
wxwidgets:x64-windows-static 3.2.5#3
wxwidgets:x86-windows 3.2.5#3
wxwidgets:x86-windows-static 3.2.5#3

Will appreciate any help, thanks!

@gammasoft71 gammasoft71 self-assigned this Jul 8, 2024
@gammasoft71 gammasoft71 added the question Further information is requested label Jul 8, 2024
@gammasoft71
Copy link
Owner

gammasoft71 commented Jul 8, 2024

Hello,

First of all thank you for interest in my project.

There is a simple way to do it.

set CMAKE_TOOLCHAIN_FILE=<vcpkg_root>/scripts/buildsystems/vcpkg.cmake 
rmdir /S /Q build
mkdir build && cd build
cmake .. 
start wxWidgets_example.sln

<vcpkg_root> is the root path of your vcpkg installed files.

See build-system-integration and CMake for more information.

Regards,
Gammasoft

@slavroman
Copy link
Author

Hello! Thanks for reply!
I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants