Thread: Makefile missing:

  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,694
    This is a C# thread.This post should be at C++ thread.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

  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 01:23 PM.

  5. #5
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    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 03:08 PM.

  7. #7
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    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
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    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.

  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
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    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'.)

  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
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Nbiser View Post
    How do I invoke the Terminal widget and the quick compile script?
    Makefile missing:-kdev-jpg

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

    Unhappy Still having problems!

    Makefile missing:-problems-still-jpg

    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 01: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 Makefile missing:-problem-jpg Makefile missing:-problem-jpg 
    Last edited by Nbiser; 11-21-2012 at 02:53 PM.

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, 03: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