Author Topic: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022  (Read 28905 times)

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Updated for the release on 23-Jan-2022.

The installers references in this post are *not* official Code::Blocks releases, nor are they thoroughly tested like the official builds done by the Code::Blocks Team.
The installers do, however include changes that make the Code::Blocks installation and setup/configuration on Windows allot easier compared to the official C::B 20.03 installers.

Installer download link:

https://sourceforge.net/projects/unofficial-cb-installers/

C::B exe/dll changed/update highlights compared to the last nightly SVN 12673 release (23-Jan-2022):

    1. Incorporated SVN changes up to and including SVN 12673. See https://sourceforge.net/p/codeblocks/code/12673/log/ for change info.
    2. Does not include the CBFortan Plugin or other plugins that are SVN externals.
    3. Has auto-detect/auto add GDB support when options*.xml include GDB info. (SF Ticket 1114)
    4. Auto-detect POP up condition on startup has changed. After initial install will only pop up if the default compiler has issues. (SF Ticket 1117)
    5. Auto-detect compiler dialog has the option to show the installed or all the compilers. (SF Ticket 1117).
    6. The compiler selection dialog has the option of showing the detected compilers or all the compilers. Fix a number of compiler selection dialog bugs. (SF Ticket 1111)
    7. Moved Help->About->Information to Help->"System Information" and added allot of extra info on the CB and PC setup. Added copy to clipboard button that anonymizes the data when copied to the clipboard. (SF Ticket 748)
    8. Add ability to copy debug watch variable content to clipboard. Add three extra watches dialog context menu options: copy data, copy symbol and data and copy the symbol tree. (SF Ticket 654)
    9. Added Pecan's experimental CB-clangd_client. See https://sourceforge.net/projects/cb-clangd-client (updated to V2.0.10 as of 23JAN2022)
    10. Fix SVN 12662 change so batch mode build works again (fixed on 23-Jan-2022)

