Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » IDE(User Friendliness Of The IDE)
IDE [message #1807778] Sun, 09 June 2019 06:01 Go to next message
Eclipse UserFriend
Be it any programming language, if the Editor or IDE is not user friendly, it becomes very tedious or cumbersome. I have been working on C and C++ for more than a year now. Initially, I started with the Blue (DOS based) screen of Turbo C 2.0 - I used that for around 6 months but did not like it as its editing features are not that good..

Later i started developing on NotePad++ with a command line compiler..

now since 2 months, I have started using Eclipse IDE for C/C++.. at times it is OK.. at times - it behaves very strange..

This time, i have written a 10 line simple program - its working in a command line compiler BCC32, it is also working properly in TurboC 2.0...

but, when i try to compile in Eclipse, it says ----

14:56:55 **** Incremental Build of configuration Debug for project Sea ****
Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o TheMain.o "..\\TheMain.c"
gcc -o Sea.exe TheMain.o
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file Sea.exe: Permission denied
collect2.exe: error: ld returned 1 exit status

14:56:55 Build Failed. 1 errors, 0 warnings. (took 519ms)


I have tried my luck with many other IDEs [ Devcpp, cygwin, etc ] do not find anyone as comfortable..

Thanks,
Mukesh
Re: IDE [message #1807779 is a reply to message #1807778] Sun, 09 June 2019 06:23 Go to previous messageGo to next message
Eclipse UserFriend
In the process to figure out the resolution to this issue, one thing which I noticed again a bit strange is that, if I exit Eclipse and then again open, the same program gets compiled successfully. so, in short.. in case of any error - Exit from Eclipse becomes mandatory.

Thanks,
Mukesh
Re: IDE [message #1807787 is a reply to message #1807779] Sun, 09 June 2019 08:01 Go to previous messageGo to next message
Eclipse UserFriend
It's not Eclipse; it's a windows thing.
You can't write to the .exe of a running program under windows
Closing Eclipse likely is terminating your program.

If you've run it from Eclipse then you can try terminating it using the red button in the console view menu.


That's usually the problem but the following link suggests there may be other reasons.
https://stackoverflow.com/a/7904469/3312726

Re: IDE [message #1807789 is a reply to message #1807787] Sun, 09 June 2019 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Thanks You David -

On the RUN button, it was showing that "Already Running".. but there was no visible RED button to STOP it.. on the console view.. but digging further, it is diagnosed that... - it is not directly visible.. we have to select from the drop-down of Display Selected Console

But yes, thanks anyways.
Re: IDE [message #1807796 is a reply to message #1807789] Sun, 09 June 2019 13:23 Go to previous message
Eclipse UserFriend
There are three buttons to the left of the Display Select button in the program output console.
Scrolling over them shows:

Pin console
Show console when Standard out changes
Show console when Standard error changes

Try them.

Unfortunately the documentation is scattered
https://help.eclipse.org/2018-12/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fviews%2Fconsole%2Fref-process_console.htm&cp=1_4_7_1_1
https://help.eclipse.org/2018-12/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_console_view.htm&cp=11_4_0_7

There is also a dialog you can use at
Window --> Preferences --> Run/Debug --> Console
https://help.eclipse.org/2018-12/topic/org.eclipse.jdt.doc.user/reference/preferences/run-debug/ref-console.htm?cp=1_4_2_1_0


[Updated on: Sun, 09 June 2019 13:42] by Moderator

Previous Topic:Hover - Source of Documentation
Next Topic:Get rid of toolbar
Goto Forum:
  


Current Time: Sat Jul 05 12:07:56 EDT 2025

Powered by FUDForum. Page generated in 0.19535 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top