Recent Posts

Pages: 1 ... 5 6 7 8 9 [10]
91
Using Code::Blocks / Re: cbp2make - makefile generation tool
« Last post by ollydbg on August 26, 2024, 04:13:37 pm »

https://github.com/stahta01/MINGW-packages/actions/runs/10543268999#artifacts

Link to 4 versions of untested packages.

These packages are autodeleted in time; I have no idea how long I think it was 90 days.

Tim S.

Thanks. I will try it, it looks like I need to use the pacman command to manually install this package.  :)
92
Using Code::Blocks / Show GIT version on my application
« Last post by GRighi on August 26, 2024, 03:51:07 pm »
Hello,
I would like to show the gitversion of my repo on my applications.
The idea is to generate a version.h file containing the git information like this https://stackoverflow.com/questions/69194603/how-to-set-git-version-in-h-file-before-build.
Is there a way to retrive the gitversion info and generate the version.h file during the project build?
93
Using Code::Blocks / Re: cbp2make - makefile generation tool
« Last post by stahta01 on August 25, 2024, 05:12:49 pm »
Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

What OS? If Windows MSys2, what environment?

Tim S.

Hi, Tim, I have both 64bit Windows 10 and Windows 7 at hands. I mainly use msys2, and in the mingw-w64 (not ucrt) target.

https://github.com/stahta01/MINGW-packages/actions/runs/10543268999#artifacts

Link to 4 versions of untested packages.

These packages are autodeleted in time; I have no idea how long I think it was 90 days.

Tim S.
94
Using Code::Blocks / Re: cbp2make - makefile generation tool
« Last post by ollydbg on August 25, 2024, 03:06:36 pm »
Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

What OS? If Windows MSys2, what environment?

Tim S.

Hi, Tim, I have both 64bit Windows 10 and Windows 7 at hands. I mainly use msys2, and in the mingw-w64 (not ucrt) target.
95
Development / Re: build bot in the github, I see one nice project
« Last post by ollydbg on August 25, 2024, 12:46:14 pm »
OK, I will have a try.
Still the same...
I think those commands are from the project files.

Correct, those zip command are defined in the cbp files, see the image show below.

But when those command were run from the windows command line (CMD), it works OK.

So, I'm not sure why it works badly under mingw32-make.exe, did you run mingw32-make.exe inside a msys2's mingw64 shell? or a pure CMD shell?

As Tim(stahta01) suggested, I think you have to check which zip executable the mingw32-make.exe was actually calling.

96
Development / Re: build bot in the github, I see one nice project
« Last post by Wkerry on August 25, 2024, 07:36:04 am »
Have you looked at previous forum posts on github actions as per the following thread to see if it has anything useful?
https://forums.codeblocks.org/index.php?topic=24972.0
97
Development / Re: build bot in the github, I see one nice project
« Last post by stahta01 on August 25, 2024, 06:39:44 am »
The only way I have fixed this issue in the past was to either edit the CBP files or place a good zip command in the path.

To place a good zip command in the path; I first removed or rename the bad zip command and then via trial and error added the path to the good zip command to the PATH using the export command.

Those both worked for me over the past few years; but, neither was easy to automate.

Maybe finding the correct location in cbp2make to edit will be a better solution.

Tim S.
98
Using Code::Blocks / Re: cbp2make - makefile generation tool
« Last post by stahta01 on August 25, 2024, 04:05:54 am »
Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

What OS? If Windows MSys2, what environment?

Tim S.
99
Development / Re: build bot in the github, I see one nice project
« Last post by Grit Clef on August 25, 2024, 04:05:13 am »
OK, I will have a try.
Still the same...
I think those commands are from the project files.
100
Using Code::Blocks / Re: cbp2make - makefile generation tool
« Last post by ollydbg on August 25, 2024, 02:16:17 am »
Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?
Pages: 1 ... 5 6 7 8 9 [10]