Create a wxWidgets solution

Bryan Kelly 521 Reputation points
2022-07-21T15:37:26.257+00:00

Windows 11, VS 2019, C++, wxWidgets 3.2.0
But first: When I click Ask a Question, there are no options to select the forum to post in. How do I do that with these relatively new MS forums?

Summary
The goal is just to get a wxWidgets project started in my own working directory. That is it. Nothing more.
But we have a version error that we cannot resolve.

Details
A sample project called minimal was copied from C:\WXWIDGETS to my working directory E:\CODE\WX\minimal
But when the solution is opened it complains it cannot find a 3.1.7 version file.
Someone has been helping me via a thread from the wxWidgets forum here:

https://forums.wxwidgets.org/viewtopic.php?f=19&t=49467&p=213639#p213639

In short, copy the samples directory “minimal” to my working directory and delete all the files except:

minimal_vc16.sln
minimal.vcxproj.user
minimal.vcxproj.filters
minimal.mcxproj
minimal.cpp

Then replace all the relative paths, ./../.. with $(WXWIN)
I used Notepad for these edits.
Upon opening the project VS complains:

E:\CODE\WX\minimal\minimal.vcxproj : error : The imported project "C:\WXWIDGETS\3.1.7\build\msw\wx_config.props" was not found. Confirm that the expression in the Import declaration "C:\WXWIDGETS\3.1.7\build\msw\wx_config.props" is correct, and that the file exists on disk. E:\CODE\WX\minimal\minimal.vcxproj

I started with version 3.1.7 then moved up to 3.2.0. Since then the 3.1.7 widgets directory has been deleted and the 3.2.0 source code has all been cleaned then rebuilt using the batch build process. No errors

All the local files have been checked and none even have “3.” Much less 3.1.7.
Go to Project -> minimal Properties and a dialog states: There are no property pages for the selection.
The local directory has been deleted at least twice and I have started over.
Where should I look to find this 3.1.7 reference?

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
{count} votes

1 answer

Sort by: Most helpful
  1. Charles Gilley 0 Reputation points
    2025-10-10T09:10:04.1333333+00:00

    After fighting VS2022 for the last 2 months, I just want to follow up on the original post with some professional feedback. It's pretty, but it's simply not worth the effort. It's so bad and bloated, Microsoft created VS Code. I would strongly urge new developers to avoid this radiation infected eco system.

    I've been an engineer for over 40 years and writing software for 35. So some feedback:

    1. What Microsoft has done to support forums is nothing short of an abomination. I have stronger terms. For technical support forums, questions, debate threads, arguments and discussions provide context. Microsoft has decide to hide all of this behind their new/old/ai search engine. It simply SUCKS.
    2. wxWidgets was built out in open source land. Stay there. I developed huge projects on Unix. I did not need VS anything, I understood make, and I sure as hell did not need Microsoft.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.