LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-30-2009, 12:15 PM   #1
Wawa
LQ Newbie
 
Registered: Oct 2009
Location: Alsace - Yooooo !
Distribution: Kubuntu
Posts: 18

Rep: Reputation: 1
Kdevelop 3.5.3 to kdevelop 3.9.91


Hello there,

I have C and C++ projects (console mode projects) made with Kdevelop 3.5.3 (Slack 12.2) and now I try to open it in Kdevelop 3.9.91 (Slack64 13.0).
This seems not to be possible, if it is possible, how ?...

So I have try another way :
create an empty project and import in it my .c, .cpp, .h files.

Now the questions :
How can I create a console project in Kdevelop 3.9.91 ?
How can I import the files in this project ?

I ask that because I have not find to way to do that.

Thanks for the help.

Philippe
 
Old 12-30-2009, 04:12 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you need to install Alien Bob's 32 compat libraries or all of the programs were written for 32 O/S. you are now using 64 bit O/S HELLO lol.
the best suggestion is do like I do dual boot.
I have slack-current with 32 bit compat libraries curent 32 bit and current 64 bit
My favorite is 64 bit and the heck with skype.
good luck

Last edited by Drakeo; 12-30-2009 at 04:14 PM.
 
0 members found this post helpful.
Old 12-31-2009, 12:00 AM   #3
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
kdevelop4 doesn't handle (create/import) auto-conf/make projects like kdevelop3.5 did.

see
http://www.kdevelop.org/mediawiki/in...mparison_table
section Project Management.


create a console project:
new project from template, C++, NoGUI (CMake), Simple CMake based C++ applikation
 
Old 12-31-2009, 02:37 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,375

Rep: Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754Reputation: 2754
Kdevelop4 likes cmake as the make system.
When I brought a simple C program into Kdevelop4, I did as a4z suggested and created a new C++ project and exited Kdevelop4.
Then I edited the toplevel CMakeLists.txt file. Please note the C after the <projectname> in the PROJECT line.
Code:
PROJECT(<projectname> C)
ADD_SUBDIRECTORY(src)
I then copied in the include and src directories from my previous project.
In the src directory I added a CMakeLists.txt file
Code:
PROJECT(<projectname> C)
ADD_EXECUTABLE(<projectname> <space delimited list of .c files>)
INCLUDE_DIRECTORIES (../include)
Now the project can be opened and used successfully in Kdevelop4.
 
1 members found this post helpful.
  


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 3.4.0 zvonSully Debian 2 02-02-2007 02:29 AM
KDevelop and QT WayneS Linux - Software 1 09-06-2006 04:23 PM
regarding Kdevelop prabhakar_kushwaha Programming 4 04-01-2006 11:52 PM
Kdevelop mp4-10 Linux - Software 0 03-16-2005 02:59 AM
What is KDevelop? sceadu Linux - Software 8 05-23-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:08 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