Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on September 14, 2024, 09:10:39 am »
Some improvements about the github build bot.

1, I think we need to build a "CbLauncher.exe" in the "bin" folder(the codeblocks.exe is in the the same bin folder), currently the configure-make method in the build bot does not generate this file. I mean by running this exe file, C::B is running in portable mode, all the configure settings were created in "bin/AppData" folder, so it won't pollute other C::B settings. For my test, I just copy a "CbLauncher.exe" from other windows build packages, and it works.

2, when I download the "Artifacts" file from the github action (for example, in my own github action here: https://github.com/asmwarrior/x86-codeblocks-builds/actions/runs/10538520726), I need to set the PATH variable to adding my local msys2/mingw64/bin path

Code
set PATH=<your_local_msys2_mingw64_bin_path>;%PATH%

by setting this, when code::blocks runs, it will find the gcc's dlls, wx's dlls, and exchnl's dlls. (suppose you install them by the pacman command)

Here is the list of dlls of the codeblocks.exe by using brechtsanders/pedeps: Cross-platform C library to read data from PE/PE+ files (the format of Windows .exe and .dll files)'s listpedeps commands:

Code
listpedeps.exe -s codeblocks.exe
[codeblocks.exe]
architecture: x86_64
machine name: AMD AMD64 (x64)
subsystem:    Windows GUI
DLL:          no
stripped:     no
file version: 0.0
minimum Windows version: 5.2
IMPORTS
libcodeblocks-0.dll
COMCTL32.dll
exchndl.dll
libgcc_s_seh-1.dll
KERNEL32.dll
msvcrt.dll
SHELL32.dll
libstdc++-6.dll
USER32.dll
wxbase32u_gcc_custom.dll
wxmsw32u_aui_gcc_custom.dll
wxmsw32u_core_gcc_custom.dll
wxmsw32u_html_gcc_custom.dll
wxmsw32u_propgrid_gcc_custom.dll
wxmsw32u_xrc_gcc_custom.dll

So, you can see that you need to copy those dlls from the msys2 mingw64's bin folder, so that you can distribute a full package:


Code
exchndl.dll


libgcc_s_seh-1.dll
libstdc++-6.dll


wxbase32u_gcc_custom.dll
wxmsw32u_aui_gcc_custom.dll
wxmsw32u_core_gcc_custom.dll
wxmsw32u_html_gcc_custom.dll
wxmsw32u_propgrid_gcc_custom.dll
wxmsw32u_xrc_gcc_custom.dl

To copy those dlls from the msys2's bin folder, you have to use another tool named "copypedeps.exe" from "brechtsanders/pedeps".

The commands are something like below:

Code
copypedeps.exe -r -n -v ./codeblocks.exe ./

The options can be explained by the "-h" help command.

Code
copypedeps.exe -h
Usage: copypedeps [-h|-?] [-r] srcfile [...] dstfolder
Parameters:
  -h -?         display command line help
  -r            recursively copy dependancies
  -n            don't overwrite existing files
  -d            dry run: don't actually copy, just display copy actions
  -q            quiet mode, only show errors
  -v            verbose mode (display copy actions)
Description:
Copies .exe and .dll files and all their dependancies to the destination folder.
Version: 0.1.14 (library version: 0.1.14)

So, can you add the extra steps like below:

1, build the CBLauncher.exe
2, use pacman to install the drmingw for the exchndl.dll and related dlls. See here: mingw-w64-x86_64-drmingw
3, use the pedeps to copy all the necessary dlls to the bin folder.

Any ideas?


EDIT:

mingw-w64-x86_64-drmingw is already installed in the current github action code.

EDIT2:

The spell checker plugin is not loaded correctly, so maybe my local msys2 does not have hunspell package installed.
32
Nightly builds / The 14 September 2024 build (13570) is out.
« Last post by killerbot on September 14, 2024, 08:22:30 am »
We switched to gcc 14.1.0 (on 20 May 2024) --> download the new wx/mingw dll's see link below

Get the compiler we use here : https://github.com/brechtsanders/winlibs_mingw/releases/download/14.1.0posix-18.1.5-11.0.1-ucrt-r1/winlibs-x86_64-posix-seh-gcc-14.1.0-mingw-w64ucrt-11.0.1-r1.7z

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

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_wx325_2D_gcc1410-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls14.1.0.7z


The 14 September 2024 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2024/CB_20240914_rev13570_win64.7z
  - Linux :
   none

The current SDK version is : 2.25.0

Resolved Fixed:

  • Syntax highlighting: fix default colour detection and restoration.
  • Compiler: Disable the Run button if there is no project and there is no valid editor.
  • wxSmith: allow specific and generic object event functions
  • wxSmithAui: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • ProjectOptionsManipulator: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • HexEditor: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • HeaderFixUp: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • EditorConfig: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • DoxyBlocks: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • Cscope: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • CppCheck: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • cbKoders: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • ByoGames: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • AutoVersioning: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • codecompletion: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • debugger: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • mimehandler: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • HeadscriptedwizarderFixUp: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • tidycmt: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • Addr2LineUI: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • cb_share_config: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • core and core plugins: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • core: remove pixel-wise sizing where not needed (always prefer sizer-based layout)
  • re-generated several wxSmith related code portions due to changes in wxSmith (no functional changes)

Regressions/Confirmed/Annoying/Common bugs:


    33
    General (but related to Code::Blocks) / Re: Problem with SFML 2.0 libraries
    « Last post by everSome on September 13, 2024, 09:54:03 pm »
    If you are still using the ucrt environment of MSYS2, you can get their binary package of SFML via

    pacman -S mingw-w64-ucrt-x86_64-sfml

    Doing so currently will get you SFML 2.6.1

    That package name is for the UCRT64 environment.

    Tim S.

    Right you are! At one point in this thread, the originator showed a listing that indicated he was binding against the UCRT64 variant. However, he seems quite confused. That's why I prefaced my comment with "If you are still using ..."
    34
    Using Code::Blocks / Re: Update of documentation CB on Windows
    « Last post by ThierryD on September 13, 2024, 07:04:55 pm »
    Hi,

    After change and reformat MD and PDF (but not about all doc, only middle made) for lisibility, result are most presentable ?

    Thank's Ollydbg (or anyone of team CB).

    Sincerly.

    35
    Using Code::Blocks / Re: Update of documentation CB on Windows
    « Last post by ThierryD on September 13, 2024, 01:57:58 pm »
    Yes, you rigth.

    I must reformat with clearly most "end of line" in all Markdown (an after refresh export PDF issued of Obsidian "MD writer").

    Thank's.

    Thierry D.
    36
    Help / Re: Registering 2024 is not next year
    « Last post by Jenna on September 13, 2024, 12:27:50 pm »
    Thanks, we will ask our forum administrator to fix them.
    I just updated the registration questions.
    Might also help a little bit against spam-bots. Silly hope, I know.
    37
    Using Code::Blocks / Re: Update of documentation CB on Windows
    « Last post by ollydbg on September 13, 2024, 11:58:45 am »
    In this document:

    https://github.com/tdechaize/tools_tde/blob/main/How%20config%20CB%20MinGW64%20GCC%20C_C%2B%2B%20compiler%20into%20CodeBlocks.md

    My suggestion is that you need to add some makdown code syntax field for the setting code, otherwise, the generated pdf is hard to read. Thanks.
    38
    Help / Re: Deactivate the overwrite mode
    « Last post by Miguel Gimenez on September 13, 2024, 09:41:33 am »
    Future spam added to radar.
    39
    Help / Re: Deactivate the overwrite mode
    « Last post by KittyCat Cute on September 13, 2024, 02:17:26 am »
    thank you!!  :D
    40
    Using Code::Blocks / Re: Update of documentation CB on Windows
    « Last post by ThierryD on September 12, 2024, 05:32:07 pm »
    Hi,

    Yes, i cannot hide I'm French ...  ;D, Sorry!
    This repository is, generally, clearly destinated to french users ... but I'have created deliberately, on this site, all documentations about configuration of different compilers into CB in English.

    You can only select all files that began by "How config ...." on this repo, and click on this files to read contents (it's same content beetween Makdown, PDF or txt format for each category of "compilers/packages"), or download it.

    I'm very interested, if you have remarks about contents, because I'm have not "rereader" in my environment to critisize these "first try of documentation".

    Thank's for all,

    Regards.
    Pages: 1 2 3 [4] 5 6 7 8 9 10