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

Cant get it to build on windows #174

Open
Rrytel opened this issue Oct 4, 2024 · 3 comments
Open

Cant get it to build on windows #174

Rrytel opened this issue Oct 4, 2024 · 3 comments

Comments

@Rrytel
Copy link

Rrytel commented Oct 4, 2024

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

@m4dEngi
Copy link
Owner

m4dEngi commented Oct 4, 2024

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 ).

@Rrytel
Copy link
Author

Rrytel commented Oct 4, 2024

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.

@AtilioA
Copy link

AtilioA commented Oct 26, 2024

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!

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

No branches or pull requests

3 participants