<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I'm sending a BCC to vronskji which was
the contact address of the main page but not the tutorial itself.<br>
<br>
Great, as I said before I'm running on Ubuntu 12.10.<br>
Following the tutorial at
<a class="moz-txt-link-freetext" href="http://zetcode.com/gui/csharpqyoto/introduction/">http://zetcode.com/gui/csharpqyoto/introduction/</a><br>
under the "Building Qyoto on Linux" header.<br>
<br>
First weird observation is that the commands are written out
before the text describing the action.<br>
Suggestion: Move the "We download the sources..." before the list
of git clone commands.<br>
Suggestion: Move the "We install the cmake-qt-gui...." before the
line above.<br>
<br>
The package cmake-qt-gui does not have the executable cmake-qt-gui
rather it is called cmake-gui. This might be specific to ubuntu
but if not:<br>
Suggestion: change:<br>
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<span style="color: rgb(0, 0, 0); font-family: georgia; font-size:
16px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 25.59375px;
orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">We run the
cmake-qt-gui in each<br>
+</span><span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">We run the
cmake-gui in each</span><br>
<br>
So far I have gotten to the part about running the cmake-gui in
each directory, although I'm still early at the first one,
smokegen.<br>
Personally I rather get instructions in form of non gui commands
because such instructions can be more exact.<br>
Suggestion: if possible change instructions from the cmake-gui to
cmake<br>
<br>
So the cmake-gui command is run from within the (currently)
smokegen directory.<br>
So what are the source and build directories? are they both the
current directory(smokegen) or some subdirectory therein, or
perhaps the build directory should be a fresh folder outside of
the source tree.<br>
Suggestion: specify what the source and build directories should
be relative to the current directory(smokegen)<br>
<br>
Thanks for git I managed to reset the cmake cache files to start
fresh again, perhaps there is need for an instuction on how to
restart.<br>
Suggestion: inform about the option File-DeleteCache (assuming
that is the same)<br>
<br>
So even if I didn't know the answer above I did set the source to
the root of the smokegen(./) clone and build to ../build.<br>
<br>
The tutorial continues "...
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<span style="color: rgb(0, 0, 0); font-family: georgia; font-size:
16px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 25.59375px;
orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">and set the
CMAKE_BUILD_TYPE to Release"</span><br>
To me this looks like an environment variable but the gui has
something called "Add Entry".<br>
Suggestion: Clarify if setting <span style="color: rgb(0, 0, 0);
font-family: georgia; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 25.59375px; orphans: auto; text-align:
left; text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline
!important; float: none;">CMAKE_BUILD_TYPE is supposed to be
done using the "Add Entry"<br>
<br>
Now it is time for me to click the Configure button which brings
me up with a dialog.<br>
First I have to choose a generator from a drop down:
Ninja(selected by default), Unix makefiles,
CodeBlocks(Ninja).... and so on<br>
Suggestion: specify what generator to use.<br>
Further in the same dialog below the dropdown there are 4
options where the "Use default native compilers" is selected<br>
Suggestion: specify what should be selected here(even if the
default one)<br>
<br>
I left the current state which was Ninja and "use default native
compilers" and clicked finish.<br>
Now I did not have time to click the Generate button,
immediately after I clicked the finish button some output/error
messages appear with a final message dialog saying "Error in
configuration process, project files may be invalid"<br>
The first line in the error messages is: "...cmake was unable to
find a build program corresponding to "Ninja". ...."<br>
<br>
Problem now is that I cannot click configure again and change
from Ninja to anything else since that is not happening anymore.<br>
Every time I click the Configuration button the same process
starts as when I clicked finish in the dialog before.<br>
Help: how should I go back the dialog and change from ninja?<br>
<br>
Here I get stuck in the process and since I'm supposed to
compile the tools in order I won't continue to the next.<br>
<br>
Over to another issue. Reading the smokegen README they have a
completely different set of instructions.<br>
Suggestion: if smokegen has changed the way it is being built it
should be reflected in the tutorial.<br>
<br>
Assuming the instructions in the git clone of smokegen are more
up to date I'll try them.<br>
<br>
</span>
<blockquote><span style="color: rgb(0, 0, 0); font-family:
georgia; font-size: 16px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal;
line-height: 25.59375px; orphans: auto; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px; background-color:
rgb(255, 255, 255); display: inline !important; float: none;">Regenerating</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">============</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"></span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">For
SmokeQt:</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"> cd qt</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"> ./qtguess.pl</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"> ./generate.pl</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"> make</span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;"></span></blockquote>
<span style="color: rgb(0, 0, 0); font-family: georgia; font-size:
16px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 25.59375px;
orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">These
instructions has a few problems:<br>
1. There is no qt directory<br>
2. There is no qtguess.pl, tried "find|grep guess"<br>
3. there is no generate.pl</span><span style="color: rgb(0, 0,
0); font-family: georgia; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 25.59375px; orphans: auto; text-align:
left; text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); display: inline
!important; float: none;"></span><br>
<span style="color: rgb(0, 0, 0); font-family: georgia; font-size:
16px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 25.59375px;
orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">4. Actually
there is no .pl files at all within the smokegen tree<br>
</span><span style="color: rgb(0, 0, 0); font-family: georgia;
font-size: 16px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
25.59375px; orphans: auto; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;">4b. Actually
there is no .pl files at all within any of the sources I cloned<br>
</span><br>
<br>
OK, while at it back to the tutorial on the website.<br>
<br>
Same observation as noted before, the descriptive text is below
the shown command as if they were image captions, this really
confuses me and I have never seen that layout anywhere else.<br>
Suggestion: move "$ export LD_LIbrary..." below the text talking
about it<br>
Suggestion: move the "$ ls /usr...." below the text below talking
about it.<br>
<br>
I hope this is the official reference on how to build the tools
I'm commenting if not I rather go by that.<br>
<br>
On 2013-02-12 12:51, Dimitar Dobrev wrote:<br>
</div>
<blockquote
cite="mid:1360669896.11334.YahooMailNeo@web122403.mail.ne1.yahoo.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=iso-8859-1">
<div>
<div><br>
<span class="tab"> Hi,</span></div>
<div><br>
<span class="tab"></span></div>
<div><span class="tab"> When you click Configure, you are
presented with several options. You'd be best off with
"native compilers", then CM</span>ake will find them on its
own.<br>
<span class="tab"> This is the most up to date tutorial so
if you still have problems please write here. I also
appreciate your suggestion to be more specific.</span></div>
<div><br>
<span class="tab"></span></div>
<div><span class="tab"> Dimitar Dobrev</span><span
class="tab"><br>
</span></div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<hr> <b><span>From:</span></b> Peter Hultqvist
<a class="moz-txt-link-rfc2396E" href="mailto:phq@silentorbit.com"><phq@silentorbit.com></a><br>
<b><span>To:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a> <br>
<b><span>Sent:</span></b> Tuesday, February 12, 2013 12:07
PM<br>
<b><span>Subject:</span></b> [Kde-bindings] Getting
started with qyoto?<br>
</div>
<br>
I'm using Ubuntu and thus assume I have to install from
source.<br>
<br>
Following <a class="moz-txt-link-freetext" href="http://zetcode.com/gui/csharpqyoto/introduction/">http://zetcode.com/gui/csharpqyoto/introduction/</a> I
hit several<br>
obstacles starting with the cmake-qt-gui command being
called cmake-gui,<br>
and further following the tutorial I can't find what
compiler to choose<br>
when pressing the Configure button, or how to get back that
dialog after<br>
I clicked finish once(clicking configure again, appear to
generate<br>
rather than showing the dialog again).<br>
<br>
I also noted that smokegen(from git) itself has a README
that refer to a<br>
qt directory(no idea where that is) and further refer to
./qtguess.pl<br>
and ./generate.pl both which does not exist in any of the
git repos I<br>
cloned according to the original link.<br>
<br>
Am I on the right path, with normal obstacles, should I be
more specific<br>
about my issues or is there another more up to date tutorial
way to go<br>
about this?<br>
<br>
_______________________________________________<br>
Kde-bindings mailing list<br>
<a moz-do-not-send="true" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a moz-do-not-send="true"
href="https://mail.kde.org/mailman/listinfo/kde-bindings"
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kde-bindings mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a>
</pre>
</blockquote>
<br>
</body>
</html>