Makefile missing:

This is a discussion on Makefile missing: within the C++ Programming forums, part of the General Programming Boards category; I'm new to C++ programming, and I have started on my first program, Hello World. I'm using KDevelop in Linux ...

  1. #1
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Question Makefile missing:

    I'm new to C++ programming, and I have started on my first program, Hello World. I'm using KDevelop in Linux and in the message area it started to tell me that my makefile is missing. Since I'm new to programming I only have a vague idea what this is. Please tell me how to fix the problem!
    Thanks!

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,681
    This is a C# thread.This post should be at C++ thread.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,556
    Moved
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Response To Std10093:

    Quote Originally Posted by std10093 View Post
    This is a C# thread.This post should be at C++ thread.
    Several things, 1. This is the first time that I have been to this site, so I don't know how things are laid out and work. 2. I am new to programming and this is the first time that I have heard of a C#, I thought there were 2 kinds of C programs, C and C++. 3. I thought I put it in the C++ thread section. If I put it in the wrong area please let me know where it should go and how to put it there. 4.Once again, I'm new to this site, today is the first day that I have been here. Thanks for your help!
    Last edited by Nbiser; 11-14-2012 at 12:23 PM.

  5. #5
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,681
    Quote Originally Posted by Nbiser View Post
    Several things, 1. This is the first time that I have been to this site, so I don't know how things are laid out and work. 2. I am new to programming and this is the first time that I have heard of a C#, I thought there were 2 kinds of C programs, C and C++. 3. I thought I put it in the C++ thread section. If I put it in the wrong area please let me know where it should go and how to put it there. 4.Once again, I'm new to this site, today is the first day that I have been here. Thanks for your help!
    Welcome to the forum I did not say anything with "evil" intention.. I just notice it and thought that it would be good to notify...This way your post is moved where it should be, thus giving your post more views by people who can help you I am not one them though...

    C , C++ and C# are programming languages.

  6. #6
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Question Thanks std10093

    Quote Originally Posted by std10093 View Post
    Welcome to the forum I did not say anything with "evil" intention.. I just notice it and thought that it would be good to notify...This way your post is moved where it should be, thus giving your post more views by people who can help you I am not one them though...

    C , C++ and C# are programming languages.
    Thanks for letting me know! Do you know how I can move it and where it should go, or is it already moved? Thanks!
    Last edited by Nbiser; 11-14-2012 at 02:08 PM.

  7. #7
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,681
    salem moved it already for you

    For next time it is good to know : When you arrive on the forum you see a list of threads.The one that says C++ Programming is for C++. The one that says C Programming is for C ..

    However i do not know to answer the question of the poster so i quote it here :
    Quote Originally Posted by Nbiser View Post
    I'm new to C++ programming, and I have started on my first program, Hello World. I'm using KDevelop in Linux and in the message area it started to tell me that my makefile is missing. Since I'm new to programming I only have a vague idea what this is. Please tell me how to fix the problem!
    Thanks!

  8. #8
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Quote Originally Posted by Nbiser View Post
    I'm using KDevelop in Linux and in the message area it started to tell me that my makefile is missing.
    How are you creating the project ?

    Unless you can and need to write the makefile yourself, go through
    Project -> New From Template ->Standard -> Terminal

    That will give you a simple cmake based project you can compile and run.
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  9. #9
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Post How I'm creating the project:

    Quote Originally Posted by manasij7479 View Post
    How are you creating the project ?

    Unless you can and need to write the makefile yourself, go through
    Project -> New From Template ->Standard -> Terminal

    That will give you a simple cmake based project you can compile and run.
    I am creating a new blank file, copying the typing in the code from the tutorial that I'm studying and then putting it in g++ and gcc. I'm using an older version of KDevelop, and it doesn't have the Terminal template. I'll have to check on my other computer later on....it has a newer KDevelop. I'll let you know how it goes! Thanks for the help!

  10. #10
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12
    I have looked in my newer version of Kdevelop(my newer version is 4.2 while my older version is 3.5) and it doesn't have this option....is there something else that I can do? Thanks!

  11. #11
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    I was using 4.3 ( upgraded to 4.4 today) but as far as I remember, project options were available in the previous versions.
    If you do not see the project menu, it is probably that the package you use does not include the default plugins.

    Anyway, you can always use the Terminal widget or the quick compile script.
    ( both you have to invoke and run manually, not by clicking the 'compile' button'.)
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  12. #12
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12
    Quote Originally Posted by manasij7479 View Post
    I was using 4.3 ( upgraded to 4.4 today) but as far as I remember, project options were available in the previous versions.
    If you do not see the project menu, it is probably that the package you use does not include the default plugins.

    Anyway, you can always use the Terminal widget or the quick compile script.
    ( both you have to invoke and run manually, not by clicking the 'compile' button'.)
    How do I invoke the Terminal widget and the quick compile script?

  13. #13
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    Quote Originally Posted by Nbiser View Post
    How do I invoke the Terminal widget and the quick compile script?
    Name:  kdev.jpg
Views: 71
Size:  51.0 KB
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  14. #14
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Unhappy Still having problems!

    Name:  Problems still!.jpg
Views: 63
Size:  75.2 KB

    I tried using the quick compile but I have no idea what the Command thing is in the Create new external script; it wants me to type in a command, which I tried, but it got me nowhere. I included a screen shot of what I was doing when I first started the thread.
    Last edited by Nbiser; 11-21-2012 at 12:43 PM.

  15. #15
    Registered User
    Join Date
    Nov 2012
    Location
    Maryland
    Posts
    12

    Post

    Oh, sorry, I should've included a screenshot for the insertion of command that that I'm not sure about.
    Attached Images Attached Images   
    Last edited by Nbiser; 11-21-2012 at 01:53 PM.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. what am i missing now...
    By MK27 in forum C Programming
    Replies: 8
    Last Post: 09-15-2008, 03:13 AM
  2. Something I'm Missing...
    By Dukefrukem in forum C Programming
    Replies: 2
    Last Post: 07-09-2008, 01:47 PM
  3. difference makefile makefile.am makefile.in
    By Bargi in forum Linux Programming
    Replies: 7
    Last Post: 10-28-2007, 02:08 PM
  4. Am i missing something?
    By Chaplin27 in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-08-2005, 02:27 AM
  5. Someone tell me what I'm missing here?
    By Furious_George in forum C++ Programming
    Replies: 7
    Last Post: 10-06-2003, 12:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21