Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5802
    bb21
    Member

    Hello, everybody. I am the first time to use this useful software.
    I am trying to compile .cpp file directly in Emeditor. However, I find it diffcult to setting in External Tool.

    Suppose I installed the C++ Compiler in the directory
    C:BorlandBCC55Binbcc32.exe

    Could anyone explain how to setting in External Tool in detail? Thank you very much!

    #5807
    Yutaka Emura
    Keymaster

    bb21 wrote:
    Hello, everybody. I am the first time to use this useful software.
    I am trying to compile .cpp file directly in Emeditor. However, I find it diffcult to setting in External Tool.

    Suppose I installed the C++ Compiler in the directory
    C:BorlandBCC55Binbcc32.exe

    Could anyone explain how to setting in External Tool in detail? Thank you very much!

    I don’t know about Borland compiler, but if you just want to run:

    C:BorlandBCC55Binbcc32.exe filename

    then, you would specify:

    Command: C:BorlandBCC55Binbcc32.exe
    Arguments: $(Path)
    Initial Directory: $(Dir)
    Icon Path: C:BorlandBCC55Binbcc32.exe (or anything you want)
    Check Save File
    Check Use OutputBar

    Please let me know if you have further questions.

    #5811
    bb21
    Member

    Yutaka wrote:
    I don’t know about Borland compiler, but if you just want to run:

    C:BorlandBCC55Binbcc32.exe filename

    then, you would specify:

    Command: C:BorlandBCC55Binbcc32.exe
    Arguments: $(Path)
    Initial Directory: $(Dir)
    Icon Path: C:BorlandBCC55Binbcc32.exe (or anything you want)
    Check Save File
    Check Use OutputBar

    Please let me know if you have further questions.

    Thank for your help! It work if the .cpp file is saved and the location is in my C: drive.

    However, if I saved the file at the desktop. The output message will show that:

    Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    Error E2194: Could not find file ‘C:Documents.cpp’
    Error E2194: Could not find file ‘and.cpp’
    Error E2194: Could not find file ‘SettingsAdministratorDesktop1.cpp’

    Why this problem occurred? And how can I solve this problem whatever the file in any location?

    In addition, how can I set a shortcut key for this action.

    Thank you very much!

    #5813
    Yutaka Emura
    Keymaster

    That’s because there are spaces in the file path. You will need to surround the path with double quotes.

    Arguments: “$(Path)”

    To specify a shortcut key, use the Keyboard Map on the Help menu.

    #5815
    bb21
    Member

    The problem has been solved. Thank you for your help!

    #5816
    Yutaka Emura
    Keymaster

    You are welcome! Let me know if you have any other questions.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.