Changing default terminal of Codeblocks 13.12 in Windows

6,368

Almost all words from your question may be trimmed.

So, if your question was in fact "How to set up ConEmu as default terminal for CodeBlocks" you may easily find the answer in docs. Just specify proper names as hooked executables

codeblocks.exe|gdb.exe

You have problems because C:B is trying to execute the following:

C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe "C:\Users\Akash\Google Drive\Codes\codeforces\H_designation.exe"

Do they know that paths with special symbols like spaces must be put in double quotes? Reinstall C:B in the folder without spaces, or run C:B using short names, sort of

C:\PROGRA~2\CodeBlocks\codeblocks.exe
Share:
6,368

Related videos on Youtube

goelakash
Author by

goelakash

CS undergraduate student at DTU, Delhi. I have a mortal fear of SO downvotes.

Updated on September 18, 2022

Comments

  • goelakash
    goelakash almost 2 years

    I seem to be at a dead end here. I cannot change the terminal for Codeblocks on Windows, although it is a cakewalk in Linux.

    1. The option is greyed out.
    2. Running as admin doesn't work also.
    3. The box has command "bin/sh -c" inside. I installed ConEMU and made it the default terminal for all applications. I found a sh.exe in MinGW/bin/mysys/1.0/ , and opening it runs the ConEMU terminal, and I couldn't find any other file named 'sh' (I also have bash installed in Windows through git). So running sh.exe runs bash in ConEMU.

    I searched a lot, but it doesn't seem that anybody's query was fulfilled. How do I change my terminal from the infernal Windows cmd in C::B?

  • goelakash
    goelakash almost 9 years
    It didn't work. I checked the register on OS startup and added codeblocks and gdb.exe to the hooked executables. Then restarted and ran a program from within codeblocks.(Also, I am using a separate 64-bit MinGW compiler with C::B, not the default one).
  • Maximus
    Maximus almost 9 years
    And what version of ConEmu you've tried?
  • goelakash
    goelakash almost 9 years
    The latest alpha - 150816
  • Maximus
    Maximus almost 9 years
    Than turn on checkbox "Enable logging of hooked executable", try to start your app from CB, upload LogFiles and show screenshot of settings JIC.
  • goelakash
    goelakash almost 9 years
  • Maximus
    Maximus almost 9 years
    Answer updated.
  • Maximus
    Maximus over 8 years
  • Vomit IT - Chunky Mess Style
    Vomit IT - Chunky Mess Style over 6 years
    Read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.