This forum has been archived. All content is frozen. Please use KDE Discuss instead.

advice from "Hello World" to compiling isoimagewriter

Tags: None
(comma "," separated)
pwrcul
Registered Member
Posts
83
Karma
0
OS
??? I'm looking for pointers or advice for going from my first successes with "Hello World" in KDevelop to compiling isoimagewriter alpha 2 by John Riddell.

I hope to use KDevelop for other things so I want to learn it.
isoimagewriter I find intimidating in combination with KDevelop. I don't know how to go from extracting it to getting it into KDevelop, etc.
Here's where to get it: https://download.kde.org/unstable/isoim ... mirrorlist
I'd love an example of what that would look like in KDevelop. Maybe something like this?
https://www.kdevelop.org/screenshots/c- ... on-tooltip

The tutorials I've found are not specific enough. The documentation is large. I am sure there are useful ideas out there....

(My C is old and preceded C++. So I am trying to learn (relearn) it also as I go....
I have in mind updating perhaps someone else's python code in KDevelop for a project, but I am putting that off....
I have been using computers since the mid 1960s but not much of that is directly useful.)

Meanwhile, for my partner's Dell XPS13 laptop I will try to make do with usb-creator-kde that I installed last night or UNetBootin for replacing her older Kubuntu with a Neon 18.04 nuke and pave. I will turn to that now: the USB prep, then backup her laptop, then install neon.

I hope this paints a picture so you know where I am coming from and my hopes and what you can guess what I should turn to.

Thanks.


Neon Plasma 5.20 User on 1 desktop and on Asus Transformer 3 Pro laptop. Win10 in VirtualBox for JMP stat package. Still 5.19 on older desktop.
pwrcul
Registered Member
Posts
83
Karma
0
OS
An update:

isoimagewriter would have been very handy. I remain very interested in pointers about using KDevelop for it.

Below is my success with Etcher after unlucky disappointments.

Unfortunately, by design, I suspect, usb-creator-kde selects on its own the ISO to burn and gave me no choice so it ignored the newly downloaded neon ISO and was loading Clonzilla's ISO. I aborted it, badly probably. (I am capable of user error.... so I am not sure what to blame on the software.)

UNetBootin attempt may have made matters worse.

I tried several ways to restore capability to the USB stick.
It is either permanently dead or perhaps I can revive it in Win 10 by formatting. Bummer.

I ended up using Etcher https://etcher.io/ to create a bootable USB stick for installing neon 18.04 on my partner's laptop. I did it on my reserve stick because I ruined the first one as above.


Neon Plasma 5.20 User on 1 desktop and on Asus Transformer 3 Pro laptop. Win10 in VirtualBox for JMP stat package. Still 5.19 on older desktop.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Sorry, I find your text quite confusing. Can you try to phrase your actual question more clearly? If it is about developing a particular project, that is better aimed at that project.


I'm working on the KDevelop IDE.
pwrcul
Registered Member
Posts
83
Karma
0
OS
Thanks for the reply, scummos.

How do I set up KDevelop to compile the downloaded isoimagewriter-0.2.tar.xz set of files?
I don't know enough to do it yet with KDevelop.
Where should I go to find out how or would you like to send me an example to follow?

When I looked for help, I found tantalizing but not fully useful cases.
For example, the following is a more complicated version of "hello world" and it suggests using KDevelop, but does not do so.
https://techbase.kde.org/Development/Tu ... st_program

A more complete example could be embedded in
https://community.kde.org/Guidelines_an ... rom_source
Should I just try to follow advice there? Note it assumes I want to compile KDevelop from source. I just installed KDevelop from the repository and want to compile isoimagewriter-0.2.tar.xz

Maybe the best path would be to patiently go over the documentation until I make it my own, e.g.,
https://userbase.kde.org/KDevelop5/Manu ... ource_code
and try to see on my own how to handle isoimagewriter-0.2.tar.xz

viewtopic.php?f=309&t=143120&p=385594&hilit=isoimagewriter#p385594 is another approach to working directly with isoimagewriter-0.2.tar.xz. But it does not use KDevelop and so on.

What do you advise? I want to learn how to use KDevelop. Even though Etcher solved my immediate issue, I'd still like to compile Jonathan's program.


Neon Plasma 5.20 User on 1 desktop and on Asus Transformer 3 Pro laptop. Win10 in VirtualBox for JMP stat package. Still 5.19 on older desktop.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
I would recommend against using KDevelop as a GUI frontend for compiling software you do not want to work on. KDevelop is meant for writing software, not just compiling it.

To just compile do something like

mkdir build
cd build
cmake ..
make

Here's a tutorial which explains how to write a simple application and compile it, which explains the logic behind this:
https://techbase.kde.org/Development/Tu ... st_program


I'm working on the KDevelop IDE.
pwrcul
Registered Member
Posts
83
Karma
0
OS
I followed the four line "mkdir build" etc. suggestion and proceeded down through the Techbase article.
In their section "Make And Run" I checked in my monitor session with dkpg -s that cmake and make were installed and found gcc-c++ was not recognized. I think gcc-c++ is a typo; I know I have gcc already. I think that is sufficient. Correct me if I'm wrong.
Regarding Qt5 and KDE frameworks I am less sure.
I have a bunch of Qt5 files that came with neon, etc., including qt5-qmake.
KDE Frameworks?

The authors provided a solution.
I opened the link in the next line in the section on "Make And Run" that says "follow this install guide." and got a message that the page had been moved. I used the search option to find its new location and got a link to a MS Windows specific script to use that is the top of the listing at
https://techbase.kde.org/Special:Search ... nvironment
Obviously, I am not using windows.

I have to go out for about 2+ hours and will check back when I may have another hour I can work on this.

Thanks again.


Neon Plasma 5.20 User on 1 desktop and on Asus Transformer 3 Pro laptop. Win10 in VirtualBox for JMP stat package. Still 5.19 on older desktop.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]