Open Rrytel opened 1 month ago
Make sure the wxWidgets library is installed correctly. Also, last time I checked, cmake had problems detecting the latest version of the wxWidgets library on Windows, try building with the old stable version ( 3.0.5 ).
Make sure the wxWidgets library is installed correctly. Also, last time I checked, cmake had problems detecting the latest version of the wxWidgets library on Windows, try building with the old stable version ( 3.0.5 ).
I'm new to cmake and the instructions for using cmake on the wxWidgets website seem incomplete. The process I have been doing is downloading the installer, installing then building with cmake, then opening the 17.sln and building within VS. Is this correct or am I going about it wrong.
I'm experiencing the same issue. I've tried cmake 3.30.5, and both the latest version of wxWidgets and version 3.0.5, specifying the paths as recommended here: https://stackoverflow.com/a/48947121. However, I'm also new to CMake and more familiar with compiling C/C++ using GCC rather than VS.
>cmake -G "Visual Studio 16 2019" -A Win32 -DwxWidgets_ROOT_DIR="C:\wxWidgets-3.0.5" -DwxWidgets_LIB_DIR="C:\wxWidgets-3.0.5\lib" ../
-- The C compiler identification is MSVC 19.29.30156.0
-- The CXX compiler identification is MSVC 19.29.30156.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - 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: C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS core base adv)
CMake Error at RemotePlayWhatever/CMakeLists.txt:54 (message):
wxWidgets not found!
-- Configuring incomplete, errors occurred!
I want to contribute to this project but Im having trouble getting it to build on windows. Nothing I do will make cmake find wxWidgets