Help - Search - Members - Calendar
Full Version: Kdevelop 3.0 Tutorial Problems
Linuxhelp > Support > Technical Support
garethbirduk
Hi,

I have experienced some problems in getting even the most basic of all the KDevelop tutorials to work. I've found hundreds of references on the net of people with the same problem, but not a single reply that has been of any help! If someone could help explain in VERY newbie terms what is going on, then I would be appreciative.

For your information:
I am using MDK10.0 Official and KDevelop 3.0.1 on KDE 3.2, apparently with everyting up to date - I managed to get URPMI to work and it says my autoconf and automakes are up to date - both returned:
Everything is already installed

I tried running a tutorial-type problem called 'Getting Started' which I found starting from the KDevelop software itself:

KDevelop->Help->About KDevelop
-> http://www.kdevelop.org
-> Tutorials 3.2.x HEAD
-> KDevelop 3.0.x tutorials
-> Qt Designer-3 and KDevelop-3
-> 3(.1) Starting the project


Following the tutorial, I created a new project called test, under:
/home/user/test
by clicking:
Project -> New Project -> C++ -> KDE -> Simple KDE Application

All that is produced is a few lines of code:

#include "test.h"

#include <qlabel.h>

#include <kmainwindow.h>
#include <klocale.h>

test::test()
: KMainWindow( 0, "test" )
{
// set the shell's ui resource file
setXMLFile("testui.rc");

new QLabel( "Hello World", this, "hello label" );
}

test::~test()
{
}

#include "test.moc"


Then I used:
Build -> Run automake & friends
...
success

Build -> Run configure
...
success

Build -> Build Project
...
cd "/home/gb/test/debug" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
*linking test (libtool)
**** Exited with status: 2 ***


But that said, if I create a different simple project called test2, under:
/home/user/test2
by clicking:
Project -:> New Project -> C++ -> Simple Hello world program
then everything builds and runs fine with no problems.

For a start, as an error message, what does the following actually mean?
cd "/home/gb/test/debug" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
Why does this problem only occur in a KDE-> Simple application but not in the Hello World example? Is this a problem with my autoconf and automake because according to URPMI, they are both up to date. There is a suggestion in KDevelop's handbook to use autoreconf to help with these problems, but this has not helped at all.

Any help would be greatly appreciated - but please remember, this is only my 2nd week of using Linux, so please keep it simple for me!

Thanks
Hemant
First thing you should do is , enable complete compile messages.Then you can better analyse the error.

Just turn on the full compilation messages and post the error message.I am pretty sure , there shouldnt be a big issue.
garethbirduk
Thanks for the interest, but I don't think that is helping. I can't find a specific command you are suggesting, but the closes I have found is in:

Settings -> Configure notifications -> Quick controls -> Turn on all -> Standard Error Output

But that does not give any additional information regarding the error. I could not find anything in the help files either; any ideas where I might find this command?

Thanks again
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.