Thread: anjuta [newbie] trouble

  1. #1
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314

    anjuta [newbie] trouble

    A few months ago I decided to familiarize myself with Linux. It has taken quite a while to find the right distribution, kernel, desktop etc...

    Anyway, I'm having trouble getting Anjuta to work.
    I want to create a new GNOME 2.0 project, so in the application wizzard, I enter a name for the project, select "C and C++", enter a short description and tell the wizzard to do his magic.

    He doesn't seem to be a very experienced caster First thing is: I get a warning that I have no CVS programm installed. Do I really need this?
    Next thing: Makefile.am complains that ./intl does not exist, which is strange. I thought the makefile was supposed to create it.


    My problem is that I don't anything about those linux helper applications like make, automake, configure, whatever... (under windows, DevC++ did all the make related stuff - the others I haven't even heard before). Can someone please give me a little hint here what I need to do ? Thanks
    [code]

    your code here....

    [/code]

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I used to fight with these IDEs too. Kdevelop and Anjuta both. I finally decided what most linux people have been saying all along. Use vi or emacs. I use vim now. It isn't bad at all once you get used to it.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    I've read your (old) thread about gtk, xwindows, anjuta... when I searched the board for my problem. You indicated that wanted to do low level X API programming and write your own wrappers (in other words: reinvent the wheel ). I guess all you really need for that is an editor.

    Anyway, I'd like to take advantage of GTK2 and the various development tools. Judging from the size of an empty KDevelop project (I tested KDE for a few weeks before I decided to use gnome), Linux seems to require a lot of configuration stuff. I really don't want to do all this by hand. Especially not when I don't have the slightest clue about all those weird tools like automake do.
    [code]

    your code here....

    [/code]

  4. #4
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I know what you mean, but never found anjuta and kdevelop to be any easier. They really don't make coding any nicer than vim does. Visual studios has a series of nice things that I like, but other IDEs that I have found are worth no more than notepad.

    kdevelop seems to force QT on you if you want wizard generated stuff. anjuta forces GTK on you if you want wizard generated stuff. I would rather have some flexibility.

    Plus, I don't really want to reinvent the wheel so much as understand how the wheel works before I go and use it. The main reason I learned vim is for a job opportunity that I have (and have my fingers crossed for)
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  5. #5
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Originally posted by FillYourBrain
    Plus, I don't really want to reinvent the wheel so much as understand how the wheel works before I go and use it. The main reason I learned vim is for a job opportunity that I have (and have my fingers crossed for) [/B]
    Oops, that wasn't supposed to be an offense, sorry

    Anyway, I'm just not 100% convinced yet. Maybe I'll try this after Anjuta works, so I have some templates I can look at. Right now this seems to be way too complex for me.
    I will give the Anjuta Webboards a try, though they don't seem to have a big userbase Hopefully I can get this resolved somehow.
    [code]

    your code here....

    [/code]

  6. #6
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    I didn't take offense at all.

    have you ever messed with the KWrite editor that comes with KDE? I found that to be just as good as those IDEs. It does indenting and stuff. The only down side to not using an IDE really is that you have to do your own makefile and command line compile. Not quite as nice.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  7. #7
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Well, I'm using gnome and if there is one thing I don't like it's a desktop that doesn't have a uniform appearance (mixing kde with gnome apps). Anyway, I think gedit has syntax highlighting, too.

    Thanks for your help (though I will continue to try to get Anjuta to work)

    I'm not yet ready to give it up
    [code]

    your code here....

    [/code]

  8. #8
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    mixing environments is a funny thing actually. The way I understand it is the window manager controls the border of the window but not much more. So KDE or gnome "look" is pretty much the border of the app unless you're talking about the toolkit itself. The toolkit is where Gnome apps get their rounded, cool widgets from. GTK does have a unique look to it. If that's the only look you ever want then I suppose you have to do GTK apps. If your app is run under KDE I assume you'll look like a non-uniform desktop environment also.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  9. #9
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Yes, I know. Thats one of the main problems I see with "Linux as a desktop-OS". People don't want to have a different look and feel for every single application. This should be done on the X-Windows layer. Anyway, thats a different topic I guess
    [code]

    your code here....

    [/code]

  10. #10
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Still no success with Anjuta. I wonder how they could dare to call it 1.2. It's more like 0.12. I guess it's time to give it up. It is simply a pice of non-working software that shouldn't have been released as a "stable" version yet. Frustrating. All this wasted time.
    [code]

    your code here....

    [/code]

  11. #11
    Registered User
    Join Date
    Sep 2002
    Posts
    254
    Originally posted by darksaidin
    Still no success with Anjuta. I wonder how they could dare to call it 1.2. It's more like 0.12. I guess it's time to give it up. It is simply a pice of non-working software that shouldn't have been released as a "stable" version yet. Frustrating. All this wasted time.
    blame the developers for user troubles... I have been running anjuta for the last 2 years with nary a problem but heh i guess they should not call it 1.2 because one user cant get it right...

    Or maybe it is time for people to move away from linux dependancie hell...

  12. #12
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    vim is really the way to go. You mentioned earlier that you didn't understand.
    first you write a file with all your directions in it. then you "make" it. here is how to make something:
    http://www.bigbiz.com/cgi-bin/manpage?make
    here is a tutorial on what goes in a makefile
    http://www.groovyweb.uklinux.net/ind...20a%20makefile
    or this one:
    http://www.opussoftware.com/tutorial/TutMakefile.htm

  13. #13
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    Originally posted by ZerOrDie
    blame the developers for user troubles... I have been running anjuta for the last 2 years with nary a problem but heh i guess they should not call it 1.2 because one user cant get it right...

    Or maybe it is time for people to move away from linux dependancie hell...
    Sorry, but I am certainly not the only one with this problem. The anjuta board is full of people asking the very same question. It's just that there is not a single usefull reply over there.

    Also all those errors lead me to think that it is not a user problem or if it is, the IDE has an extremely bad way to notify people. Hell, it doesn't even detect when make fails! The build menu is greyed out during the make process but it stays greyed out after make fails - and it always fails because it is run in the wrong path. I can run it manually with no problems if I just change to the right path before. From the menu it just doesn't work. So if I got to do everything manually I could as well use gedit.

    Thanks for the links linuxdude. Thats probably what I need.
    [code]

    your code here....

    [/code]

  14. #14
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    No problem, I always had trouble using vim at first so here is kind of an example
    Here is how I write a simple program.
    vi test.c
    Code:
    #include <stdio.h>
    
    int main(void){
         printf("Goodbye Cruel World\n");
         return 0;
    }
    then hit ESC then type :wq
    then use gcc
    gcc -o test test.c
    then
    ./test
    If it is more complicated then you start to use a makefile and then you would have this
    make
    then you could use your executable
    ./test

  15. #15
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    This could help you with vim

    http://tnerual.eriogerg.free.fr/vim.html
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Trouble with assignment in C
    By mohanlon in forum C Programming
    Replies: 17
    Last Post: 06-23-2009, 10:44 AM
  2. Replies: 6
    Last Post: 01-03-2007, 03:02 PM
  3. Is it so trouble?
    By Yumin in forum Tech Board
    Replies: 4
    Last Post: 01-30-2006, 04:10 PM
  4. trouble scanning in... and link listing
    By panfilero in forum C Programming
    Replies: 14
    Last Post: 11-21-2005, 12:58 PM
  5. C++ program trouble
    By senrab in forum C++ Programming
    Replies: 7
    Last Post: 04-29-2003, 11:55 PM