<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><body><div><div style="font-family:Calibri,sans-serif;font-size:11pt">Hi,<br><br>I mentioned it on a later message, but everything seems to work now. Thanks everyone!<br>
<br>--<br>Lauri Lavanti<br><a href="mailto:laurilavanti@gmail.com">laurilavanti@gmail.com</a><br></div></div><hr><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Lähettäjä: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Juha Kallioinen</span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Lähetetty: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">18.11.2013 0:17</span><br><span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Vastaanottaja: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Sailfish OS Developers</span><br>
<span style="font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold">Aihe: </span><span style="font-family:Tahoma,sans-serif;font-size:10pt">Re: [SailfishDevel] Problems with the emulator (I think)</span><br><br></body></html>
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Lauri,<br>
<br>
you don't mention which SDK installer you have used. That would be
vital information in troubleshooting this and any future problems
:-)<br>
<br>
None of the problems below seem to concern the SDK emulator. I
believe these are build time problems?<br>
<br>
On 16.11.2013 12:42, Lavanti Lauri wrote:<br>
</div>
<blockquote cite="mid:0B9FA54803916C4F926386A58DFF356738BE7A61@EXMDB04.org.aalto.fi" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.Shkpostityyli17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hi all,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">First time on this list, so sorry if this
is an old problem but:<br>
<br>
When I created my new project on SailfishOS IDE the main.cpp
file complains that:</p>
<p class="MsoNormal">#include <sailfishapp.h><br>
”No such file or directory”<br>
</p>
</div>
</blockquote>
<br>
The sailfishapp.h is part of the libsailfishapp-devel package, which
is preinstalled in the latest "1310" installer targets released last
month. If you have an older SDK, then this package might not yet be
available.<br>
<br>
If you are using the latest SDK, then with this information at hand,
I cannot fathom why it would not be found.<br>
<br>
When you say "When I created my new project", how did you create it?<br>
<br>
<blockquote cite="mid:0B9FA54803916C4F926386A58DFF356738BE7A61@EXMDB04.org.aalto.fi" type="cite">
<div class="WordSection1">
<p class="MsoNormal">
<br>
And whenever I try to add a package to my sdk it says the
following (as an example):</p>
<p class="MsoNormal">Operation Progress</p>
<p class="MsoNormal">----------------------------------------
finished: installing package jolla-sailfish-core - exited with
status 0</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Loading repository data...</p>
<p class="MsoNormal">Reading installed packages...</p>
<p class="MsoNormal">'jolla-sailfish-core' not found in package
names. Trying capabilities.</p>
<p class="MsoNormal">No provider of 'jolla-sailfish-core' found.</p>
<p class="MsoNormal">Synchronising target to host</p>
<p class="MsoNormal">cannot delete non-empty directory: usr/bin</p>
<p class="MsoNormal">Sync completed</p>
</div>
</blockquote>
<br>
This looks perfectly fine, although unnecessarily cryptic.<br>
<br>
There is in fact no package called "jolla-sailfish-core". The
jolla-sailfish-core is a pattern, not a package. A pattern is
metadata describing a collection of packages. Unfortunately the web
management view does not understand that and shows it as a normal
package and tries to install it as a normal package.<br>
<br>
What's happening in the background is that the web management calls
zypper install for the "package", but since there's no such package,
it does nothing and unnecessarily syncs the results between the
target and the host.<br>
<br>
If you try to add some real package, then it should report something
different.<br>
<br>
Best regards,<br>
<br>
Juha<br>
<br>
<blockquote cite="mid:0B9FA54803916C4F926386A58DFF356738BE7A61@EXMDB04.org.aalto.fi" type="cite">
<div class="WordSection1">
<p class="MsoNormal"></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thank you <span style="font-family:Wingdings">J</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style>--</span></p>
<p class="MsoNormal"><span style>Lauri
Lavanti</span></p>
<p class="MsoNormal"><span style><a class="moz-txt-link-abbreviated" href="mailto:lauri.lavanti@aalto.fi">lauri.lavanti@aalto.fi</a></span></p>
<p class="MsoNormal"> </p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
SailfishOS.org Devel mailing list</pre>
</blockquote>
<br>
</body>
</html>