What is the right way to close a frame in wxWidgets Topic is solved
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
The way I install the wxwidgets is like this:
I extract the 2 rar files and copy & paste the lib and include folders into the installation of wxWidgets 3.1.4 folder.
I then run the mingw32 command for compiling the wxWidgets files
This is how I install the wxwidgets library.
Am I doing it the right way?
I extract the 2 rar files and copy & paste the lib and include folders into the installation of wxWidgets 3.1.4 folder.
I then run the mingw32 command for compiling the wxWidgets files
This is how I install the wxwidgets library.
Am I doing it the right way?
Re: What is the right way to close a frame in wxWidgets
The purpose of the prebuilt libraries is that you don't have to build them yourself.
add <prebuild>/lib/gcc920TDM_dll/mswu/ (or mswud for debug) as first one(!) to the include paths.
(If the compiler looks for setup.h, it should be taken from here)
include libs from <prebuild>/lib/gcc920TDM_dll/
I also just remembered a crash related to GCC920.
https://groups.google.com/g/wx-users/c/ ... IlTA5XAAAJ
Maybe you could try with GCC 8.1 if you run out of ideas.
add <prebuild>/lib/gcc920TDM_dll/mswu/ (or mswud for debug) as first one(!) to the include paths.
(If the compiler looks for setup.h, it should be taken from here)
include libs from <prebuild>/lib/gcc920TDM_dll/
I also just remembered a crash related to GCC920.
https://groups.google.com/g/wx-users/c/ ... IlTA5XAAAJ
Maybe you could try with GCC 8.1 if you run out of ideas.
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
I don't quite understand what you are saying.
Can you show me how to Build the wxwidgets library?
I have a process of compiling the library.
Can you show me your way?
Can you show me how to Build the wxwidgets library?
I have a process of compiling the library.
Can you show me your way?
Re: What is the right way to close a frame in wxWidgets
I don't use MinGW/GCC, but this post might help:
viewtopic.php?f=19&t=47231
viewtopic.php?f=19&t=47231
Use the source, Luke!
Re: What is the right way to close a frame in wxWidgets
Hi,
Please DO NOT intermix the builds of the library.
Also, if you want to build this yourself:
1. Drop the UNICODE option it is ON by default.
2. Drop the MONOLITHIC option - it doesn't give you anything, just create more problems and its rarely tested by the core devs.
3. Are you building the DLL or you put the application in one binary? If the latter - use SHARED=0 to link the wxWidgets statically.
Thank you.
Please DO NOT intermix the builds of the library.
Also, if you want to build this yourself:
1. Drop the UNICODE option it is ON by default.
2. Drop the MONOLITHIC option - it doesn't give you anything, just create more problems and its rarely tested by the core devs.
3. Are you building the DLL or you put the application in one binary? If the latter - use SHARED=0 to link the wxWidgets statically.
Thank you.
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
I have SUCCESSFULLY build the wxWidgets Library in Visual Studio 2019 community edition.
I created my Project and ran it SUCCESSFULLY in VS 2019.
I now know that the problem is in the way I am building my library.
I still like CodeBlocks and like to do development work there instead of VS 2019.
What would you recommend? VS or Codeblocks for wxwidgets?
The Steps given for VS are clearly stated on https://github.com/wxWidgets/wxWidgets/ ... tag/v3.1.4
Are there no steps given for Codeblocks installation and WxWidgets?
Thanks a Ton! @ doublemax.
You've been patient with me all the time.
I created my Project and ran it SUCCESSFULLY in VS 2019.
I now know that the problem is in the way I am building my library.
I still like CodeBlocks and like to do development work there instead of VS 2019.
What would you recommend? VS or Codeblocks for wxwidgets?
The Steps given for VS are clearly stated on https://github.com/wxWidgets/wxWidgets/ ... tag/v3.1.4
Are there no steps given for Codeblocks installation and WxWidgets?
Thanks a Ton! @ doublemax.
You've been patient with me all the time.
Re: What is the right way to close a frame in wxWidgets
That depends on your demands.I still like CodeBlocks and like to do development work there instead of VS 2019.
What would you recommend? VS or Codeblocks for wxwidgets?
I use VS, because...
1) i only work under Windows
2) i only need executables that run under Windows
3) i don't use a graphical GUI editor
4) the compiler is much faster than MinGW/GCC
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
Alright.
I guess I should also stick to VS 2019.
I really appreciate your help.
Thanks!
I guess I should also stick to VS 2019.
I really appreciate your help.
Thanks!
Re: What is the right way to close a frame in wxWidgets
Hi,
Also windows and msvc are produced by the same company, therefore msvc might generate better code.
Thank you
P.S. Try to compile the library as I suggested.
Also windows and msvc are produced by the same company, therefore msvc might generate better code.
Thank you
P.S. Try to compile the library as I suggested.
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
Just a small question.
How do I create a shell application for wxWidgets app in VS 2019
Is there a procedure or article that helps build the shell project?
How do I create a shell application for wxWidgets app in VS 2019
Is there a procedure or article that helps build the shell project?
Re: What is the right way to close a frame in wxWidgets
What do you mean with "shell application" ?
Use the source, Luke!
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
A wxWidgets App to start with.
Like in Codeblocks , we have a wxWidgets project to begin with.
A Starter Template app in VS 2019 for wxWidgets app to start with a wxApp and a WxFrame app
Shell application like how we have in Windows Forms application.
Like in Codeblocks , we have a wxWidgets project to begin with.
A Starter Template app in VS 2019 for wxWidgets app to start with a wxApp and a WxFrame app
Shell application like how we have in Windows Forms application.
Re: What is the right way to close a frame in wxWidgets
There is no official template. I'd just copy the "minimal" sample and start from there.sly_chandan wrote: ↑Fri Feb 19, 2021 10:14 am Like in Codeblocks , we have a wxWidgets project to begin with.
A Starter Template app in VS 2019 for wxWidgets app to start with a wxApp and a WxFrame app
Use the source, Luke!
Re: What is the right way to close a frame in wxWidgets
Or you can just let MSVS project wizard create an empty Windows application and use this guide to add wxWidgets to it:
viewtopic.php?f=19&t=46700#p196105
viewtopic.php?f=19&t=46700#p196105
-
- Earned some good credits
- Posts: 116
- Joined: Fri Sep 25, 2015 2:33 pm
Re: What is the right way to close a frame in wxWidgets
How do I build the wxwidgets library via mingw
I would like to do development work with codeblocks as well.
Is there a step by step instructions to Build via mingw
Please mention what needs to be downloaded and extracted
I would like to do development work with codeblocks as well.
Is there a step by step instructions to Build via mingw
Please mention what needs to be downloaded and extracted