|Re: Binary Not Found AND Errors exist in the active configuration AND strange output... [message #1748702 is a reply to message #1748663]
||Sun, 27 November 2016 11:26
Registered: October 2012
1) binary not found|
There are a number of reasons for this.
- in some cases, the compiler couldn't be found
- the binary was never generated
- a launch configuration wasn't created
- other things I can't think of at the moment.
You need to supply more details:
- language C or C++
- the OS (presumably Windows)
- if Windows, are you using MinGW ir cygwin?
- Eclipse and CDT versions
- when the error occurs (during build; after build; etc)
2) depends on what the errors are and whether there is the possibility of an old executable
Again, more details needed
3) the stdout is buffered in some systems;
How to get around this depends on whether you are using iostreams (cout << "text") vs. fstreams (print "text")
In either, you can flush the output after the prompt or autoflush the output.
a) for fstreams, flush with fflush(stdout); or
do setvbuf(stdout, NULL, _IOLBF, 0); to autoflush
b) for iostreams, flush with std::ostream::flush (http://www.cplusplus.com/reference/ostream/ostream/flush/)
std::endl flushes the output buffer after inserting a newline
there is an equivalent autoflush capability for cout but I'm too lazy to look it up
4) Again, not enough information. The "Errors exist .." might mean that the executable isn't being generated.
[Updated on: Sun, 27 November 2016 15:59]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02376 seconds