installing wxwidgets 3.1.3 on codeblocks

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

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

  • @yansontech6244
    @yansontech6244  3 года назад +7

    Make sure to use wxWidgets 3.1.3. github.com/wxWidgets/wxWidgets/releases/tag/v3.1.3 This does not work with wxWidgets 3.1.4

    • @peterwlliams1394
      @peterwlliams1394 3 года назад

      Yes I am using 3.1.3 (as per previous message). Had hoped the message would point some help in the right direction.

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

      I wish I saw this comment before I downloaded and built 3.1.5 which took over 30 minutes lol

  • @monchytales6857
    @monchytales6857 4 года назад +19

    HOLY MOTHER OF GOD!!!
    You have no idea how long I have struggled with this very thing, the docs didn't help, forums didn't help, it's been four years and I never got this working THANK YOU SO MUCH!!!!!

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

    It Works!!!! Thank you so much. Now I'm going to work through your wxWidgets tutorials.

  • @TheTimeProphet
    @TheTimeProphet 3 года назад

    Hey I just found out how to compile it statically, and without cmake. I got hold of the latest wxWidgets 3.1.4 went to the Build/msw and run mingw32-make -f makefile.gcc BUILD=debug SHARED=0 MONOLITHIC=0 UNICODE=1 CXXFLAGS="-std=c++17" SHELL=cmd.exe and it makes all the files and everything you need without using cmake and codeblocks to compile. When you do it statically though you have to add all the libraries yourself to make it work. However it won't work with the mingw that comes with codeblocks. I had to install mingw separately and use the i686 mingw compiler. So it took me 3 solid days to work out how to do it statically, but now my exe does not need the dll files. Thank you for a great tutorial. My program wouldn't have been written if I hadn't watched it

  • @albertprinsloo5057
    @albertprinsloo5057 3 года назад

    Thank you bro. I struggled a month with this and your video helped me a lot
    (Oh and I am your 100th like XD)

  • @slidkag
    @slidkag 3 года назад +3

    If you are here, like me, because you feel in the deep that life suck and code::blocks hates you. And you follow rigorously this steps and still sucking. Be aware of having the same version of:
    - Codeblock (20.3)
    - GCC (8.1.0)
    - Cmake (3.16.6)
    if not, is not going to work, beleave me. i'm dealed with it for 3 entire days
    Cheers

  • @TheTimeProphet
    @TheTimeProphet 4 года назад

    Wow this video is lot more thorough than a video I watched 5 years ago. Also the video I watched only did the release version. I also notice that you don't use the wxWidgetProject to start your project. Surely that should be the best option, as it makes the start interface for you. I am gonna uninstall my old wxWidgets and get this installed now, because I accidentally broke my old one

  • @ggguest329
    @ggguest329 4 года назад

    Thank you so much, without this help a beginner like me will struggle for a long time.

  • @TheTimeProphet
    @TheTimeProphet 4 года назад +1

    Just noticed something about the exe created from wxWidgets. To run it you need to have two libraries in the folder wxbase313u_gcc_custom.dll and wxmsw313u_core_gcc_custom.dll, Is there anyway to statically link these so that you just need the exe and no extra libraries?

  • @ThalesPo
    @ThalesPo 3 года назад +1

    I'll never remember all of that. I fell asleep 14 times during the video. That is the messiest, crappiest system that I've ever seen in my life. I couldn't make it more boring if I tried. If I wrote the library myself it would be less boring. But great video. Thanks.

    • @ThalesPo
      @ThalesPo 3 года назад

      Went through all that trouble and it didn't work, by the way. When i try to build in codeblocks, it says "error: cmake version 3.20.4". Continued with it anyways, but in the HelloWorld example it doesn't build. Says that a file "wx/wxprec.h" is missing.

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

    Very appreciated. You could make a new tutorial on how to configure it with new versions or if not for new versions just how to configure it to work under codeblocks default wxWidgets template projects (New - Projects - wxWidgets project) its way better because you can use builtin into codeblocks gui editor for frame or dialog. Creating empty project defeats the purpose of codeblocks integrated visual gui editors.

  • @kudlatypioter4868
    @kudlatypioter4868 4 года назад +1

    If anyone have any problems with installation make sure to use gcc version 8.1.0 and wxwidgets 3.1.3, So basically configuration used in the video, any other version of gcc or wxwidgets can cause prolems, at least I had , i dont konw shit so mayby i did sm wrong xD

  • @m.g.2199
    @m.g.2199 3 года назад +1

    If someone has the issue that the "build" process of minute 6:59 will not work.
    Go to Settings - Compiler - Global compiler settings - Toolchain executables . There please check the compilers installation directory as well as the path`s to the compilers... (Also try "Auto-detect button right to the path of the installation directory."

  • @Shyshwak
    @Shyshwak 3 года назад

    Thank you so much for this video.

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

    Hello,
    at 7:27 I get 1 error at the Makefile. Build failed.
    Same goes for the release: [C:\Program Files\wxWidgets-3.1.3\cmake
    elease\Makefile|94|install] Error 1|

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

      Hello,
      I am having the same problem (but with line 98), did you find out the solution?

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

    I got hit hard with the good old "undefined reference to" linker error. no amount to adding and removing different libraries in linker setting seem to work.

  • @drgellner
    @drgellner 4 года назад +7

    I am stuck also with 3 times "CMake Error: cmake version 3.18.2
    ". Any ideas?

    • @wirebot34
      @wirebot34 4 года назад +1

      I have the same problem before !! You can reinstall MinGW

    • @anishmanandhar1203
      @anishmanandhar1203 4 года назад +1

      I have the same problem

    • @monchytales6857
      @monchytales6857 4 года назад +1

      I went ahead and ignored it and it still compiled for me!

    • @pkale7176
      @pkale7176 4 года назад

      @@monchytales6857 so everything's working fine now, right?!

    • @monchytales6857
      @monchytales6857 4 года назад +1

      @@pkale7176 Yeah! code compiles like a dream!

  • @Dopefish1337
    @Dopefish1337 3 года назад

    I get the error message: It seems that this project has not been built yet. Do you want to build it now? And it doesn't work when I press yes. Any suggestions?

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

    I did it exactly as in the video but at the end, when I built it, gave me 50 linker errors ("Undefined reference to..."). I've seen others have commetned that they have the same problem. Could you give me any advice? In other hand, this is the bes video about wxWidgets I've ever seen. YourSuscribers++ ;D

    • @yansontech6244
      @yansontech6244  4 года назад

      Undefined reference is a linker error so you probably have an issue with your linker settings. You'll want to double check your settings. Sometimes codeblocks doesn't save properly ruclips.net/video/QfpIcU9uB_c/видео.htmlm29s

    • @manuellernst3700
      @manuellernst3700 4 года назад

      @@yansontech6244 Will try it, Thanks!

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

      exactly the same for myself - sadly unable to resolve it.. checked all my linker settings multiple times.

  • @utenteausiliario2684
    @utenteausiliario2684 3 года назад

    Whwn building with cmake there are few things that don't understand, error like prompts, is it ok?
    Setting build type to 'Debug' as none was specified.
    The C compiler identification is GNU 8.1.0
    The CXX compiler identification is GNU 8.1.0
    Check for working C compiler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exe
    Check for working C compiler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exe - works
    Detecting C compiler ABI info
    Detecting C compiler ABI info - done
    Detecting C compile features
    Detecting C compile features - done
    Check for working CXX compiler: C:/Program Files/CodeBlocks/MinGW/bin/g++.exe
    Check for working CXX compiler: C:/Program Files/CodeBlocks/MinGW/bin/g++.exe - works
    Detecting CXX compiler ABI info
    Detecting CXX compiler ABI info - done
    Detecting CXX compile features
    Detecting CXX compile features - done
    cotire 1.8.0 loaded.
    Looking for pthread.h
    Looking for pthread.h - found
    Performing Test CMAKE_HAVE_LIBC_PTHREAD
    Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
    Found Threads: TRUE
    Looking for d2d1.h
    Looking for d2d1.h - found
    Found OpenGL: opengl32
    C CXX RC target base cotired without unity build.
    CXX RC target net cotired without unity build.
    CXX RC target core cotired without unity build.
    CXX RC target adv cotired without unity build and precompiled header. Too few applicable sources.
    CXX RC target aui cotired without unity build.
    CXX RC target html cotired without unity build.
    CXX RC target propgrid cotired without unity build.
    CXX RC target ribbon cotired without unity build.
    CXX RC target richtext cotired without unity build.
    CXX RC target webview cotired without unity build.
    CXX target wxscintilla cotired without unity build.
    CXX RC target stc cotired without unity build.
    CXX RC target xrc cotired without unity build.
    CXX RC target media cotired without unity build.
    CXX RC target gl cotired without unity build.
    CXX RC target qa cotired without unity build.
    CXX RC target xml cotired without unity build.
    Looking for 4 include files stdlib.h, ..., float.h
    Looking for 4 include files stdlib.h, ..., float.h - found
    Looking for va_copy
    Looking for va_copy - found
    Performing Test HAVE_VARIADIC_MACROS
    Performing Test HAVE_VARIADIC_MACROS - Success
    Performing Test HAVE_GCC_ATOMIC_BUILTINS
    Performing Test HAVE_GCC_ATOMIC_BUILTINS - Success
    Performing Test wxHAVE_PTHREAD_CLEANUP
    Performing Test wxHAVE_PTHREAD_CLEANUP - Success
    Performing Test HAVE_PTHREAD_MUTEXATTR_T
    Performing Test HAVE_PTHREAD_MUTEXATTR_T - Success
    Performing Test HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL
    Performing Test HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL - Success
    Performing Test HAVE___THREAD_KEYWORD
    Performing Test HAVE___THREAD_KEYWORD - Success
    Performing Test HAVE_ABI_FORCEDUNWIND
    Performing Test HAVE_ABI_FORCEDUNWIND - Success
    Looking for localtime_r
    Looking for localtime_r - not found
    Looking for gmtime_r
    Looking for gmtime_r - not found
    Performing Test wxSIZE_T_IS_NOT_UINT
    Performing Test wxSIZE_T_IS_NOT_UINT - Success
    Performing Test wxSIZE_T_IS_NOT_ULONG
    Performing Test wxSIZE_T_IS_NOT_ULONG - Success
    Performing Test wxWCHAR_T_IS_REAL_TYPE
    Performing Test wxWCHAR_T_IS_REAL_TYPE - Success
    Performing Test HAVE_PW_GECOS
    Performing Test HAVE_PW_GECOS - Failed
    Looking for ftime
    Looking for ftime - not found
    Looking for wcsftime
    Looking for wcsftime - found
    Looking for wprintf
    Looking for wprintf - found
    Looking for putws
    Looking for putws - not found
    Looking for fputws
    Looking for fputws - found
    Looking for vswprintf
    Looking for vswprintf - found
    Looking for vswscanf
    Looking for vswscanf - found
    Looking for wcsdup
    Looking for wcsdup - found
    Looking for wcsnlen
    Looking for wcsnlen - found
    Looking for wcscasecmp
    Looking for wcscasecmp - not found
    Looking for wcsncasecmp
    Looking for wcsncasecmp - not found
    Looking for wcsrctombs
    Looking for wcsrctombs - not found
    Looking for wcstoull
    Looking for wcstoull - found
    Looking for fsync
    Looking for fsync - not found
    Looking for snprintf
    Looking for snprintf - found
    Looking for vsnprintf
    Looking for vsnprintf - found
    Looking for strnlen
    Looking for strnlen - found
    Looking for strtoull
    Looking for strtoull - found
    Looking for setpriority
    Looking for setpriority - not found
    Looking for round
    Looking for round - not found
    Looking for C++ include tr1/type_traits
    Looking for C++ include tr1/type_traits - found
    Looking for C++ include type_traits
    Looking for C++ include type_traits - found
    Looking for fcntl.h
    Looking for fcntl.h - found
    Looking for langinfo.h
    Looking for langinfo.h - not found
    Looking for sched.h
    Looking for sched.h - found
    Looking for unistd.h
    Looking for unistd.h - found
    Looking for w32api.h
    Looking for w32api.h - found
    Looking for wchar.h
    Looking for wchar.h - found
    Looking for wcstr.h
    Looking for wcstr.h - not found
    Performing Test HAVE_STD_WSTRING
    Performing Test HAVE_STD_WSTRING - Success
    Performing Test wxTEST_TZ_timezone
    Performing Test wxTEST_TZ_timezone - Success
    Performing Test WX_GMTOFF_IN_TM
    Performing Test WX_GMTOFF_IN_TM - Failed
    Looking for dlopen
    Looking for dlopen - not found
    Looking for shl_load
    Looking for shl_load - not found
    Looking for gettimeofday
    Looking for gettimeofday - found
    Looking for sys/epoll.h
    Looking for sys/epoll.h - not found
    Looking for sys/select.h
    Looking for sys/select.h - not found
    Looking for sys/inotify.h
    Looking for sys/inotify.h - not found
    Looking for sys/event.h
    Looking for sys/event.h - not found
    Looking for xlocale.h
    Looking for xlocale.h - not found
    Looking for sys/types.h
    Looking for sys/types.h - found
    Looking for stdint.h
    Looking for stdint.h - found
    Looking for stddef.h
    Looking for stddef.h - found
    Check size of locale_t
    Check size of locale_t - failed
    Check size of pid_t
    Check size of pid_t - done
    Check size of size_t
    Check size of size_t - done
    Check size of wchar_t
    Check size of wchar_t - done
    Check size of int
    Check size of int - done
    Check size of long
    Check size of long - done
    Check size of short
    Check size of short - done
    Check size of gid_t
    Check size of gid_t - failed
    Check size of uid_t
    Check size of uid_t - failed
    Check size of mode_t
    Check size of mode_t - done
    Check size of off_t
    Check size of off_t - done
    Check size of long long
    Check size of long long - done
    Check size of ssize_t
    Check size of ssize_t - done
    Check if the system is big endian
    Searching 16 bit integer
    Check size of unsigned short
    Check size of unsigned short - done
    Searching 16 bit integer - Using unsigned short
    Check if the system is big endian - little endian
    Which libraries should wxWidgets use?
    wxUSE_STL: OFF (use C++ STL classes)
    wxUSE_REGEX: builtin (enable support for wxRegEx class)
    wxUSE_ZLIB: builtin (use zlib for LZW compression)
    wxUSE_EXPAT: builtin (use expat for XML parsing)
    wxUSE_LIBJPEG: builtin (use libjpeg (JPEG file format))
    wxUSE_LIBPNG: builtin (use libpng (PNG image format))
    wxUSE_LIBTIFF: builtin (use libtiff (TIFF file format))
    wxUSE_LIBLZMA: OFF (use liblzma for LZMA compression)
    Configured wxWidgets 3.1.3 for Windows-6.1.7601
    Min OS Version required at runtime: Windows XP / Windows Server 2003 (x64 Edition)
    Which GUI toolkit should wxWidgets use? msw
    Should wxWidgets be compiled into single library? OFF
    Should wxWidgets be linked as a shared library? ON
    Should wxWidgets support Unicode? ON
    What wxWidgets compatibility level should be used? 3.0
    Configuring done

  • @dionatagomescrisostomo945
    @dionatagomescrisostomo945 3 года назад

    In my case, there was an error in the defs.h library on line 906, saying: error: cast from 'const void*' to 'wxUIntPtr' {aka 'long unsigned int'} loses precision [-fpermissive].

  • @anjorobles7504
    @anjorobles7504 3 года назад +1

    What to do, i can't configure wxwidgets in cmake, it kept saying error in configuration process, project files may be invalid

    • @anjorobles7504
      @anjorobles7504 3 года назад

      And other stuff like cotire, opengl, wxbuild and wxuse did not appear along with cmake after i configure it

    • @sandovalcr6343
      @sandovalcr6343 3 года назад

      @@anjorobles7504 youre not be the one

  • @fancydoge574
    @fancydoge574 4 года назад +1

    Thank you very much for this video, but it does not work out for me. When I try to debug and compile, I get a lot of "undefined reference to". Do you have any suggestion ?

    • @Gogglesofkrome
      @Gogglesofkrome 4 года назад

      make sure you're referencing the compiled directory for the library

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

    Hello,
    I carefully followed your tutorial on installing wxwidgets with code blocks, unfortunately at 12:10 in the link phase the gcc_xc64_dll directory does not exist under wxwidgets/lib.
    Which procedure to use to comply with your explanation.
    Thank you

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

      For developing applications with wxWidgets you need to download the compiler-independent wxWidgets-3.1.3_Headers.7z file and one of wxMSW-3.1.3-vcXXX_Dev.7z or wxMSW-3.1.3_gccXXX_Dev.7z files depending on your compiler, its version and the target architecture (x86 if not specified or x64).
      Unpack both files into the same directory so that include and lib directories are at the same level after unpacking. You should be able to compile and link applications using wxWidgets in both debug and release modes but the debug symbols are provided only for debug libraries in this archive, see below for the release build debug symbols.
      Note that if you're setting up a new project using these binaries, the simplest way to do it is to use the provided wxwidgets.props file: for this, open the View|Property Manager menu item in the IDE, select "Add Existing Property Sheet..." from the project context menu and browse to this file in the file open dialog.

  • @feraudyh
    @feraudyh 4 года назад

    I have an old version of Qt with MingW on my machine. Is that going to create a conflict with a more recent version of MingW?

    • @yansontech6244
      @yansontech6244  4 года назад

      I genrally try to avoid multiple mingw installations. However, I don't think it will be a problem unless they are both in the path variable.

  • @drgellner
    @drgellner 4 года назад +1

    You rename the libraries, e.g. from libwxmsw31u_core.a to wxmsw31u_core. What is this good for? I guess you do this for any advantage. ... and how can CodeBlocks find the correct files? Is the file name that unimportant or is a implemented thing, that the characters "lib" can be cut of?
    Thanks

    • @EngineerAAJ
      @EngineerAAJ 4 года назад

      he did not rename the file, he used the rename option to easily copy the filename to insert in the configuration, about finding the right file, i have no idea what I am talking about, but I guess is a simple search function, same way he find the files in the windows search

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

    AWESOME! It helps me. thx

  • @TheTimeProphet
    @TheTimeProphet 3 года назад

    Hi Yanson. My program is nearly finished, but there is one thing that bothers me for my exe to run I need to have wxbase313u_gcc_custom.dll and wxmsw313u_core_gcc_custom.dll in the same folder. Is there no way to statically link these libraries so that you don't need to include them in the folder?

    • @yansontech6244
      @yansontech6244  3 года назад

      You would have to compile wxWidgets statically and link against it. It's possible, but I have always linked dynamically because it's easier.

    • @TheTimeProphet
      @TheTimeProphet 3 года назад

      @@yansontech6244 So say I was following your video, would I do that in the cmake stage? Would love to see a video on that. Nearly finished my program and got it working with sqlite too

    • @yansontech6244
      @yansontech6244  3 года назад +1

      @@TheTimeProphet You need to uncheck the wxBUILD_SHARED option in the cmake gui.

    • @TheTimeProphet
      @TheTimeProphet 3 года назад

      @@yansontech6244 Thanks. Going to have another go at re-compilingit later

    • @TheTimeProphet
      @TheTimeProphet 3 года назад

      @@yansontech6244 Well I rebuilt them with wxBUILD_SHARED option unticked. And it complains when I try to compile that the wxbase313ud_gcc_custom.dll was not found ,because it isn't in the newly compiled folder anymore. Do I have to do different build settings for a static build? I kept my orignal build just in case though. So I can switch it back

  • @robertodimas6459
    @robertodimas6459 4 года назад

    Great video. Thanks for your help.

  • @luckyabby2871
    @luckyabby2871 3 года назад +1

    when the install process, this is what I got
    .\ Error: cmake version 3.16.9
    what is wrong with this?

    • @nosikuminyoi18
      @nosikuminyoi18 3 года назад

      got a solution ?

    • @utenteausiliario2684
      @utenteausiliario2684 3 года назад

      Had the same problem and after some search found out i was using exwidgets-3.1.5 seems that this works for 3.1.3 because after i did the same with the exact version this video is created problem disappeared.

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

    Muy bueno, pero lo que no me queda claro, es como haces para obtener una versión de 32bits, de las librerías asumiendo Debug32, Release32, Debug64, Release64, porque en pc_x64, supongo que se puede, pero pc_x32, no se puede obtener la versión 64, supongo, donde cambias eso???

  • @TheTimeProphet
    @TheTimeProphet 4 года назад +1

    Having a problem compiling the debug in codeblocks. The first compile works on all, but when I do the compile using Install I get these errors and it doesn't work
    Build: install in wxWidgets (compile: GNU GCC Compiler)
    Error:cmake version 3.19.0-rc3
    Error:cmake version 3.19.0-rc3
    Error:cmake version 3.19.0-rc3
    Build finished with 3 errors
    PS. I am using latest Cmake and codeblocks 17.12

    • @yansontech6244
      @yansontech6244  4 года назад

      Make sure your using wxWidgets 3.1.3. The latest release 3.1.4 is giving people some trouble.

    • @TheTimeProphet
      @TheTimeProphet 4 года назад

      @@yansontech6244 ok I will try and get an older version. Thanks. I got wxWidgets to work a while ago, and since a bad crash I needed to re-install and found your video

    • @TheTimeProphet
      @TheTimeProphet 4 года назад

      Ok gonna be trying your suggestion. One quick question. When you do the compile install can it be installed to anther drive. I don't like installing stuff to C, as I am limited on space. Is there a setting in codeblocks for that?

    • @yansontech6244
      @yansontech6244  4 года назад

      @@TheTimeProphet You can specify the installation directory with the CMAKE_PREFIX_PATH variable. Just set it in the cmake gui before configuring/generating.

    • @TheTimeProphet
      @TheTimeProphet 4 года назад

      @@yansontech6244 Well I got it working (thanks for that), but there is a but. The way I had it configure prevously I could go new project and choose wxWidgets project, and this give you a GUI you can edit in view. All it does is ask you for the widget location, and it used to work. Using your method (which works), how do you get the GUI interface to come up so you don't have to do it all in code?

  • @RyanMcDonald
    @RyanMcDonald 4 года назад

    I am one billion percent sure I followed the instructions to the letter. Everything compiles, but the linker fails with "ld.exe||cannot find C:\Program Files (x86)\wxWidgets\lib\gcc_x64_dll: Permission denied|" All the files your video references are present and I can guarantee you there are no NT permissions that are keeping anyone of of this folder. Any ideas?

  • @TheTimeProphet
    @TheTimeProphet 4 года назад

    Hi Yanson. Thanks for the help in getting Wxwidgets to work. Just thought I should mention that there is a cavet that you may not have come across by installing on C: for some reason if you want to use a resource.rc file which you will need for a better look to the gui and if you want to add an icon to your project it won't find its libraries on C: This is because the Resource Compiler cannot find the wx folder on the C:drive. I spent 4 hours trying to get to work,and it wouldn't until I moved it from Program files to my H: drive

    • @yansontech6244
      @yansontech6244  4 года назад

      Sometimes paths with spaces will cause problems. The space is used as a delimiter so the computer thinks the path is C:\Program when it should be C:\Program Files (x86).

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

    just wanted to add that at 9:37 in video make sure release and debug are checked..

  • @jcbritobr
    @jcbritobr 3 года назад

    why not use precompiled binaries?

  • @CorentinCholley
    @CorentinCholley 4 года назад

    Hello, everything works fine until 12:11 but I didn't have the "gcc_x64_dll" in "C:\Program Files (x86)\wxWidgets\lib". Instead I have a "wx" folder and a lot of .a and .dll. and nothing called "mswu" and "mswud". When did I got wrong please ?

    • @Dopefish1337
      @Dopefish1337 3 года назад

      You need to install the right version of wxWidgets, you probably got the Visual Studio version instead of the MinGWx64 version

    • @abhinishanand
      @abhinishanand 3 года назад

      @@Dopefish1337 How to make sure which is MinGWx64 version as the download page of wxWidgets doesnot specify that.

  • @borislavluis8827
    @borislavluis8827 4 года назад

    I have 3 errors after debug install. wxWidgets version 3.1.4, codeblocks 20.03 with MinGW compiler in the installation and cmake-3.19.0-rc3. Can you help?

    • @yansontech6244
      @yansontech6244  4 года назад +1

      Use wxWidgets 3.1.3. wxWidgets 3.1.4 has been giving people trouble.

  • @bobsthedude2093
    @bobsthedude2093 4 года назад +1

    Nice tutorial, but I am running into an issue. Everything is fine until I select install in CB and click build. The process almost completes then I get the following error 3 times. .\ ErrorL cmake version 3.18.0 and quits. Any idea?

    • @josebitsch
      @josebitsch 4 года назад +1

      I have the same issue

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

      @@josebitsch
      3.1.3 works but the latest release of WxWidgets is not agreeing with Cmake or CodeBlocks, not sure which one.
      github.com/wxWidgets/wxWidgets/releases/tag/v3.1.3

    • @rishabhkumar8115
      @rishabhkumar8115 4 года назад +1

      @@andrewoconnell4302 after all wxwidgets version 3.1.3 also does NOT works at all.

  • @mcdove
    @mcdove 4 года назад

    Thanks... can you do a video on setting it up with VS Code, it will be much appreciated?

    • @yansontech6244
      @yansontech6244  4 года назад +1

      I'll take a look at it. I don't use vs code much

    • @mcdove
      @mcdove 4 года назад

      @@yansontech6244 🔥🙌🔥🙏

  • @musttampvan5488
    @musttampvan5488 4 года назад

    sir, after build debug and release version to Program Files (x86) using code::blocks. can i remove the wxWidgets source code? because it size become big about 10Gb and my HDD is limited for now. any answer is appreciate.

    • @yansontech6244
      @yansontech6244  4 года назад

      Yup, you can delete it.

    • @musttampvan5488
      @musttampvan5488 4 года назад

      @@yansontech6244 thank you sir for fast response. please make some basic fundamental how to reading wxWidgets API to make functional simple app using code::block IDE. :)

    • @yansontech6244
      @yansontech6244  4 года назад

      @@musttampvan5488 Thanks for the suggestion. I'll see what I can do.

    • @musttampvan5488
      @musttampvan5488 4 года назад

      @@yansontech6244 your welcome sir. :)

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

    Thanks a lot.

  • @rishavbhardwaj2930
    @rishavbhardwaj2930 3 года назад

    thanks for making videos like this, can you give instruction on how to stop that black terminal from opening at 16:42 which opens in background with our actual compiled application(it is annoying)

    • @Shyshwak
      @Shyshwak 3 года назад

      You need to change from debug to release in codeblocks next to build button

  • @majdmustafa2733
    @majdmustafa2733 3 года назад

    i followed all of the steps and when i went to build it i received a lot of Was Not Declared Errors

  • @scramjet4610
    @scramjet4610 4 года назад

    It works, great video!

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

    Thankyou 🥺🤗

  • @SureshGovindhan
    @SureshGovindhan 3 года назад

    Neat one!

  • @chikwandaacademy
    @chikwandaacademy 4 года назад

    I am getting this error when generating the contents of release:
    CMake Error: failed to create symbolic link 'E:/Softwares/wxWidgets-3.1.4/cmake/release/wx-config': operation not permitted
    Also I didnt find the files containing the setup.h

  • @hackerman8364
    @hackerman8364 3 года назад

    errorr cmake verson 3.19.3 wtf its the latest one what does this mean?

  • @liuqiminmail
    @liuqiminmail 4 года назад

    Thank you very much,this is a great video tutorial.
    Compile Latest Stable Release: 3.0.5 with this method, there is an error (cmakelists.txt not found), are there any suggestions?

    • @yansontech6244
      @yansontech6244  4 года назад +1

      There should be a CMakeLists.txt file in the root directory of your wxWidgets folder. Check and see if it's there. If it is then you have the cmake-gui pointing to the wrong place. If it's not there then you need to try downloading wxWidgets again.

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

    Many thanks for the video but sadly getting loads of errors on building the example cpp.. eg error wxUSE_ANY must be defined, please read comment near the top of this file - no idea what i am doing wrong.. IGNORE THIS - just noticed i used 3.1.6 - trying again with 3.1.3.

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

      sorry i tried following these instructions exactly.. when i go to build on debug or release of the tutorial Main.cpp still get loads of error messages.. eg error "wxUSE_ANY must be defined, please read comment near the top of this file."

  • @ariosetiawan173
    @ariosetiawan173 4 года назад

    I dont find cmake on wxWidgets-3.1.3 latest release

  • @MithoThoup
    @MithoThoup 4 года назад

    Hey, theres no gcc_x64_dll in my lib file, what could have gone wrong?

    • @yansontech6244
      @yansontech6244  4 года назад +1

      I'm guessing your using wxWidgets 3.1.4 which is still under development. Make sure your using wxWidgets 3.1.3.

    • @MithoThoup
      @MithoThoup 4 года назад

      @@yansontech6244 Yep, realized that earlier, and used the 3.1.3, thanks!

  • @theab101
    @theab101 3 года назад

    If anyone get a permission denied error in CMake just run CMake as administrator.

  • @mohannadsaifo951
    @mohannadsaifo951 4 года назад

    Thank you very much, the documentations are horrible on both wxwidgets and code blockes websites in my opinion.

  • @thekiller12319
    @thekiller12319 4 года назад

    Thank you po sir!

  • @airbuff
    @airbuff 3 года назад

    I keep getting 3 errors I tried using cmake 3.16.6 and cmake 3.20.0.
    both the errors look like
    CMake Error: cmake version 3.16.6
    CMake Error: cmake version 3.20.0
    I have
    - GCC 8.1.0
    -wxwidget 3.1.4
    -codeblocks 20.03

    • @yansontech6244
      @yansontech6244  3 года назад +1

      This tutorial works best with wxwidgets 3.1.3.

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

    Hey I was wondering if anyone can help me completely set this up. I am 95% accurate with the steps . However I can’t seem to be getting it complete. Thanks

  • @ОлегГромов-л2д
    @ОлегГромов-л2д 3 года назад

    Hello, can you make it without Cmake, thank

  • @funmilayoadekeye1977
    @funmilayoadekeye1977 3 года назад

    thanks

  • @whimsical2223
    @whimsical2223 3 года назад

    for some reason i never got the release bianries! ! !

  • @johnnyverse257
    @johnnyverse257 3 года назад

    recipe for target failed 'libs/cmakefile/wxzlib.dir/_/_/_/src/zlib/adler32.c.obj' failed

  • @mastergiorgis
    @mastergiorgis 4 года назад

    6:59 Ha it took 19 mins and 42 secs

    • @albertprinsloo5057
      @albertprinsloo5057 3 года назад

      14 minutes for me ;)

    • @mastergiorgis
      @mastergiorgis 3 года назад +1

      @@albertprinsloo5057 cool

    • @m.g.2199
      @m.g.2199 3 года назад

      13:22 == :-D new CPU PC Benchmark is now available ;-)