PDA

View Full Version : KDevelop Woes


jlacroix
June 20th, 2007, 08:38 PM
Hello everyone! I'm still rather new to programming. I'm studying Ruby as of right now, and I also study C++ and C#.

KDevelop seems like a nifty program so I installed it, and I can't get barely anything to run right. These are the problems I'm having with KDevelop right now, hopefully some of them can be resolved.

1.) When I am programming with Ruby, and I write a typical learning program, kind of like this:

puts 'Please enter something'
varTest = gets.chomp
puts 'You typed ' + varTest + '.'

The execution fails because the bottom window cannot accept input. If I go to the "Konsole" tab and manually type "ruby testprogram.rb" it will run fine. Is there a way to automatically make it pull up Konsole for this type of program?

2.) As far as C++ and C# go, if I load any of the QT or KDE application templates, they will not run AT ALL. Missing dependencies. I've been dependency hopping for a long time now and I can't get it resolved. Basically, what do I need to compile QT and KDE Cx programs?

Thanks in advance. I'm trying my best to learn programming and get good at it. Hopefully I can figure out the interface of KDevelop so I can actually put it to use.

jimmygoon
June 20th, 2007, 10:08 PM
Hello everyone! I'm still rather new to programming. I'm studying Ruby as of right now, and I also study C++ and C#.

KDevelop seems like a nifty program so I installed it, and I can't get barely anything to run right. These are the problems I'm having with KDevelop right now, hopefully some of them can be resolved.

1.) When I am programming with Ruby, and I write a typical learning program, kind of like this:

puts 'Please enter something'
varTest = gets.chomp
puts 'You typed ' + varTest + '.'
The execution fails because the bottom window cannot accept input. If I go to the "Konsole" tab and manually type "ruby testprogram.rb" it will run fine. Is there a way to automatically make it pull up Konsole for this type of program?

2.) As far as C++ and C# go, if I load any of the QT or KDE application templates, they will not run AT ALL. Missing dependencies. I've been dependency hopping for a long time now and I can't get it resolved. Basically, what do I need to compile QT and KDE Cx programs?

Thanks in advance. I'm trying my best to learn programming and get good at it. Hopefully I can figure out the interface of KDevelop so I can actually put it to use.

Don't know about the rest, but you need to search for qt DEV libraries... but a more specific error message would help debugging.

kknd
June 21st, 2007, 07:03 AM
This should work:

sudo aptitude install kde-devel build-essential

jlacroix
June 24th, 2007, 12:01 PM
Thanks!