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

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 282

  • @YAHYA-om2zp
    @YAHYA-om2zp 4 месяца назад +9

    Finally A Person Who Talks About GUI Programming I Dont Know Why There Is No Other Courses Like Yours👍

  • @enricosanti7627
    @enricosanti7627 2 года назад +26

    after 2 days of trying to figure it out through many different tutorials yours is the first that actually got it working! Thanks!

    • @OttoBotCode
      @OttoBotCode  2 года назад +3

      Great to hear! Thanks for the comment 👍

  • @KyleWagner-s7q
    @KyleWagner-s7q Год назад +18

    For anyone looking to get up and running with wxWidgets in visual studio - THIS IS THE RIGHT SERIES!
    After spending a bunch of time sifting through outdated/incomplete wxWidgets documentation and other inconsistent youtube walkthroughs, finding this is a relief. Everything is clearly explained and works perfectly. Thanks a lot, great work!

    • @OttoBotCode
      @OttoBotCode  Год назад +1

      Awesome to hear. Thank you for the kind words!

    • @poggarzz
      @poggarzz Год назад

      @@OttoBotCode can i follow along without an IDE? because my computer isn't powerful enough to run visual studio

    • @OttoBotCode
      @OttoBotCode  Год назад +1

      @@poggarzz You need to link your project to wxWidgets. Doing so will be different if you use a text editor. Once you figure that out you can follow the rest of the series no problem 😊

    • @poggarzz
      @poggarzz Год назад

      @@OttoBotCode thank you for the suggestion 😁

  • @whynotanyting
    @whynotanyting 2 года назад +13

    Man, I didn't expect so many steps, at least it worked flawlessly.

  • @qtix4544
    @qtix4544 2 года назад +37

    Not only you have helped in installing wxWidgets here, you have made concept of libraries very clear for me. Thanks for your amazing video! Short and complete!

  • @OttoBotCode
    @OttoBotCode  2 года назад +17

    *Having Problems?*
    *Project Setup*
    Go to Properties -> C/C++ -> Preprocessor and check the "Preprocessor Definitions". Here you should have the flag "_UNICODE". For me it was there by default, if it is missing you have to add it explicitly.
    There is also an easier more convenient way to setup a wxWidgets project. I cover it in this video:
    ruclips.net/video/urIpZnCTeKw/видео.html
    *Building the library*
    The wxWidgets solution file MUST match the version of Visual Studio you are using.
    Make sure you are using the right one:
    wx_vc17 - Visual Studio 2022
    wx_vc16 - Visual Studio 2019
    wx_vc15 - Visual Studio 2017
    wx_vc14 - Visual Studio 2015

    • @atlantic_love
      @atlantic_love 2 года назад

      How to get this to install for codeblocks?

    • @spiraldj
      @spiraldj 2 года назад

      @@atlantic_love I don't think you can but I'm very new to comp sci so I could be wrong. My thought process is that wxWidgets uses features of the Microsoft visual C++ compiler so unless codeblocks let's you use other compilers etc, I don't think you can. If codeblocks does let you choose a compiler, you would need to look up how to switch it to use the correct compiler as wxWidgets, and anything else that wxWidgets needs. As far as adding the library, codeblocks should have plenty of documentation on how to do it. It's basically the same process but the menus are different

    • @atlantic_love
      @atlantic_love 2 года назад +4

      @@spiraldj It's a shame that the process is so convoluted in this day and age.

    • @spiraldj
      @spiraldj 2 года назад

      @@atlantic_loveit has to be that way though, at the end of the day digital information is all binary. There are different levels of programming. Assembly Language for example pets you control more of the code like where in memory data gets stored but it's super complex whereas c++ has less control over what you can do. The less complex it is the less you can do. Since everything ends up getting translated to binary, there really isn't any way to make an easy to use language that you can use to program anything you would be able to in binary

    • @OttoBotCode
      @OttoBotCode  Год назад +1

      @@atlantic_love I've recently learned that wxWidgets provides a property sheet that you can use to setup a project much faster. You can see the approach in this video: ruclips.net/video/urIpZnCTeKw/видео.html 😊

  • @rpross1986
    @rpross1986 9 месяцев назад

    Beautiful! This is very exciting to be setting up a cross-platform GUI dev project! Very well explained with important terminology and the pacing and steps are informative, yet not too informative

  • @sdmagic
    @sdmagic Год назад +2

    Absolutely brilliant! You've made everything crystal clear and easy. Thank you very much and keep on producing videos.

    • @OttoBotCode
      @OttoBotCode  Год назад

      Thank you! I will keep at it 😊

  • @jedrzejziebura5109
    @jedrzejziebura5109 2 года назад

    Bruh, you are literally my saviour, it's the 3rd tutorial I've watched and the 1st one that worked for me, thanks a lot

    • @OttoBotCode
      @OttoBotCode  2 года назад +1

      You're welcome! Good to hear that it works 😃

    • @AnimeshThakur-lp9mw
      @AnimeshThakur-lp9mw 7 месяцев назад

      @@OttoBotCode Same Here, Thanks!

  • @MrMichimak
    @MrMichimak 2 года назад +3

    Everything worked out on the first run! Great series of tutorials!!!💯

    • @OttoBotCode
      @OttoBotCode  2 года назад +1

      Glad to hear it! Thanks 😁

  • @feraudyh
    @feraudyh Год назад

    You have worked hard to produce a spotless tutorial!

    • @OttoBotCode
      @OttoBotCode  Год назад

      I'm glad the hard work is visible. Thanks for the comment!

  • @king1king2king3
    @king1king2king3 7 месяцев назад

    Your explanation is easy to understand. Go ahead continuing that series.

  • @ramprasanthudhayabaskar8073
    @ramprasanthudhayabaskar8073 Год назад +1

    Perfect step by step explanation. Worked 100%.

  • @bubbyroller
    @bubbyroller Год назад

    Cheers dude, you have broken this down really well and made it easy to follow. Thank you.

  • @andresospina5706
    @andresospina5706 2 года назад +5

    Man, i must say thank you, out of every video, yours is the only one that actually worked. I subscribe immediately.
    Just a few questions, hope you dont mind.
    Why is it that other guides indicate that you must modify the preprocessor definitions under the c++ tab?
    Is there any advantage on using the precompiled wxwidgets dlls/headers on the site? Is their setup similar to the manually built ones?
    God bless.

    • @OttoBotCode
      @OttoBotCode  2 года назад +4

      Thank you! I'm glad it worked. You are always welcome to ask questions, I will try my best to answer them.
      There are a few symbols that should be defined for the C++ preprocessor in some cases. They are __WXMSW__, _UNICODE, NDEBUG, WXUSINGDLL.
      __WXMSW__ ensures that wxWidgets uses the correct port (i.e. it is not trying to build a Mac GUI on Windows for example). However, it seems to be defined without you having to do anything.
      _UNICODE is also defined by default. You can see that under the C++ tab.
      NDEBUG should be defined for Release configuration and it is by default. You can also see that under the C++ tab.
      WXUSINGDLL should only be defined if you are using DLLs. In this video we use static libraries instead.
      The only advantage to using the precompiled binaries (DLLs) is that the setup should be easier. wxWidgets recommend that you build the library from source, just like we did in this video.
      I hope that makes sense 😀

    • @andresospina5706
      @andresospina5706 2 года назад +1

      @@OttoBotCode Thanks for the explanation!

  • @rishabharya3329
    @rishabharya3329 7 месяцев назад +1

    my vs code is completely different than yours .... i did everything till 3:27 but you lost me after 3:28
    how to tackle this problem?

    • @op1be
      @op1be 5 месяцев назад +1

      i hope that by now you might have realized that you may have been using visual studio code when you needed visual studio (they are different and have major differences)

    • @rishabharya3329
      @rishabharya3329 5 месяцев назад +1

      ​@@op1be Thanks bro!

  • @ARGHWUT
    @ARGHWUT 2 года назад

    Thanks Otto, this worked brilliantly and was easy to follow. You're a treasure.

  • @Player-kl3ci
    @Player-kl3ci 2 года назад

    Omg thank you so much, I've been struggling from two days ago to do that, again thank you and have good day !

  • @palmtrees9474
    @palmtrees9474 Год назад

    Everything works as it should! Great tutorial man! God bless you !

  • @eddiepixels
    @eddiepixels Год назад +5

    Very instructive video, thank you. Do you think that those instructions can be followed to install wxWidgets on Visual Studio Code and Eclipse CDT as well?

    • @yesseruser
      @yesseruser 10 месяцев назад

      I think you'd have to use Visual Studio build tools for C/C++ from the developer command prompt to have that work. I don't know how to even install the build tools alone so I'm not sure.

  • @sunnydays089
    @sunnydays089 4 месяца назад

    this tutorial picked me up and held me gently in its warm arms, as a human would a worm that's sitting on the sidewalk in the rain

  • @gamingcomputers7485
    @gamingcomputers7485 Год назад

    thank you for the tutorial i tried many other tutorials and they used anything else instead of empty project but that tutorial seems like straightfoward at least for now

  • @huudungnguyen5453
    @huudungnguyen5453 2 года назад

    thanks a lot . I watched 4 clips until I watched your clip. Everything works perfectly. Tks again

  • @lolitbairiganjan2940
    @lolitbairiganjan2940 3 месяца назад +1

    Why do we specifically need Visual Studio? Can't we do it on Vs Code?

  • @ryuk991
    @ryuk991 8 месяцев назад +1

    wxFrame is showing incomplete type not allowed and some variables are still not defined

  • @hadisfayz
    @hadisfayz Год назад

    Thanks a lot for this very nice tutorial! I have forgot quite a lot of it and could now recap everything!

  • @CousinMarvin
    @CousinMarvin 4 месяца назад

    6:52 For some reason i do not have any Linker there. I only have the Configuartion Properties and C/C++ . I swear there is always something that throws me off. IT can never go smoothly for me.

    • @OttoBotCode
      @OttoBotCode  4 месяца назад

      Perhaps you've created a library project instead of an "empty project"?

  • @MosheLeitner
    @MosheLeitner 3 дня назад

    do you have a video to build wxwidgets on a Mac using Xcode?

  • @variancewithin
    @variancewithin 2 года назад +1

    I'm pretty sure I followed your steps properly, but I still get squigglies over the GUI commands and it says 'identifier .... undefined"

    • @OttoBotCode
      @OttoBotCode  2 года назад

      If you are interested you can send your entire project to ottobotcodehelp@gmail.com. Then I'll try to find out what the problem is.

  • @JakubMaleszko
    @JakubMaleszko Месяц назад

    Thanks bro, i spent a 2 days trying to install first on gcc, and one day on vs and that short video show me how to do it on static. (and instead building x86 and x64 +debug, release you can use batch build and select all)

  • @Maelstromme
    @Maelstromme 10 месяцев назад +1

    I'm afraid that the evaluated values screen for $(WXWIN)\include are not producing the same results as in the video. It just says \include and \include\msvc before %(AdditionalIncludeDirectories)

    • @neilkarlosnatividad4892
      @neilkarlosnatividad4892 8 месяцев назад

      same

    • @brock2k1
      @brock2k1 6 месяцев назад

      Same for me, it looks like maybe something changed in VS2022. But it worked perfectly when I just typed out the whole directory name.

  • @disekjoumoer
    @disekjoumoer 2 года назад

    Super, thanks a million. I was going a bit mad trying to build this.

  • @anyafrombrasil
    @anyafrombrasil 3 месяца назад

    THANKS! You helped me a lot!! you´re amazing, thank you!!

  • @BlazeYT_
    @BlazeYT_ 2 года назад +1

    Well wxWidgets on Linux (debian) is wx-common but I don't know how to trigger it on Geany

  • @Aim8kofficial
    @Aim8kofficial 8 месяцев назад +1

    wxDefaultPosition undefined, and other stuffs to :/

  • @Mr.Fishward
    @Mr.Fishward 2 года назад

    It took a big of fanagling (I had a few typos), but it works. Thank you so much!

    • @OttoBotCode
      @OttoBotCode  2 года назад

      Great to hear. Well done! 😀

  • @Ugc611
    @Ugc611 Год назад

    Finally found the tutorial that i need for gui.. thx man !!

  • @gnguyen4903
    @gnguyen4903 2 месяца назад

    Hi. Your instructions are very helpful and I'm able to do this on my virtual Windows machine. However, I want to use my MacBook for more convenience. Are there any ways I can do this on VSCode for Mac? Thank you very much ❤

  • @presli481_
    @presli481_ 5 месяцев назад

    like half of the projects fail building when i try to build the solution (yes im using vs22 and trying to build wx_vc17)

  • @5950x
    @5950x Год назад

    Fantastic video and great explanation, Thank you.

  • @mianmvlogs
    @mianmvlogs 2 месяца назад

    please need one for vs code too it is very hard to add external libraries there

  • @Dhanik-bj1sg
    @Dhanik-bj1sg Месяц назад

    Can I use wxWidgets in Visual Studio Code?....if yes I require the guidance please

  • @prashantpanta9345
    @prashantpanta9345 6 месяцев назад

    How to set it up on m2 ? I am new to programming and can't figure out how to do these things on mac.

  • @Tick89
    @Tick89 2 месяца назад

    My dumbass literally commenting error message i had until i dropped it to chatgpt and appearently i was not listening. Thank you for making me a little more tech literate.

  • @akhir9129
    @akhir9129 2 года назад

    Ahtung!!! For those who can not build check following: Properties -> Configuration properties -> Advanced -> Character Set. And change this field to "Use Unicode Character Set"

  • @juzerbaatwala8868
    @juzerbaatwala8868 2 года назад +1

    can you do a XCODE example

  • @therattestofrat
    @therattestofrat Год назад +1

    I've stated all of the libraries i need in visual studio but i still have 16 undefined errors.

    • @OttoBotCode
      @OttoBotCode  Год назад

      Would you mind sending your entire project to ottobotcodehelp@gmail.com? It can be as a zip or github link. I'll take a look and hopefully find the problem for you.

  • @DungVu-di7dz
    @DungVu-di7dz 8 месяцев назад

    I setup confg: (video to share)
    project->optionns:
    configuration: All Configuration
    Plasfrom: All platfrom
    C/C++->Genneral->Edit-> paste each:
    1. C:\wxWidgets\include
    2. C:\wxWidgets\include\msvc
    Linker->System->SubSystem->chose Windows
    Linker->Genneral->
    Plasfrom-> win32->Additional library directoríes->paste
    $(WXWIN)\lib\vc_lib
    Plasfrom-> x64->Additional library directoríes->paste
    $(WXWIN)\lib\vc_x64_lib

  • @paramitasinha6266
    @paramitasinha6266 7 месяцев назад +1

    Hey bro please help me
    I am using the new vs code and I don't see any debug, build, release, win32 etc options. What should I do to use the vs code solution file

    • @x2.mp3
      @x2.mp3 7 месяцев назад

      I have same issue. Let me know if you found a fix

    • @paramitasinha6266
      @paramitasinha6266 7 месяцев назад

      @@x2.mp3 I didn't

    • @mechtorious
      @mechtorious 6 месяцев назад

      @@x2.mp3 It is not vscode. it is visual studio.

  • @happygofishing
    @happygofishing 6 месяцев назад

    you might have to reboot vs studio for your IDE to find the libs

  • @xolanigumbi8951
    @xolanigumbi8951 2 года назад

    Good video, bro! Very well explained.

  • @lg7t
    @lg7t 5 месяцев назад

    So this process wont affect my other project that i use console??!

  • @elphastgaming8332
    @elphastgaming8332 4 месяца назад

    I'm using CLion, can you help me with that?

  • @strokesf225
    @strokesf225 11 месяцев назад

    i don't have the linker option on my project properties why is it not there and how can i make it apear?

  • @user-re5kg8rc7k
    @user-re5kg8rc7k Год назад

    Do you have a video for Netbean and wxWidgets setup instructions? thank you,

  • @Bitrey
    @Bitrey Год назад

    I was getting the 'cannot open source file error' and I realized after an hour that the reason was simply because there was no 'mswud' inside the 'lib' folder, because I didn't build the debug version for x64, but just the release version! Hope this helps if someone is having the same problem

  • @bennguyen1313
    @bennguyen1313 11 месяцев назад

    I have to link to a static 32-bit library, so need a c/cpp gui that can build into 32-bit.
    I've tried Visual Studio Community 2022 (Win10x64) with the NAppGUI library, but could only get it to build x64.. not x32.
    "LNK1112 module machine type 'x86' conflicts with target machine type 'x64'"
    Then I tried a 32-bit console program using Tk ( ActiveState's ActiveTcl or from Sourceforge) + Boost and setting the include path to the Tcl/Tk directories (C:\Tcl\include and cpptk_h and cpptk_cc files cpptkbase.h and cpptkbase_cc ). I'm sure I'm doing something wrong but same kind of error.
    How easy is it to build a 32-bit executable using C++/wxWidgets?

  • @FPChris
    @FPChris 2 года назад +2

    Can you do a VSCode example?

    • @atlantic_love
      @atlantic_love 2 года назад

      On that note I'd like to see a codeblocks example!

  • @BusterBaer1
    @BusterBaer1 Год назад

    Is there some way to do this with XCode and on a mac? I'm lost...

  • @ypesh
    @ypesh 10 месяцев назад

    Thank you this is Super Mega Helpful!!!

  • @lickguitars1276
    @lickguitars1276 Год назад

    can you tell me about the warning , is that a major issue or nothing to worry about?

  • @frankheagerty7339
    @frankheagerty7339 Год назад

    Only helpful tutorial I have found you're awesome thank you

    • @OttoBotCode
      @OttoBotCode  Год назад

      Thank you! For your next project, check out my newest video in this series. It will allow you to create a project much faster 😊

  • @alysse8243
    @alysse8243 2 года назад

    it works in visual studio 2022 but i cant make it work for visual code. i need help please

  • @MikeSmith-te6cn
    @MikeSmith-te6cn 2 года назад

    Thanks. This is the third video I have watched but, the first one that worked. It took me three times but I got it. I need to slow down and pay more attention. A personal problem I know. But thanks.

  • @Aim8kofficial
    @Aim8kofficial 8 месяцев назад

    Works in Visual Studio project, but in Visual Studio Cmake project doesnt work

  • @djsbriscoe
    @djsbriscoe 8 месяцев назад

    When I try to build the debug x64 version ( debug and release of win32 build OK) of wxWidgets 3.2.4 using wx_vc17 - in Visual Studio 2022 (Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.9.4) I get an unsuccessful build. It mentions error C1083: Cannot open include file: 'wx/setup.h': No such file or directory multiple times.

    • @djsbriscoe
      @djsbriscoe 8 месяцев назад

      I have just tried again with my anti-virus disabled and everything has compiled OK.

  • @GG-dk2xh
    @GG-dk2xh 2 года назад +1

    This is a really good video thanks. It would be great if you could do this wxWidgets install and setup video also for Linux and Mac systems

  • @MegaWeixin
    @MegaWeixin Год назад

    Hello , how about integrating wxwidget to dev-c++?

  • @leoparcoeur
    @leoparcoeur 12 дней назад

    Merci beaucoup! Super tuto!

  • @muhammadusama1590
    @muhammadusama1590 11 месяцев назад

    When I am trying to open the .sln file, it isnt showing me any version to open it. I have the latest vs code and the Im trying to open the vc17 file. Please help

  • @Thewawacat_
    @Thewawacat_ 9 месяцев назад +8

    I got 45 errors with wx_vc17 :/

  • @gerardo.arroyo.s
    @gerardo.arroyo.s Месяц назад +2

    Tysm it worked

  • @ItIsYouAreNotYour
    @ItIsYouAreNotYour Год назад

    Environment variable doesn't work for some reason. Direct path does. Thanks though.

  • @JoshuaWessly
    @JoshuaWessly 11 месяцев назад

    I am getting an error that says cannot open file '$(WXWIN)\lib\vc_lib.obj'. Yet it recognizes all my include line #include . At least there is no red squiggly line under the includes relating to wxwidgets. How can I get past this error message at build time?

  • @f-8ght
    @f-8ght Год назад

    hello there i tried your code but it is giving a lot of errors to me

  • @good_dream696
    @good_dream696 Год назад +1

    Thank you so much bro, it worked perfectly. +1 subscribe er 😎😎

  • @MusicAMG
    @MusicAMG 2 года назад

    did you try building the all the configurations, for what ever reason static won't build for me. It seems everyone always just builds the x86 dll one..(other videos I have watched)

  • @TViTklg
    @TViTklg 2 года назад

    Hello you have min work example how to use wxStaticBitmap for application

  • @Musa03571
    @Musa03571 7 месяцев назад

    Hello dear brother, your videos are very informative, thank you for this. I have a question for you. Can I develop my own desktop application using the method you showed? For example, I want to make a simple application that calculates the acceleration of an object under the influence of the applied force (for example). This app needs to be downloadable for everyone. Is the path you showed suitable for this? If not can you guide me?

  • @leeshelton9619
    @leeshelton9619 11 месяцев назад

    HELP! I NEED HELP! I'm tryingto install the latest version of wxWidgets to use with Red Panda DevC++ compiler. I compiled the library from source & the "samples/minimal" example from the command line. My problem is getting anything to work in the Red Panda DevC IDE I'm having the same problem with my Embarcadero IDE!

    • @rretro2042
      @rretro2042 4 месяца назад

      Frankly I left embarcadero because it is just a mess when it comes to compatiblity, it has all kind of issues when working with external libraries, you are better off using visual studio.

  • @quvonchbekquvonch4385
    @quvonchbekquvonch4385 10 месяцев назад

    Please can you help me to install wxWidgets on Clion platform ?

  • @simonesamardhziev4932
    @simonesamardhziev4932 Год назад

    Is there a way to set it up foe Clion?

  • @disdonc6012
    @disdonc6012 2 года назад

    Very well explained!

  • @ramblingsFromJim
    @ramblingsFromJim 2 года назад +1

    I used to do a lot of programming using wxWidgets, but never with Microsoft Visual Studio. This looks so easy, but I couldn't get it to work. I think the libraries are built with different folder names (it builds out "Libraries -> wxWidgets-3.1.5 -> lib -> vc_lib -> mswu" and "Libraries -> wxWidgets-3.1.5 -> lib -> vc_lib -> mswud") maybe the 'u' in the path name is unicode? When I go to build the sample application I get errors like this...[cannot open source file "../../../lib/vc_lib/mswd/wx/setup.h"]. It is trying to find the files in mswd instead of mswu. I am not sure what to change to get this to work. Am I missing an include directive? A path? Any thoughts?

    • @OttoBotCode
      @OttoBotCode  2 года назад +1

      I also have the folders "mswu" and "mswud" NOT "msw" and "mswd". The sample application on your machine is trying to find the files in the wrong directory.
      Go to Properties -> C/C++ -> Preprocessor and check out the "Preprocessor Definitions". Here you should have the flag "_UNICODE". For me it is there by default, so I didn't have to add it explicitly.
      If I remove "_UNICODE" then I get errors similar to yours.
      Let me know if this fixes the problem!

    • @ramblingsFromJim
      @ramblingsFromJim 2 года назад

      @@OttoBotCode Adding that flag got rid of the compile errors. Now I am getting a link error 'LNK1104 cannot open file 'wxbase31ud.lib'. Do I have to tell the linker somehow this is unicode as well?

    • @ramblingsFromJim
      @ramblingsFromJim 2 года назад

      I got it. I changed the linker path to '$(wxwin)\lib\vc_lib', removing the 'mswd' part from the end of the path name. After that I got a successful compile and link. Thanks for the helpful video and for the advice on adding that unicode flag.

    • @OttoBotCode
      @OttoBotCode  2 года назад

      @@ramblingsFromJim You're welcome!

    • @chiefbromden6471
      @chiefbromden6471 Год назад

      @@OttoBotCode I had the same errors in Visual Studio 2017. Adding _UNICODE solved all the problems and the program can be compiled fine.

  • @shalikozaryan
    @shalikozaryan Год назад

    I am using VScode, is it possibleto run it with VSCode??

  • @mohammadbasit312
    @mohammadbasit312 Год назад

    How can i install for dev c++?

  • @EduardoGamingOfficial
    @EduardoGamingOfficial 2 года назад

    i just can't figure it out. I liked all the source file exactly like you did and i still get the compiling error. I tried like everithing

    • @OttoBotCode
      @OttoBotCode  2 года назад +1

      I'd love to help! Send your entire project (github link is fine) and the error you get to ottobotcodehelp@gmail.com. Then I'll take a look and see if I can figure out what is wrong ☺️

  • @franzageek
    @franzageek 11 месяцев назад

    But what if I use Visual Studio Code instead?

  • @nzgberg
    @nzgberg 10 месяцев назад

    I followed this video. It was really helpful. Is there anything to be aware of for like the future? Like do I need to undo what I did when following your video if I want to use other libraries that aren't wxWidgets, or when coding in a different langauge or something like that? I'm learning this stuff for the first time, so I'm guessing this is a stupid question, but i reallly want to be sure

    • @OttoBotCode
      @OttoBotCode  10 месяцев назад

      Everything here is specific to C++ and the wxWidgets GUI library.
      If you want to write C++, and don't need any third party libraries, all you have to do (on Windows) is create a blank project in Visual Studio and start writing code.
      Other C++ libraries will have their own installation process that may or may not be similar to the one for wxWidgets.
      Other programming languages like C# and Python have other means of creating projects and using libraries. It is typically much simpler than what you see here.
      I hope this helps!

  • @81937mm
    @81937mm 8 месяцев назад

    I know this video is old but does anyone have a way to debug .sln file in VS?

  • @MyStudio-io3so
    @MyStudio-io3so Год назад

    Great tutorial. However, I am not seeing visual studios solution files inside the build >msw folder. I am running Windows 10 and I have VS Code install. I use it for my other coding.

    • @Pantera1001
      @Pantera1001 9 месяцев назад

      this is VS not VS code hope this helps

  • @BurbenogExpert
    @BurbenogExpert 10 месяцев назад

    Is there a way to setup a setting where i don't need to always change these settings in vs?

    • @OttoBotCode
      @OttoBotCode  10 месяцев назад +1

      Check out my "Fast Project Setup" video 😊

    • @BurbenogExpert
      @BurbenogExpert 10 месяцев назад

      @@OttoBotCode You are a life saver. I want to create a small project for scholars. They will just need to cross the correct answer for given numbers, what is their gcd and lcm. Your tutorials on gui are very useful specially since they are for cross platforms.

  • @marioz7298
    @marioz7298 2 года назад

    Hi, how does installation work for Linux?

  • @geonerd527
    @geonerd527 6 месяцев назад

    Unfortunately I ran into the following linker error:
    error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ)
    I have followed all the steps from the video. The only differences between my setup und the one presented in the tutorial are versions (I have VS 2022 and wxWidgets-3.2.5). Could somebody help me?

    • @raphaeloool
      @raphaeloool 5 месяцев назад

      I have the same exact error with VS2019, quadruple checked everything

  • @PonelyPonely
    @PonelyPonely 11 месяцев назад

    so every time I make a new project do I need to go in the project settings and do all of that?

    • @OttoBotCode
      @OttoBotCode  11 месяцев назад

      There is a shortcut for most of these steps. Check out the "Fast Project Setup" video I uploaded 😉

  • @surajsonawane4323
    @surajsonawane4323 2 месяца назад

    how to do on vs code please guide me

  • @Asami_810
    @Asami_810 Год назад

    Can I install all the libraries using VS, but make my project on another IDE? Our teacher is insisting to use her preferred IDE.

    • @OttoBotCode
      @OttoBotCode  Год назад

      Unfortunately, you have to build the library with the same compiler you will use to compile your projects.

  • @gabrielscopeldelima3640
    @gabrielscopeldelima3640 Год назад

    i'm installing on Visual Studio 2022 using the wx_vc17 file, but I'm getting 43 errors and 2 warnings when I Build Solution, all the errors are similar: C1083 Não é possível abrir arquivo incluir: 'wx/setup.h': No such file or directory

    • @OttoBotCode
      @OttoBotCode  Год назад

      I assume you are getting these errors in your wxWidgets project, not when building the library from source.
      The error is telling you that it cannot find wx/setup.h, which is a header file.
      Can you double-check that you have "$(WXWIN)\include\msvc" under "Additional Include Directories"?

    • @guimoreirah
      @guimoreirah Год назад

      Hello, Gabriel. It happened to me as well, and I think it was because the Topaz OFD / Warsaw program (which is used for internet bank account protection) blocks the creation of the setup.h file. I fixed this problem by uninstalling the Warsaw program.

  • @chessmemes-
    @chessmemes- Год назад

    very clear and good tutrorial thank you very much

  • @demstheprogrammer
    @demstheprogrammer Год назад

    let me help how to install this in cxxdroid(mobile platform)