Updated installer highlights compared to the C::B 20.03 NSIS installer:
    1. Option to download and run the following compiler installers from the internet:
            MinGW-W64
            TDM
            MSSY2
            Cygwin
    2. Optionally remove user application data if found on an unnstall.
    3. Option to un-install if already found when installing.
    4. Optionally checks for fortan plugin and if found adds it to the installer.
    5. Output filename includes date and 32 or 64 bit and version.
    6. Added missing files that are included in the nightly build.
    7. Inno setup only does a full install.
    8. Updated start menu links.
    9. Ability to specify the start menu directory.
    10. Ability to specify the install directory.
    11. On an un-install allot more registry entries are removed (NSIS still leaves a few). Not all entries are removed.
    12. To many other changes to mention....
    13. Check out the https://sourceforge.net/projects/unofficial-cb-installers/files/Installer_Pages.odt file for the installer pages.
    14. Now installs Code::Blocks in the "C:\Program Files" directory for the 64 bit installer.
    15. Inno installer uses InnoSetup Compiler(ISS) (http://www.jrsoftware.org) aka ISS V6.2.0
    16. NSIS installer uses NSIS compiler (http://nsis.sourceforge.net) V3.7.0
    17. Inno installer script file is "Installer_ISS_full_only.iss"
    18. NSIS installer script file is "Installer_NSIS.nsi"
    19. NSIS only - Added XP SP 3 x86 and x64 support - different set of files from https://sourceforge.net/p/codeblocks/code/11196/tree/trunk/src/exchndl /win32/bin and /win64/bin.. NOTE: Inno setup 6 does not support XP anymore. x66 works, but x64 has issue with mscrt.dll function missing.
    20. Both Installer can install using non admin (user) account. Admin is needed to install in the C:\Program file.... directory. If you run normally you install as a user, but if you run as admin you are asked which type of installation  you want.
    21. Both Installer can optionally open the https://github.com/ssbssa/gdb/releases web page as a sub checkbox in the compiler install page under the MINGW checkbox. This qallows the user to manually install a later GDB for MINGW that works. (SF ticket 1020)
    22. Installer code is not a separate repo, but a directory in the C::B GitHub source repo tree. (SF Ticket 1119)
    23. Massive NSIS changes (Including updating parts to the new NSIS 3 way of working) (SF Ticket 1119)
    24. Inno Setup installer created and tested (SF Ticket 1119)
    25. Graphics changes included in the installers (I am not a graphical arteist if you get it!) (SF Ticket 1119)
    26. Installer script files support both 32 and 64 bit in the one script file. (SF Ticket 1119)
    27. Can build the installer(s) from a batch file now. (SF Ticket 1119)
    28. On Windows initial install auto detect GDB installation and configure it for use. (SF Ticket 1114)
    29. Asks if you want to uninstall previopus version before installing new version.
    30. Install and uninstall checks to see you are running as admin or normal user so the install/uninstall uses the same priveleges as last one.
    31. Modified nsi to only show the download compiler page if an internet connection is detected.
    32. Modified nsi to support installing the following if they are in the same directory as the installer:
            * i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z
            * x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
          These can be downloaded from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/


SOURCE/Compiler Info:
1. The source code repo used to produce the installers is currently:
    https://github.com/acotty/codeblocks_sf/tree/AC-WindowsInstaller
2. C::B x64 built with MSYS2 mingw64 GCC 11.2 using the latest MSYS 2 release (GCC 10.3 => 11.2 ON 24Oct2021)
3. C::B x86 built with MingGW-32 installer using "GCC 8.1.0 , i686, posix threading, dwarf exception handing and 0 build revision" configuration.


NOTES:
If you want to check these installers out then I would advise backing up your Code::Blocks install and user data directories before running the installer so you can go back to your current configuration.
You can also rename Code::Blocks install and user data directories instead of backing them up if you want.
« Last Edit: January 23, 2022, 06:51:24 am by AndrewCot »

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #1 on: August 02, 2021, 12:54:52 pm »
32 bit installers are now available if anyone wants to give them a go, but be aware the 32 bit release have only had a quick test to see that the installers work and that CB will start and run.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #2 on: August 05, 2021, 03:10:49 pm »
Updated 64 bit installers available with the following changes:

04-Aug-21 Ticket 808 - Updated the default compiler background color to red if invalid. With 1117 this should resolve 808.
05-Aug-21 Ticket 748 - Moved Help->About->Information to Help->"System Information" and added allot of extra info on the CB and PC setup for helping with issues and bugs.
05-AUG-21 Added extra help plugin menu items for the updated documentation included in the installation. These appear as sub menu items in the Help menu.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5645
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #3 on: August 06, 2021, 01:04:47 am »
Nice work!

I would suggest you can add the build information of the C::B binary, such as what compiler do you use to build the C::B.

Also, is it possible to to support portable mode, I mean we have a "CBlauncher.exe", which can run C::B in portable mode, in this mode, all the options are stored in a local sub folder.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #4 on: August 06, 2021, 02:14:10 am »
The x64 info is included in the original post above. The readme on the Sourceforge file download page is the latest and includes the build info for x86, which was updated when I did the x86 installers.

All of the installers include the CbLauncher.exe as the installers include everything the existing ones do plus some more files.  Looks like I need to do a cross check on the start menu shortcuts between the NSIS and ISS scripts as the ISS script does not include adding a shortcut like the NSIS installer does.

Do you mean by "support portable" mode by adding the shortcut into the ISS installers?  If not, can you please elaborate or point me where I can find out what I need to do to add the mode in.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5645
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #5 on: August 06, 2021, 08:02:10 am »
The x64 info is included in the original post above. The readme on the Sourceforge file download page is the latest and includes the build info for x86, which was updated when I did the x86 installers.

OK, I see it, it is "Built with MSYS2 mingw64 GCC 10.3 using the latest MSYS 2 release".

Quote
All of the installers include the CbLauncher.exe as the installers include everything the existing ones do plus some more files.  Looks like I need to do a cross check on the start menu shortcuts between the NSIS and ISS scripts as the ISS script does not include adding a shortcut like the NSIS installer does.

Do you mean by "support portable" mode by adding the shortcut into the ISS installers?  If not, can you please elaborate or point me where I can find out what I need to do to add the mode in.

I mean in the install page, you can tell the user, if they want to use C::B in portable mode, they should run "CbLauncher.exe", otherwise, they can run "CodeBlocks.exe". Or maybe, a better idea is to add a new shortcuts as "run Code::Blocks in portable mode".

Generally, I think most people don't know running CbLauncher.exe will run C::B as portable mode.

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #6 on: August 06, 2021, 08:35:39 am »
Thanks for the explanation.

I have added this to my list to look at when I get to the issue of updating the installers to work with a non admin user account as the current installers need admin rights to installed that apps in the program files directory. Currently you need admin rights to run the cblauncher for it to work, which is not acceptable IMHO.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #7 on: August 06, 2021, 08:46:18 am »
Updated 64 bit installers available with the following changes since the last relase:

06-Aug-21 Ticket 748 - In Help->"System Information" copy to clipboard button now anonymize's the data when copied to the clipboard and shows the spinning cursor while the data is being worked on.
06-AUG-21 Added missing INNO installer shortcuts that were in the NSIS installer.
06-AUG-21  NSIS only - Added XP SP 3 x86 and x64 support - different set of files from https://sourceforge.net/p/codeblocks/code/11196/tree/trunk/src/exchndl /win32/bin and /win64/bin.. NOTE: Inno setup 6 does not support XP anymore.  Needs to be tested as I do not have XP anymore!!!!

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #8 on: August 07, 2021, 11:40:53 am »
Updated 64 bit installers available with the following changes since the last release:

07-AUG-21 Ticket 654 - Copy Debug Watch variable content to clipboard. Add three extra watches dialog context menu options: copy data, copy symbol and data and copy the symbol tree.


Note:
Windows XP 32 bit installer has been tested and runs on XP x86 & x64, but the XP x64 does not run CB X64 build.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #9 on: August 08, 2021, 01:01:49 pm »
Updated all of the installers available with the following changes since the yesterday:

08-Aug-21 Inno ans NSIS Installer can install using non admin (user) account. Admin is needed to install in the C:\Program file.... directory. If you run normally you install as a user, but if you run as admin you are asked which type of installation  you want.
08-Aug-21 Updated the Installer_Pages.odt for installer user install changes.
08-Aug-21 Ticket 1122 - pull upstream changes, so incorporated this change to fix compilation with wx-master
08-Aug-21 Ticket 1113 - pull upstream changes, so incorporated this change to fix Linux: xfce4 and gnome terminal can not be terminated
08-Aug-21 no ticket ref# - pull upstream changes, so incorporated this change for scripting change to Print more information when someone calls a native function from squirrel incorrectly.


Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #10 on: August 09, 2021, 01:02:18 pm »
Updated all of the installers available with the following changes since the yesterday:

09-Aug-21 Ticket 1125 - Only show valid compilers in the Compiler Selection dialog (if you load a project with invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!] and go to the build options). The function is CompilerFactory::SelectCompilerUI(msg).
09-Aug-21 Ticket 1126 - Add compiler validation checking when loading a project.
09-Aug-21 Potentially Ticket 1020 - Both Installer can optionally open the https://github.com/ssbssa/gdb/releases web page as a sub check box in the compiler install page under the MINGW check box. This allows the user to manually install a later GDB for MINGW that works.

The x86 installers are available now and the x86 should be available in the next hour once the build finishes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13438
    • Travis build status
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #11 on: August 09, 2021, 03:09:09 pm »
FYI: The licenses of most of the code is GPLv3/LGPLv3. This means that you're obliged to provide the source code used to build the binary in some form. Either as part of the installer or as separate archive or link to github repo.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #12 on: August 10, 2021, 06:28:36 am »
As expected you did not read and follow the info supplied.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7300
    • My Best Post
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #13 on: August 10, 2021, 07:33:51 am »
FYI: The licenses of most of the code is GPLv3/LGPLv3. This means that you're obliged to provide the source code used to build the binary in some form. Either as part of the installer or as separate archive or link to github repo.

Likely link https://github.com/acotty/codeblocks_sf/tree/AC-WindowsInstaller
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #14 on: August 10, 2021, 11:04:33 am »
At least one person reads the info.

There could be a up to a 2 hour lag either way with regards to a new installer upload and the changes landing in the Github repo. I usually push to github when I think a piece of work is done and my initial testing passes, which is usually more often than the updates to the installer.

I expect the next update to not occur until the next SVN change(s) make it into the trunk, unless bugs or issues are found or I spot another Windows install/setup quirk that should be fixed in order to reduce the newbies asking questions as to why the install /setup does not work (okay I know my changes will not fix 100% of the issues, but it should reduce them).

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #15 on: August 16, 2021, 01:07:49 pm »
Installers for x64 have been updated.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #16 on: August 22, 2021, 09:16:50 am »
Updated release now available for x64.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #17 on: September 05, 2021, 05:45:35 am »
Updated X86 and X64 installers are now available that incorporate the latest SVN changes.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #18 on: September 15, 2021, 05:07:39 am »
Updated release now available for x64.

The main changes are with the installer and manual incorporation of SF ticket 1135 patch.

The installer changes are:
    30. Install and uninstall checks to see you are running as admin or normal user so the install/uninstall uses the same priveleges as last one.
    31. Modified nsi to only show the download compiler page if an internet connection is detected.
    32. Modified nsi to support installing the following if they are in the same directory as the installer:
            * i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z
            * x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z
          These can be downloaded from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/

The NSIS changes are incorporated into the Installer_Pages.odt file, which you can open in MS Work or LibreOffice.
« Last Edit: September 15, 2021, 05:09:31 am by AndrewCot »

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installer for Windows x64 August 2021
« Reply #19 on: October 06, 2021, 05:50:42 am »
Updated X64 installers to include patch for ticket 1108.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Ocober 2021
« Reply #20 on: October 07, 2021, 10:12:25 am »
Updated X64 installers to include the following changes:

    12. 7-Oct-2021: Manually incorporated SF SVN code fix for SF ticket 1108. For Windows, close shown floating windows before shutdown to avoid hangs in Hide() and crashes in Manager::Shutdown(). Updated fix v2 on 7-Oct-2021
    13. 7-Oct-2021: Manually incorporated SF SVN code fix for SF ticket 1139. Correct language of wxLED contrib item
    14. 7-Oct-2021: Manually incorporated SF SVN code fix for SF ticket 1138. wxSmith: Fix compilation with wxUSE_STL == 1
    15. 7-Oct-2021: Manually incorporated SF SVN code fix for SF ticket 1142. Fix CCManager compilation with C++17
    16. 7-Oct-2021: Manually incorporated SF SVN code fix for SF ticket 1137. Remove obsolete workaround in file manager

In addition to the C::B changes above the NSIS installer was upgraded from 3.0.7 to 3.0.8.

NOTE:
If anyone wants the x86 (32bit installer and 32 bit C::B version) please let me know and I will build them and upload the files for you to check out.
« Last Edit: October 07, 2021, 10:14:59 am by AndrewCot »

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Ocober 2021
« Reply #21 on: October 24, 2021, 07:10:55 am »
Updated release now available for x64.

The main change compared to the last nightly build is that GCC 11.2 was used to build WxWidget and C::B.

Please post on this thread any issues you find that are not in the nightly build 12535 release.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Ocober 2021
« Reply #22 on: October 25, 2021, 03:20:12 am »
Updated release now available for x64.

The change is to incorporate the code changes for SVN 12537.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #23 on: December 04, 2021, 03:39:05 am »
Updated release now available for x64.

This incorporates the code changes up to and including SVN 12551.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #24 on: December 08, 2021, 12:07:14 am »
Updated release now available for x64.

This incorporates the code changes up to and including SVN 12557.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #25 on: December 13, 2021, 07:18:47 am »
Updated release now available for x64 & x86

This incorporates the code changes up to and including SVN 12573.


Note: x86 has only been checked that it runs.
« Last Edit: December 13, 2021, 08:46:06 am by AndrewCot »

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #26 on: December 14, 2021, 11:33:34 pm »
Updated release now available for x64.

This release incorporates the changes up to and including SVN 12579 change.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7300
    • My Best Post
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #27 on: December 28, 2021, 02:50:35 am »
Typo on webpage. https://sourceforge.net/projects/unofficial-cb-installers/

"Save to different progrma file directory" Should be "Save to different program file directory".

progrma -> program

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #28 on: December 28, 2021, 03:47:04 am »
Thanks Tim. I changed it to:
"Ability to change the install destination directory"

As during the installer development I was able to add the ability to change the install destination directory, not just use c:\Program Files or c:\Program Files (x86) based on 32 or 64 bit installer, but it looks like I did not update my notes and as such the dot point was wrong and had the typo in it.

Let me know if you spot any other issues or quirks or if you have any questions.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 December 2021
« Reply #29 on: December 31, 2021, 09:55:26 am »
Last x64 update for 2021.

This release hopefully incorporates all of the changes up to and including SVN 12615 change (manually merged) and ticket 1171 change.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #30 on: January 01, 2022, 01:35:29 am »
Another update to sync with latest official nightly from guess what last night!!!!

Incorporates changes up to and including SVN 12618 change.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #31 on: January 07, 2022, 04:09:58 am »
Updated release now available for x64.

This release incorporates:
1. The changes up to and including SVN 12639579
2. Temporary code to show the C::B startup time in the log
3. Pecan's experimental cland-client plugin for codecompletion.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #32 on: January 09, 2022, 01:59:30 am »
Updated release now available for x64.

This release incorporates:
1. Pecan's experimental 08-Jan-2022 SVN r8 cland-client plugin for codecompletion.

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #33 on: January 22, 2022, 07:09:26 am »
Updated release now available for x64.

This release has the following major changes:1. Updated to latest SF CB code, SVN 12672. (Lots of changes and fixes).
2. Updated Pecan's experimental CB-clangd_client to latest SF CB-clangd_client code


Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #34 on: January 23, 2022, 07:00:19 am »
Updated release now available for x64.

This release has the following major changes:1. Added Pecan's experimental CB-clangd_client. See https://sourceforge.net/projects/cb-clangd-client (updated to V2.0.10 as of 23JAN2022)
2. Fix SVN 12662 change so batch mode build works again (fixed on 23-Jan-2022)
Other changes:
1. Updated to latest SF CB code, SVN 12673.

Offline gerwin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #35 on: August 04, 2022, 06:17:06 pm »
Hello AndrewCot,
Thanks for your efforts.
Me and some other guys at msfn.org  were discussing about the latest version of Code::Blocks able to run on Windows XP SP3 x86.
And unfortunately release v20.03 had the symbols browser disabled on purpose. Making release release v17.12 the most viable option. It would be interesting to try your unofficial x86 SVN, to see if it has a proper symbols browser. But I cannot try it, because this link does not work anymore...:
https://sourceforge.net/projects/unofficial-cb-installers/
Please advise.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1118
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #36 on: August 04, 2022, 07:09:34 pm »
Sadly, the version of Dr. MinGW used (0.9.1) does not run on XP-SP3, so the program will not start (I have just tried).

Offline gerwin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #37 on: August 04, 2022, 07:36:55 pm »
Sadly, the version of Dr. MinGW used (0.9.1) does not run on XP-SP3, so the program will not start (I have just tried).

For the v20.03 release this incompatibility can be solved, or at least worked around, with the method posted by SiZiOUS here:
https://forums.codeblocks.org/index.php/topic,23770.0.html
Which comes down to using Dr. MinGW 0.8.2 binary files instead
« Last Edit: August 04, 2022, 07:38:34 pm by gerwin »

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1118
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #38 on: August 04, 2022, 08:09:37 pm »
I have uploaded here a zip containing the Codeblocks folder, you can use it as a portable application (no installation). This link will last 24 hours from now.

I am a C::B developer, the files are official and updated to revision 12857 (head-1).

Offline gerwin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #39 on: August 04, 2022, 08:26:46 pm »
I have uploaded here a zip containing the Codeblocks folder, you can use it as a portable application (no installation). This link will last 24 hours from now.

I am a C::B developer, the files are official and updated to revision 12857 (head-1).

Thanks for compiling and sharing that Win32 rev12857!
It seems to startup fine on Windows XP x86 with the mentioned drmingw-0.8.2 files, and it has the symbols browser. :)
Noted that the link will expire soon, I will keep it stored locally. 

