LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   C IDE + debugger (https://www.linuxquestions.org/questions/linux-software-2/c-ide-debugger-41062/)

bit7 01-11-2003 02:50 AM

C IDE + debugger
 
Hi all,

i was looking for a good C IDE + debugger for linux. Maybe better an ide with it's own debugger, not gdb.

THX B7

NSKL 01-11-2003 03:12 AM

Anjuta, emacs, Vim, kdevelop.
Although i think the only, or at least only good, debugger is gdb.
-NSKL

Robert0380 01-11-2003 03:42 AM

when i took a cs course i used vim or xemacs to do my coding and ddd to do my debuggin, ddd is a GUI for other debuggers but uses gdb by default but if you are building complex data structures like HashTables , Trees and Linked Lists it will display them for you and the data inside of your structs. I basically played around with it and figured it out without reading a manual or anything on it. This assumes you are using KDE or GNOME, just type ddd filename.c & at the prompt, if it doesnt work then you should be able to install it off the CD (well, i use Red Hat, i dont know what distro you are using and i dont know if ddd comes with the other distros or not).

bit7 01-11-2003 08:05 AM

thanks all,

i've choose anjuta, seems very complpete. But i can't install it succesfully.

On ./configure it ask for libs => gnome-print 0.35
I've installed the 0.37, but anjuta will go on asking for >=0.35 libs, as if i didn't install nothing.

If any help, thks again B7

acid_kewpie 01-11-2003 09:25 AM

well you'er obviously compliling it from source, which you won't need to todo as there are RPM's available. (btw. please fill in your distro information) but presumably have not got the gnome-print development package installed, e.g. libgnomeprint2.0_0-devel or similar

NSKL 01-11-2003 10:51 AM

Also if you did install it, or any new libraries for that matter, you need to run ldconfig to update the libraries databse since they are not updated automatically every time.
-NSKL

bit7 01-11-2003 01:24 PM

nothing to do my friends,

this is the issue:

if i install gnome-print-0.37....rpm and libgnomeprint-devel....rpm, and after make a ldconfig nothing change, the ./configure script of anjuta source go on to inform that my gnome-print libs are not >=0.35

if i install anjuta by rpm (0.9.99 or 1.0.1), when i launch anjuta binary from /usr/bin i get the message:
anjuta: error while loading shared libraries: cannot open shared object file: cannot load shared object file: No such file or directory

But i don't give up, i'm very interested in anjuta. I'm famous for the hard head, hehehhe

Thx B7

Robert0380 01-11-2003 11:03 PM

man, i swear i posted here before but i dont see my post now so i'll post what i said again.

If you are running Gnome or KDE, ddd is a good debugger if you are going for a GUI debugger, only thing is, it uses gdb by default and i notice you said you dont want to use gdb, but basically ddd is a GUI for many different debuggers, its kinda nice when you have linked lists of structs or trees or hashtables. my 2 cents.

bit7 01-12-2003 04:21 AM

Robert,
thx very much, i will sure try ddd, becouse i don't find gdb very user-friendly.

Finally I've solved the trouble of anjuta and i get it installed. I explain:

All the GNU libs/components shuold be compiled with ./configure --prefix=/opt/gnome

That was the reason why after the make install anjuta didn't see the version updated !

Than, after have installed all the components, launching amjuta i was getting: undefined symbol: __dynamic_cast_2

I've read somewhere in the web that may libstdc++ could not be the right version for anjuta. I've installed a rcent version (3.2-7) and now anjuta run.

Infinite thanks for support !!!

B7


All times are GMT -5. The time now is 03:13 AM.