<div dir="ltr">I have un-installed previous SDK and did a clean installation of the latest SDK. I then went inside the engine machine and installed (zypper install ....) the packages I need for my game such as SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, GLESv1 GLESv2<br>
<div><br></div><div>I then went to build my game but I get error messages such as:</div><div><br></div><div><p style="margin:0px"><span style="color:rgb(170,0,0)"><b>error: Failed build dependencies:</b></span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><b> pkgconfig(sdl2) is needed by harbour-farwest-0.1-1.i586</b></span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><b> pkgconfig(glesv1_cm) is needed by harbour-farwest-0.1-1.i586</b></span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><b> pkgconfig(SDL2_image) is needed by harbour-farwest-0.1-1.i586</b></span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><b> pkgconfig(SDL2_ttf) is needed by harbour-farwest-0.1-1.i586</b></span></p>
<p style="margin:0px"><span style="color:rgb(170,0,0)"><b> pkgconfig(SDL2_mixer) is needed by harbour-farwest-0.1-1.i586</b></span></p><p style="margin:0px"><br></p><p style="margin:0px">I haven't made any changes in my .spec file so why the new SDK doesn't work when the previous SDK did?<br>
</p><p style="margin:0px"><br></p><p style="margin:0px">My .spec file is:</p><p style="margin:0px"><br></p><pre style="margin-top:0px;margin-bottom:0px">Name:<span style="color:rgb(192,192,192)"> </span>harbour-farwest</pre>
<pre style="margin-top:0px;margin-bottom:0px">Summary:<span style="color:rgb(192,192,192)"> My First SailfishOS game</span></pre><pre style="margin-top:0px;margin-bottom:0px">Version:<span style="color:rgb(192,192,192)"> </span>0.1</pre>
<pre style="margin-top:0px;margin-bottom:0px">Release:<span style="color:rgb(192,192,192)"> </span>1</pre><pre style="margin-top:0px;margin-bottom:0px">Group:<span style="color:rgb(192,192,192)"> </span>Applications</pre>
<pre style="margin-top:0px;margin-bottom:0px">License:<span style="color:rgb(192,192,192)"> </span>LICENSE</pre><pre style="margin-top:0px;margin-bottom:0px">URL:<span style="color:rgb(192,192,192)"> </span><a href="http://example.org/">http://example.org/</a></pre>
<pre style="margin-top:0px;margin-bottom:0px">Source0:<span style="color:rgb(192,192,192)"> </span>%{name}-%{version}.tar.bz2</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">
BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(sdl2)</pre><pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(egl)</pre><pre style="margin-top:0px;margin-bottom:0px">
BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(glesv1_cm)</pre><pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(glesv2)</pre><pre style="margin-top:0px;margin-bottom:0px">
BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_image)</pre><pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_ttf)</pre><pre style="margin-top:0px;margin-bottom:0px">
BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_mixer)</pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px">%description</pre><pre style="margin-top:0px;margin-bottom:0px">
<span style="color:rgb(192,192,192)">My First SailfishOS game</span></pre><pre style="margin-top:0px;margin-bottom:0px"><br></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"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%build</pre><pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>Command<span style="color:rgb(192,192,192)"> </span>used<span style="color:rgb(192,192,192)"> </span>to<span style="color:rgb(192,192,192)"> </span>compile<span style="color:rgb(192,192,192)"> </span>the<span style="color:rgb(192,192,192)"> </span>application</pre>
<pre style="margin-top:0px;margin-bottom:0px">make</pre><pre style="margin-top:0px;margin-bottom:0px"><br></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(192,192,192)"> </span>Command<span style="color:rgb(192,192,192)"> </span>used<span style="color:rgb(192,192,192)"> </span>to<span style="color:rgb(192,192,192)"> </span>install<span style="color:rgb(192,192,192)"> </span>files<span style="color:rgb(192,192,192)"> </span>into<span style="color:rgb(192,192,192)"> </span>%{buildroot}</pre>
<pre style="margin-top:0px;margin-bottom:0px">%make_install</pre><pre style="margin-top:0px;margin-bottom:0px"><br></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><p style="margin:0px">
</p><pre style="margin-top:0px;margin-bottom:0px"><br></pre><p style="margin:0px"><br></p><p style="margin:0px"><br></p></div></div>