LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2002, 04:56 AM   #1
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Rep: Reputation: 30
How to Make a Makefile for KDevelop 2.0 ???


Hi All,
I am trying to get going on compiling a C++ project in KDevelop 2.0. Before I describe my problem, here's the details about the setup:

Operating System: SuSE Linux Professional 7.3 (the BEST)
Intended Compiler/IDE: KDevelop 2.0
Intended Programming language: C++
Kernel: 2.4.10
Short Problem Description: Missing Makefile error in KDevelop 2.0

Ok, now let me explain the situation. Every time I create a project in KDevelop 2.0, it complains about not finding a Makefile! It says that I FORGOT to make my own makefile or something weird like that. It also suggests I mess with the KDevelop setup.

Note that I HAVE messed with the Kdevelop setup to no avail, and that i DO NOT KNOW HOW TO MAKE MY OWN MAKE FILE, let alone understanding how they work.

So, how do you get this compiler to work? NOTE: I am a Linux nebie, and I would prefer a "dummy" description of how to get this compiler working, Can anybody help me?

NOTE: intended programming langauge is C++. ALL programs compil;e just fine under Microsoft Windows XP - Microsoft Visual C++ 6.0

Somebody lpease help!

Last edited by shassouneh; 03-03-2002 at 04:58 AM.
 
Old 03-04-2002, 02:15 AM   #2
SilentStrike
LQ Newbie
 
Registered: Jun 2001
Location: New Jersey
Distribution: Mandrake
Posts: 27

Rep: Reputation: 15
What kind of project are you making? A console C++ program, or a custom program?
 
Old 03-04-2002, 03:25 AM   #3
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
simple

Its a simple console/terminal application, or whatever is equivelant to "Win32 Console Application" in Visual C++

NOTE: when creating the project, i usually choose "Terminal->C++"
 
Old 03-04-2002, 08:41 AM   #4
parapente
Member
 
Registered: Sep 2001
Location: Greece
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15
Have you tried Build->Distclean/Rebuild all? Also if that doesn't work at your left at the tabs where all your classes appear, click on the groups tab and check if your sources and headers appear at the appropriate group...
 
Old 03-04-2002, 01:31 PM   #5
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
nope! READ THIS!

Here is the message I get even BEFORER i get a chance to add my source files/headers:

"Makefile Not Found - there is no makefile to build your application. Possibly you forgot to create the makefiles. In this case Please run Build->Configure"

Note that It also gives me this error message if I try Build->DistClean it gives the same message!
REMMEMBER: it gives this message as soon as the project workspace is created!

Also note, I tried to do the Build->Configure thing as suggested, but that took me nowehere!

SOMEONE PLEASE HELP!



sux!!

Last edited by shassouneh; 03-04-2002 at 01:32 PM.
 
Old 03-11-2002, 07:49 PM   #6
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
anyone?

Anyone? Hello? Guys, this is URGENT! If any of you knows the rpely to this please respond! Visual C++ is giving me toruble too! I need to get this compiler program working!

NOTE: again, I'm running SuSE Linux Professional 7.3
 
Old 03-15-2002, 12:20 AM   #7
Rohit
LQ Newbie
 
Registered: Mar 2002
Posts: 6

Rep: Reputation: 0
run the makefile manually then if you are unable to configure seems you didn't configured your settings properly
 
Old 03-15-2002, 01:34 AM   #8
shassouneh
Member
 
Registered: Apr 2001
Location: Cheney, WA
Distribution: SuSE Linux Professional 9.2
Posts: 556

Original Poster
Rep: Reputation: 30
Problem Solved

NOTE TO ALL SUSE LINUX PROFESSIONAL 7.3:

TO FIX THIS PROBLEM YOU NEED TO DOWNLOAD AN OLDER VERSION OF AUTOCONF AND FORCE A RE-INSALL OF IT. APPARENTLY THE VERSION OF AUTOCONF THAT SHIPS WITH SUSE IS INCOMPATIBLE WITH KDEVELOP. For more details, check out this link:


Oh, and you WILL need to recreate your projects!

SuSE Support Database Article (A MUST READ)

I stumbled across this link quite by coincidence, and I thought I'd pass it along!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kdevelop Makefile Error Chryzmo Programming 4 08-22-2010 03:19 PM
How do we make MakeFile...? asahlot Programming 1 10-17-2005 02:25 PM
how 2 make a makefile? beginner_84 Programming 6 08-29-2004 02:47 PM
Makefile not found - KDevelop 2 digitalbrutus Linux - Software 1 03-21-2004 02:46 PM
Kdevelop Makefile Errors Chryzmo Linux - Software 3 02-11-2004 04:17 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration