Create a wxWidgets solution
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?