Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
The only way I can think of now is to add a Tool:

1. Use menu Tools/Configure Tools....
2. Click Add in the User-defined tools dialog.
3. In the Edit Tool dialog use for cmd (without quotes): "Cmd" for Name, "cmd" for Executable and "$(TARGET_OUTPUT_DIR)" for Working directory. Leave Launching options at the first choice.

Unfortunately, macros such as $(TARGET_OUTPUT_DIR) may be working only after a build, so perhaps it would be better to hard-code the path in each tool, even if less convenient.

Now you can launch the tool via Tools menu. You can add another tool for PowerShell in the same way.

Unfortunately, I don't think it is possible to assign a keyboard shortcut for a Tool.

There is probably a better way (e.g., with scripting) but even this may be a bit faster than what are you doing now.
Hello All

Is there a direct UI feature that would open a console of my choice (cmd or Powershell) in the debug directory
of the current project.

I am working with code that is written as a console filter (stdin and stdout) with optional command line options.
Think wc or grep in the Unix world.

I need the console open each time I work on this code so I can running them through tests.

For now the shortest way is right click on the source file get the "Project base path" from the properties
switch over to a console  and cd to the pasted path with \bin\Debug added on.

Looking for alternatives

This work is being done on Windows 11.
Hello all

I am a 49 veteran of the IT field.  Programmer and Sysadmin, did devops before it had a name,
real time programming, Web application development in the 1.0 era, IT  Management ,
business analyst.

I am in my retirement job of teaching system administration in a community college for over a decade.

Hobby interest is embedded systems.  Tinkering with Arduino, micro-python and retro hardware savaged from the dump.
Learning C for 9th time, fan of Pelles C in another hobby life.

Just Another Prosaic Tinkerer

Probably you added libsprite.a and libbgi.a to the old MinGW lib folder, and the new MinGW is looking in it's own lib folder so it does not find them. When compiling from command line you are using the old MinGW because it is in the path.
Help / After installing codeblocks-20.03mingw-setup I can't build any c/c++ code
« Last post by dtrill on July 18, 2024, 01:36:48 am »
I upgraded code blocks today using 20.03mingw-setup.exe. Now, I cannot build any c/c++ code. Build error ".../x86-64-w64-mingw/bin/id.exe: cannot find -lsprite & -lbgi: No such file of directory". However, I can compile the code using g++ on the Windows command-line. Thank you for your assistance.
Nightly builds / Re: The 05 July 2024 build (13536) is out.
« Last post by Khram on July 15, 2024, 12:20:55 pm »
Maybe it was my mistake. I simply had to restore everything from the archive. In the CB-13533 version, the same operations are performed without any complaints. I'm sorry, I'll try to study this problem a little later.
Nightly builds / Re: The 05 July 2024 build (13536) is out.
« Last post by Wkerry on July 15, 2024, 11:32:16 am »
Please give usable info otherwise like your previous posts will go into the bit bucket grave.
Nightly builds / Re: The 05 July 2024 build (13536) is out.
« Last post by Khram on July 14, 2024, 11:04:14 pm »
It's a pity. My old program projects with compilation sequences broke. The C++ compiler settings are messed up. I urgently returned to version 13533_win 64. A little later I will try to find a solution to this strange problem. :'(
Using Code::Blocks / Re: How to configure SPIR-V compiler in codeblocks
« Last post by cdavalillo on July 14, 2024, 04:34:47 pm »
Thank you for the help, that is exactly what I was asking for. Now I have the following compilation command

$compiler $options $includes -c $file -o $file_dir/$file_name.$exe_ext

And in the Others tag in the field of object file extension I have the spv extension. This settings yield a .spv compiled file and after checking the compiled file with the SPIR-V visualizer ( I get what is in the following image
Pages: 1 [2] 3 4 5 6 7 ... 10