Re: fribidi and meson
Dov Grobgeld <[email protected]> Sat, 10 Mar 2018 22:10:02 +0200
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <CA++fsGHAB6esMAP9YAhaD50DThbXEtbQjseZZ=i=uU=iJ47Faw@mail.gmail.com> |
--===============1562659703== Content-Type: multipart/alternative; boundary="001a11c17b469212470567147ee5" --001a11c17b469212470567147ee5 Content-Type: text/plain; charset="UTF-8" From the meson documentation (just do `meson --help`) you can get a static debug library by doing: meson --buildtype debug --default-library static . build_dst ninja -C build_dst If you have another version of visual studio then VS2013, please run the test suite, to see if the error happens on other versions as well. Regards, Dov On Sat, Mar 10, 2018 at 9:35 PM, John Emmas <[email protected]> wrote: > On 10/03/2018 17:06, Dov Grobgeld wrote: > > . > > 1. Opened a visual studio command prompt > > > Thanks Dov - that's the advice I needed! I can build fribidi if I run the > meson tools from a Visual Studio command prompt - but not if I run from a > conventional Windows command prompt. That's where I was going wrong... > > But... And here is the strange part: BidiTest passed under debug but > failed on the release build! > > > That was going to be my next question. What command do I need if I want > to generate a Debug build, rather than a Release build? > > And lastly - do you know if it's possible to build fribidi as a static > library, rather than a DLL? > > John > > _______________________________________________ > fribidi mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/fribidi > > --001a11c17b469212470567147ee5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif">From the meson documentation (just do `meson --help`) y= ou can get a static debug library by doing:<br><br></div><div class=3D"gmai= l_default" style=3D"font-family:arial,helvetica,sans-serif">meson --buildty= pe debug --default-library static . build_dst<br></div><div class=3D"gmail_= default" style=3D"font-family:arial,helvetica,sans-serif">ninja -C build_ds= t<br><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helv= etica,sans-serif">If you have another version of visual studio then VS2013,= please run the test suite, to see if the error happens on other versions a= s well.<br><br></div><div class=3D"gmail_default" style=3D"font-family:aria= l,helvetica,sans-serif">Regards,<br></div><div class=3D"gmail_default" styl= e=3D"font-family:arial,helvetica,sans-serif">Dov<br></div></div><div class= =3D"gmail_extra"><br><div class=3D"gmail_quote">On Sat, Mar 10, 2018 at 9:3= 5 PM, John Emmas <span dir=3D"ltr"><<a href=3D"mailto:john@creativepost.= co.uk" target=3D"_blank">[email protected]</a>></span> wrote:<br><= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"> =20 =20 =20 <div text=3D"#000000" bgcolor=3D"#FFFFFF"><span class=3D""> <div class=3D"m_-618810387614013431moz-cite-prefix">On 10/03/2018 17:06= , Dov Grobgeld wrote:<br> </div> <blockquote type=3D"cite"> <div dir=3D"ltr"> <div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s= ans-serif">.</div> <div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s= ans-serif"> <ol> <li>Opened a visual studio command prompt<br> <br> </li> </ol> </div> </div> </blockquote></span> Thanks Dov - that's the advice I needed!=C2=A0 I can build fribidi = if I run the meson tools from a Visual Studio command prompt - but not if I run from a conventional Windows command prompt.=C2=A0 That's wher= e I was going wrong...<span class=3D""><br> <br> <blockquote type=3D"cite"> <div dir=3D"ltr"> <div class=3D"gmail_default" style=3D"font-family:arial,helvetica,s= ans-serif"> <p>But... And here is the strange part: BidiTest passed under debug but failed on the release build!</p> </div> </div> </blockquote> <br></span> That was going to be my next question.=C2=A0 What command do I need if = I want to generate a Debug build, rather than a Release build?<br> <br> And lastly - do you know if it's possible to build fribidi as a static library, rather than a DLL?<span class=3D"HOEnZb"><font color=3D= "#888888"><br> <br> John<br> </font></span></div> <br>______________________________<wbr>_________________<br> fribidi mailing list<br> <a href=3D"mailto:[email protected]">[email protected].= org</a><br> <a href=3D"https://lists.freedesktop.org/mailman/listinfo/fribidi" rel=3D"n= oreferrer" target=3D"_blank">https://lists.freedesktop.org/<wbr>mailman/lis= tinfo/fribidi</a><br> <br></blockquote></div><br></div> --001a11c17b469212470567147ee5-- --===============1562659703== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZnJpYmlkaSBt YWlsaW5nIGxpc3QKZnJpYmlkaUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmliaWRpCg== --===============1562659703==--