(A minute ago I also found a similar Win32 package in google drive from Xaviou here:
https://forums.codeblocks.org/index.php/topic,25008.msg0/boardseen.html#new
Working too, but somehow it has all these .a libraries in the root of the program?)

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1118
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #40 on: August 04, 2022, 08:49:44 pm »
The libraries are intended for plugin developers, I removed them from the ZIP to reduce size.
 

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 657
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #41 on: August 05, 2022, 12:06:59 am »
You can grab the required XP files from https://github.com/acotty/CodeBlocks_Unofficial_Testing/tree/master/src/exchndl/Win_XP
The C::B official installer does not detect the OS it is installing on and only has one set of Dr Mingw files, where you need 6 sets to ensure that the installer works on 32 V 64 bit OS's and then XP or 7 or 10+ is also needed.
Gerwin,
I would advise leaning how to build C::B for XP yourself as then you can build the latest when you want to upgrade it. If you want to give it a go have a look at the following doc as a starting point:

Offline gerwin

  • Single posting newcomer
  • *
  • Posts: 5
Re: Unofficial Code::Blocks installers for Windows x86 & x64 Janurary 2022
« Reply #42 on: August 05, 2022, 07:31:42 pm »
You can grab the required XP files from https://github.com/acotty/CodeBlocks_Unofficial_Testing/tree/master/src/exchndl/Win_XP
The C::B official installer does not detect the OS it is installing on and only has one set of Dr Mingw files, where you need 6 sets to ensure that the installer works on 32 V 64 bit OS's and then XP or 7 or 10+ is also needed.
Gerwin,
I would advise leaning how to build C::B for XP yourself as then you can build the latest when you want to upgrade it. If you want to give it a go have a look at the following doc as a starting point:
It has been long since I used the installer version, instead of the zip. The few remaining Windows XP tinkerers are generally willing to do a few manual steps, in order to make some current build work on that OS. It is already a win to have a current 32-bit build without Vista+ API calls. Nobody is asking for more.

Thanks for the link to the Windows build documentation. I will give it a try when I have some need/interest in a newer SVN version. First I will work a bit with the package supplied by Miguel.