Why there is no compiled WxWidgets version?
Why there is no compiled WxWidgets version?
I am worcking with WxWidgets since some years, at the beginig I have used WxDev which was a very easy to use tool for worckin with WxWidgets, but since its outdated I have to use other tools. At the moment I am using Code Blocks which has also suport for WxWidget projects, but the bigest problem is, that you have to build WxWidgets for it separatly, which was my bigest nightmare cosidering programming. I know WxWidgets can worck on diferent OS and with different compilers, but why there is no compiled version at least for the recently used compilers on Windows? A compiled WxWidget version would really make it easier to worck with it.
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Why there is no compiled WxWidgets version?
There are compiled wxWidgets available on the wxWidgets website (see the "Binaries" section): https://www.wxwidgets.org/downloads/
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Re: Why there is no compiled WxWidgets version?
So I don´t really have to build them any more?eranon wrote:There are compiled wxWidgets available on the wxWidgets website (see the "Binaries" section): https://www.wxwidgets.org/downloads/
Which files do I have to download then?
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Why there is no compiled WxWidgets version?
One matching the family of compilers you are using (ie. about Windows, there's MSVC or GCC). Also, notice the binaries available here are shared libs only (DLL on Windows) since for static linking you'll need to build it yourself to be sure to provide the exact same build options as the one used in your wxWidgets-based project(s).
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Re: Why there is no compiled WxWidgets version?
So it should be GCC I am using, at least it defenetlly not MSVC. But what about that dll stuff, have only used static builds befor, but since building is a realy huge pain in the as, I have to take that pill of using dlls. I mean it took about an hour to buld WxWidgets the last time, something I dont want to do again.eranon wrote:One matching the family of compilers you are using (ie. about Windows, there's MSVC or GCC). Also, notice the binaries available here are shared libs only (DLL on Windows) since for static linking you'll need to build it yourself to be sure to provide the exact same build options as the one used in your wxWidgets-based project(s).
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Why there is no compiled WxWidgets version?
There're pros and cons about both DLL and static: https://www.google.fr/search?q=wxwidgets+dll+vs+static. For me, DLL has sense only if it's really shared between several apps (ie. in a common location) or when you have no other choice (eg. I'm using libiconv-2.dll with one of my app because I never found the material to build it as static lib) or to do some quick tests or to speed up the linking time (for the DEBUG build during you dev cycle for example), etc. Well, IRL I'm going static unless other real reason.
Well, 1 hour is a little long.... It all depends on your hardware. Do you use the "-j" option to to shorten this duration?
Well, 1 hour is a little long.... It all depends on your hardware. Do you use the "-j" option to to shorten this duration?
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Re: Why there is no compiled WxWidgets version?
Not using any options, just copy pasted the comandline from some tutorial. As Windows user I am not familiar with all that comandline stuff. The hour it took to build the WxWidgets was nothing against the time it took to find the worcking version of comandline.eranon wrote:There're pros and cons about both DLL and static: https://www.google.fr/search?q=wxwidgets+dll+vs+static. For me, DLL has sense only if it's really shared between several apps (ie. in a common location) or when you have no other choice (eg. I'm using libiconv-2.dll with one of my app because I never found the material to build it as static lib) or to do some quick tests or to speed up the linking time (for the DEBUG build during you dev cycle for example), etc. Well, IRL I'm going static unless other real reason.
Well, 1 hour is a little long.... It all depends on your hardware. Do you use the "-j" option to to shorten this duration?
The problem I am having with dlls is that you have to distribute them with the applikation.
Re: Why there is no compiled WxWidgets version?
Hi,
Out of curiosity - what command did you use to build the library?
If you have a relatively new hardware it shouldn't be that long...
Thank you.
Out of curiosity - what command did you use to build the library?
If you have a relatively new hardware it shouldn't be that long...
Thank you.
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Why there is no compiled WxWidgets version?
Nobody is familiar before to become familiar The question is just your relationship to the learning curve.gtafan wrote:Not using any options, just copy pasted the comandline from some tutorial. As Windows user I am not familiar with all that comandline stuff. The hour it took to build the WxWidgets was nothing against the time it took to find the worcking version of comandline.
The problem I am having with dlls is that you have to distribute them with the applikation.
Whatever the command line the build duration will be not drastically different. Well, for example, building wxWidgets 64-bit release static libs takes about 10 minutes against TDM64-GCC 4.7 in a PC with an AMD FX-8370, 16GB RAM, and all dev material on SSD. Of course, if you want 32 & 64-bit, DEBUG and RELEASE, it's four times the same... But it doesn't change everyday, the main options are just MONOLITHIC=0|1, SHARED=0|1 and BUILD=debug|release (the rest is optimization, specificities and personal choices).
--
EDIT: Forgotten to indicate that this duration is obtained passing "-j8" in command line; otherwise, it's obviously far slower.
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Re: Why there is no compiled WxWidgets version?
eranon,
But as you said, -jx can decrease the build time..
Thank you.
But as you said, -jx can decrease the build time..
Thank you.
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Why there is no compiled WxWidgets version?
Hi.
Regards
Xav'
And if the choice you have using this link, you can have a look here : you will be able to download differents configurations that can be installed in one time.eranon wrote:There are compiled wxWidgets available on the wxWidgets website (see the "Binaries" section): https://www.wxwidgets.org/downloads/
Regards
Xav'
My wxWidgets stuff web page : X@v's wxStuff
- eranon
- Can't get richer than this
- Posts: 867
- Joined: Sun May 13, 2012 11:42 pm
- Location: France
- Contact:
Re: Why there is no compiled WxWidgets version?
Nice, Xaviou I didn't know this page. Hope the op will be back here (since you provide static flavor of the libs too)...xaviou wrote:Hi.And if the choice you have using this link, you can have a look here : you will be able to download differents configurations that can be installed in one time.eranon wrote:There are compiled wxWidgets available on the wxWidgets website (see the "Binaries" section): https://www.wxwidgets.org/downloads/
[Ind. dev. - wxWidgets 3.0/3.1 under "Win 7 64-bit, TDM64-GCC" + "OS X 10.9, LLVM Clang"]
Re: Why there is no compiled WxWidgets version?
This sounds awsome and exactly like what I was searching for.xaviou wrote:Hi.And if the choice you have using this link, you can have a look here : you will be able to download differents configurations that can be installed in one time.eranon wrote:There are compiled wxWidgets available on the wxWidgets website (see the "Binaries" section): https://www.wxwidgets.org/downloads/
Regards
Xav'
Is the 3.0.3 version there the same, as called stable?
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Why there is no compiled WxWidgets version?
Yes : it relies on the same git tag 3.0.3gtafan wrote:Is the 3.0.3 version there the same, as called stable?
If you prefer : you can only download one or more build package and get the sources one from the official site.
Regards
Xav'
My wxWidgets stuff web page : X@v's wxStuff
Re: Why there is no compiled WxWidgets version?
Yes I prefer to get the sorces, or to be more precise headers, from the official site and avoid git.xaviou wrote:Yes : it relies on the same git tag 3.0.3gtafan wrote:Is the 3.0.3 version there the same, as called stable?
If you prefer : you can only download one or more build package and get the sources one from the official site.
Regards
Xav'
Is there some kind of reedmee about how to bring the sorces and this compiled libs together, so it´ll worck in Code Blocks?