Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    NP++ does not show me the message on the console

    Help wanted · · · – – – · · ·
    2
    2
    90
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Alejandra Bernal
      Alejandra Bernal last edited by Alejandra Bernal

      notepad.png

      does not show me the message (Hola mundo)

      I have NppExec
      Script: NPP_SAVE
      cd “$(CURRENT_DIRECTORY)”
      C:\MinGW\bin\g++.exe “$(FILE_NAME)”

      Programming language: C++

      dinkumoil 1 Reply Last reply Reply Quote 0
      • dinkumoil
        dinkumoil @Alejandra Bernal last edited by dinkumoil

        @Alejandra-Bernal

        I don’t know how to use g++ from the command line, but I guess if you call it like you did it will create an executable file with some kind of default name and then terminates. Thus, the message regarding the started process with PID 5744 from your screenshot is about g++ itself and not about the created executable.

        Try to add the following as the last line of your NppExec script:

        $(CURRENT_DIRECTORY)\$(NAME_PART).exe
        

        If this doesn’t work, add some command line options to the line where g++ is called to tell the compiler where to create the output file and which name to use.

        1 Reply Last reply Reply Quote 4
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors