Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Using Code::Blocks / Re: I can't run a command only build target
« Last post by ollydbg on September 16, 2023, 05:03:14 am »
I think this issue is related:

Code::Blocks / Tickets / #1395 Compilergcc
32
Using Code::Blocks / I can't run a command only build target
« Last post by ollydbg on September 16, 2023, 04:57:28 am »
Hi, I have a build target named "MakePackage", in this target, I select its type is "command only".

In the pre-build or post-build script, I wrote the command like:

Code
cmd /c MakePackageRelease.cmd

With this command, I just copy all the exes and dlls to a specified folder.

I used this for a long time. But with the recent SVN C::B, I see this function does not work, because when I click the "run" button of the target, it will prompt

Code
[Window Title]
codeblocks.exe

[Content]
You must select a host application to "run" a commands-only target...

[OK]

Which means I have to specify a host program?

So, I believe this is a regression. :)
33
Plugins development / Re: GitBlocks to keep most of it working under Windows 10
« Last post by stahta01 on September 15, 2023, 11:18:49 pm »
Uhm, well... not really :P.

The history looks like you cherry-picked the commit, that was the worst option (does the GitHub UI even offer that option?). In general you perform a merge, for external contributions i prefer to always enforce a merge, even if like in this case a fast-forward merge would have been possible.

Also, it is kind of bad practice to create a PR from the main branch, in general you make a feature branch and create a PR from that one.

Thanks for the feedback; I will do it manually next time; I dislike git merges.

So, next time I will do a manual commit and see if it works better or it works worse.

Tim S.
34
Plugins development / Re: GitBlocks to keep most of it working under Windows 10
« Last post by sodev on September 15, 2023, 09:49:11 pm »
Uhm, well... not really :P.

The history looks like you cherry-picked the commit, that was the worst option (does the GitHub UI even offer that option?). In general you perform a merge, for external contributions i prefer to always enforce a merge, even if like in this case a fast-forward merge would have been possible.

Also, it is kind of bad practice to create a PR from the main branch, in general you make a feature branch and create a PR from that one.
35
Plugins development / Re: GitBlocks to keep most of it working under Windows 10
« Last post by stahta01 on September 15, 2023, 09:28:09 pm »
Hi Tim,

I tested the plugin in Linux wx3.0, it works fine. I've created pull request https://github.com/stahta01/GitBlocks/pull/1 with project file. Could you please check?

Thanks,
Christo

This is the first time for me to process an PR; I think I did it right.

Tim S
36
Plugins development / Re: GitBlocks to keep most of it working under Windows 10
« Last post by christo on September 15, 2023, 06:04:23 pm »
Hi Tim,

I tested the plugin in Linux wx3.0, it works fine. I've created pull request https://github.com/stahta01/GitBlocks/pull/1 with project file. Could you please check?

Thanks,
Christo
37
General (but related to Code::Blocks) / Re: Using the screenshots in books
« Last post by MichaelAgarkov on September 15, 2023, 04:48:41 pm »
Apologies, and after searching, I think the answer is probably no, it was discussed here. Did not expect this rabbit hole to go deep.
38
Help / Re: Building project on command line with dependencies
« Last post by rgleim on September 15, 2023, 04:42:53 pm »
Looks like what I'm gathering is that you can't build a single project on the command line and have it figure out the dependent projects, and then build those.  Workspace builds work because it has knowledge of all other projects. Command line looks like you need to specify each individual project, in the order you want, to create the final executable.

I found the attached on the code::blocks wiki, but after setting up the external dependencies in the project, it's still not working on the command line.

Building the workspace works, but that doesn't work on the build machine because we don't save/have a workspace in the build system.

I did build the workspace. See bold from my previous posts.
39
General (but related to Code::Blocks) / Re: Using the screenshots in books
« Last post by stahta01 on September 15, 2023, 04:16:46 pm »
Code::Blocks is open-source, published under the GNU GPL, so you are more than allowed to use screenshots of it in publication, as far as I understand.

Poor logic! And, at one time the images had a different license.

You are allowed to use GPL code in an GPL compatible product. Most books are not GPL compatible products.

Tim S.
40
Help / Re: CodeBlocks can't "build and Run" the the "Hello world"
« Last post by stahta01 on September 15, 2023, 02:50:05 pm »
The terminal program setting in CB needs to be changed or the OP needs to install zsh terminal.

Edit: Settings -> Enviroment
General Setting
Change "Terminal to launch console program" or install terminal listed in stetting

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