uml
uml

Reputation: 1189

Running C++ app from the Windows command line

I have installed cygwin in order to compile C++ source code. At this stage I can run the C++ app by invoking it directly via icon. But once I type g++ on the cmd command line I receive 'Access denied' message. That command works fine on cygwin terminal window. How to deal with this issue? This questions has been trig-erred by the another issue which is present on this forum. It is that I cannot see the output on Eclipse IDE once I run the C++ app (no errors). I though t the thing that I receive that 'Access denied' message on cmd might be the culprit for the mentioned trouble. Just trying out all the things. Best regards

Upvotes: 0

Views: 121

Answers (2)

Tiago Salzmann
Tiago Salzmann

Reputation: 184

I'm not familiar to cygwin, but theres a code you can try. It is similar to "sudo" on linux, and it gives you more privileges... It's called "runas". Take a look on this site: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true

Upvotes: 0

soniccool
soniccool

Reputation: 6058

Did you add cygwin to your path in windows?

Upvotes: 1

Related Questions