Compile and run didn't show cmd
-
hey i’am new guy, i’ve try to running Hello C++
when i compile and run didn’t show cmdand this result
NPP_EXEC: “Cpp Compile & Run”
SET: G++ = C:\cygwin64\bin\g++.exe
$(G++) = C:\cygwin64\bin\g++.exe
NPP_SAVE: C:\Users\daris\Documents\npp\hello
CD: C:\Users\daris\Documents\npp
Current directory: C:\Users\daris\Documents\npp
“C:\cygwin64\bin\g++.exe” -Wall -Wextra -Wpedantic -std=c++11 -o “hello” “hello”
Process started (PID=12848) >>>
hello: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
<<< Process finished (PID=12848). (Exit code 1)
IF: 1 != 0 goto Done
GOTO: DONE
================ READY ================Thank you
-
@Darisky said in Compile and run didn't show cmd:
run didn’t show cmd
Why should it? NppExec uses its own pseudo cmd shell.
Did you follow what NppExec manual and help states?
I’m not a C++ dev but shouldn’t you have a hello.cpp compile it to
something like a hello.obj and link it to hello.exe? -
@Ekopalypse hmm i though to show the result like other
show popup and anything alse
but since there notif error and idk why…
i stuch -
Sorry, but I don’t understand your last post.
Did you try my suggestion about using hello.cpp instead of hello.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login