C++ GUI Programming For Beginners | Episode 1 - Installing wxWidgets

Опубликовано: 04 Октябрь 2024
на канале: OttoBotCode
123,219
1.9k

Learn how to program cross platform graphical user interfaces in C++ using wxWidgets.

IMPORTANT! The wxWidgets solution file must match the version of Visual Studio you are using.
wx_vc17 - Visual Studio 2022
wx_vc16 - Visual Studio 2019
wx_vc15 - Visual Studio 2017
wx_vc14 - Visual Studio 2015

In this episode we get ready to program GUIs by downloading and installing the wxWidgets library. The installation process is covered on Windows using Visual Studio. We build the library from source and set up a simple project to check if the installation was successful.

Test Program:
https://ottobotcode.com/gui/FirstGui.cpp

wxWidgets website:
https://www.wxwidgets.org/

Chapters
0:00 - Introduction
0:37 - Downloading wxWidgets
1:00 - Extracting the Source Code
1:36 - Creating an Environment Variable
2:10 - Building wxWidgets From Source
2:38 - MUST MATCH VS VERSION! (wx_vc16 = VS 2019)
3:00 - Build wxWidgets From Source
4:56 - Creating a wxWidgets Project
8:10 - Success!