User forums > Using Code::Blocks
missing wx/setup.h
PB:
--- Quote from: bdad on December 12, 2022, 03:44:35 pm ---Are you suggesting that I am more likely to succeed if I get a recent nightly builds, of codeblocks, (any one, or the most recent?) and there is an included wizard that will install wxWidgetsi.
--- End quote ---
AFAIK, there is no C::B wizard that is going to install wxWidgets for you. The wizard I mentioned just creates a C::B project using wxWidgets, but a wxWidgets build must be available.
--- Quote from: bdad on December 12, 2022, 03:44:35 pm ---I've little idea on how to proceed, at the moment. There seems to be too many choices for me, in particular when I have little idea of exactly what I now have on my system.
--- End quote ---
Building wxWidgets is no rocket science, all you need is:
1. Decide on which compiler to use and ensure it is installed and set-up in C::B.
2. Decide which wxWidgets version to use - I agree with your choice of v3.2.1.
3. Build wxWidgets in your desired configuration (e.g., shared vs static, 32- or 64-bit).
4. Create a C::B project using wxWidgets, either with the wizard from the nightly or my guide.
--- Quote from: bdad on December 12, 2022, 03:44:35 pm ---Am I right in thinking that none of this needs to be installed on drive C:, provided i put in the full path name when asked in the installation procedures?
--- End quote ---
wxWidgets certainly can be anywhere, I am not sure about the compiler. I am also not sure what you mean by the installation procedure. I would just download wxWidgets source archive and build it as described in the official docs or in my guide. Unless you have a very slow compiler, the build should take minutes or tens of minutes at most.
bdad:
Thanks, it's getting a bit clearer, I'll let you know how I get on.
I expect it will be the gnu gcc compiler, version 3.21 of wxWidgets and static 64 build. It seems that wxSmith is fairly straightforward. The only bit I think I've not done before, afaik, is build wxWidgets.. I'l'l remove the existing and do a fresh install of it all.
bdad:
Hi ,
Going through your comprehensive PB guide, I'm stuck. It seems that the page you linked to Para 3.2, , my w10 complains about the fileo says it's unconfirmed, but I tried another page, and got msys2 installed, it needed no updates. The links to mingw toolchain, no longer seems to exist in para 3.3 . Of course, it could be me, I tried msys2 a week or two back, got nowhere with it. I guess your para 3.4 will be the way to go.
stahta01:
I have never installed msys2 and it needed no updates; you are either lucky or wrong.
Command to update msys2 below
--- Code: ---pacman -Syuu
--- End code ---
Tim S.
bdad:
At least, afasi can tell, I've got wxwin environment variable set up, but then got stuck in trying to do a staticbuild of wx widgets, using your build-library-static.bat. So, as I think you mentioned to use a nightly build of codeblocks,, I thought I 'd try that but it says on that page
--- Quote ---Before you use a nightly make sure you understand how it works.
A link to the unicode windows wxWidget dll(s) for Code::Blocks : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw32u_gcc_cb_wx321_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z
The 10 December 2022 build is out.
- Windows :
http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2022/CB_20221210_rev13107_win64.7z
--- End quote ---
I have no idea on how to install that, so is there an 'idiot's guide' somewhere?
If I install the 20.03 release, that has a setup, is that the way, then install the nightly?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version