VS2019 wxWidgets Installation Issue

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
dragonMan
Earned a small fee
Earned a small fee
Posts: 12
Joined: Sun Jun 06, 2021 10:25 am

VS2019 wxWidgets Installation Issue

Post by dragonMan »

Hello,

So I get this error. Steps I followed: viewtopic.php?f=19&t=46700#p196105

Code I copied: https://docs.wxwidgets.org/trunk/overvi ... world.html

Error: "Cannot open include file: 'wx/wxprec.h': No such file directory"
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: VS2019 wxWidgets Installation Issue

Post by PB »

Did you set the include folders correctly?


Is your WXWIN system environment variable set and pointing to your wxWidgets installation?

But as I wrote in your other thread, you may be better off using the wxwidgets.props property sheet instead of setting up the project manually, in particular when using the prebuilt binaries.