Setting up to compile C++ on Windows

134 views
Skip to first unread message

Adrián Zangla

unread,
Mar 3, 2019, 8:31:02 PM3/3/19
to C++ GCU Forum
I have a problem following this guide https://arachnoid.com/cpptutor/setup_windows.html

"Once you have installed the program, you should be able to execute it from a DOS window. Open a DOS window and type “g++ -v” to establish that the program has been installed and can be executed."

When I do this step, this message appears on the Cygwin Terminal:

-bash: g++: command not found

And from the Command Prompt

g++' is not recognized as an internal or external command,
operable program or batch file.

Any hints?

Parth Krishna

unread,
Mar 4, 2019, 2:27:36 AM3/4/19
to cpp-gc...@googlegroups.com
I think you should try 
g++-8 <filename>

Parth Krishna

--
You received this message because you are subscribed to the Google Groups "C++ GCU Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cpp-gcu-foru...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

José Alfredo Pinto Villamar

unread,
Mar 7, 2019, 11:01:17 AM3/7/19
to C++ GCU Forum
Did you add all the packages, maybe you missed one. Also, remember to set Environment Variables on your PC, if not, your compiler is never going to work.
Reply all
Reply to author
Forward
0 new messages