<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">On 12.06.2014 20:35, Iosif Hamlatzis
wrote:<br>
</div>
<blockquote
cite="mid:CAD2f6zVcMEF65yYynA1n=O5P-xeL+2ZGaMyzeKDDwC5CNyYQ-Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">I uninstalled previous SDK and did a clean
installation of the latest SDK
(SailfishOSSDK-Alpha-1406-Qt5-windows-offline.exe) under Windows
XP SP3
<div><br>
</div>
<div>Compilation now fails with error:</div>
<div>
<br>
</div>
<div>
<p style="margin:0px"><span style="color:rgb(170,0,0)">error:
Failed build dependencies:</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(sdl2) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(glesv1_cm) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(SDL2_image) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(SDL2_ttf) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(SDL2_mixer) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(audioresource) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)">
pkgconfig(glib-2.0) is needed by
harbour-wanted-1.0.1-1.armv7hl</span></p>
</div>
<div><br>
</div>
<div>I have used zypper command line utility to install the
normal and development libraries for SDL2, SDL2_image,
SDL2_ttf, SDL2_mixer, glib-2.0, audioresource, glesv1_cm and
glesv2 libraries.<br>
</div>
</div>
</blockquote>
<br>
Hi, where and how exactly did you install those packages?<br>
<br>
The MerSDK virtual machine has two scratchbox2 build targets where
the packages should be installed using the sb2 command. You can also
use zypper to install exactly what you're seeing in the failure.
Here's an example of how to install packages to the arm target:<br>
<br>
First ssh to the MerSDK virtual machine as user mersdk and then:<br>
<br>
[mersdk@SailfishSDK ~]$ sb2 -t SailfishOS-armv7hl -R -m sdk-install
zypper install 'pkgconfig(sdl2)'<br>
<br>
This makes the sdl2 development files available to the arm build
target. You should do the same for the other build requirements.<br>
<br>
I'm guessing here, but perhaps you have installed the packages to
the MerSDK virtual machine and not in the build target?<br>
<br>
Looking at your spec file below, I can see that it is not compatible
with the Qt Creator based approach we have. That approach requires
that the project is a Qt project with a .pro file and a qmake step
(which would automatically install the build dependencies to the
build target).<br>
<br>
If you are familiar with IRC, you are welcome to join #sailfishos
channel in freenode for a more interactive discussion with other
developers. It's difficult and slow to try to solve problems over
e-mail in a case where the project is not what the SDK is directly
supporting.<br>
<br>
Best regards,<br>
Juha<br>
<br>
<blockquote
cite="mid:CAD2f6zVcMEF65yYynA1n=O5P-xeL+2ZGaMyzeKDDwC5CNyYQ-Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
</div>
<div><br>
</div>
<div>My .spec file is:</div>
<div><br>
</div>
<div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Name:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">harbour-wanted</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Summary:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">A</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">video</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">slot</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">game</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">with</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">bandits</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Version:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">1.0.1</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Release:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">1</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Group:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Games</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">License:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Proprietary</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">URL:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><a moz-do-not-send="true" href="http://7cecdab4.blogspot.gr/2014/04/wanted.html">http://7cecdab4.blogspot.gr/2014/04/wanted.html</a></span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">Source:</span><span style="color:rgb(192,192,192)"> </span>%{name}<span style="color:rgb(0,128,0)">-</span>%{version}<span style="color:rgb(0,128,0)">.tar.bz2</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>sdl2<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>egl<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>glesv1_cm<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>glesv2<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>SDL2_image<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>SDL2_ttf<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>SDL2_mixer<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">for</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">playing</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">sound</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">on</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">DEVICE</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>audioresource<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">BuildRequires:</span><span style="color:rgb(192,192,192)"> </span>pkgconfig<span style="color:rgb(128,128,0)">(</span>glib-2.0<span style="color:rgb(128,128,0)">)</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">for</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">playing</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">sound</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">on</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">DEVICE</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px">%description</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,128,0)">A</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">video</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">slot</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">game</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">themed</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">with</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">sheriff</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">and</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">bandits</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px">%prep</pre>
<pre style="margin-top:0px;margin-bottom:0px">%setup<span style="color:rgb(192,192,192)"> </span>-q<span style="color:rgb(192,192,192)"> </span>-n<span style="color:rgb(192,192,192)"> </span>%{name}-%{version}</pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px">%build</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Command</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">used</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">compile</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">the</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">application</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">make</pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px">%install</pre>
<pre style="margin-top:0px;margin-bottom:0px">rm<span style="color:rgb(192,192,192)"> </span>-rf<span style="color:rgb(192,192,192)"> </span>%{buildroot}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Command</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">used</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">install</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">files</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">into</span><span style="color:rgb(192,192,192)"> </span>%<span style="color:rgb(0,128,0)">{buildroot}</span></pre>
<pre style="margin-top:0px;margin-bottom:0px">%make_install</pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
<pre style="margin-top:0px;margin-bottom:0px">%files</pre>
<pre style="margin-top:0px;margin-bottom:0px">%defattr(-,root,root,-)</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_bindir}/%{name}</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/%{name}</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/applications/%{name}.desktop</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/icons/hicolor/86x86/apps/%{name}.png</pre>
<pre style="margin-top:0px;margin-bottom:0px">
</pre>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>