<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">I was trying to compile OSRM as a static library for iOS, but failed at trying to include the dependencies, specifically Thread Building Blocks(<a style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(22, 108, 197);" href="https://www.threadingbuildingblocks.org/">https://www.threadingbuildingblocks.org/</a>).<br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Building TBB for armv7/iOS creates a .dylib dynamic library, which can't be included ina static library for iOS.<br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">If someone knows how to solve that problem, then it should be possible to compile osrm for iOS.<br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Thanks,<br></div>
<div style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); color: rgb(31, 31, 31); font-family: "Source Sans Pro", sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0.1px; line-height: 17.5px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Wojtek<br></div>
<div><br></div>
<div><br></div>
<div>On Fri, 29 Jul 2016, at 22:12, Wojtek Wajerowicz wrote:<br></div>
<blockquote type="cite"><div>I was trying to compile OSRM as a static library for iOS, but  failed at trying to include the dependencies, specifically Thread Building Blocks(<a href="https://www.threadingbuildingblocks.org/">https://www.threadingbuildingblocks.org/</a>).<br></div>
<div>Building TBB for armv7/iOS creates a .dylib dynamic library, which can't be included ina static library for iOS.<br></div>
<div>If someone knows how to solve that problem, then it should be possible to compile osrm for iOS.<br></div>
<div><br></div>
<div>Thanks,<br></div>
<div>Wojtek<br></div>
<div><br></div>
<div><br></div>
<div>On Thu, 28 Jul 2016, at 18:07, Daniel Hofmann wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div><div><div><div><a href="http://maps.me">maps.me</a> is using OSRM on mobile devices for offline routing :)<br></div>
<div><br></div>
<div><a href="https://github.com/mapsme/omim/tree/master/3party/osrm">https://github.com/mapsme/omim/tree/master/3party/osrm</a><br></div>
</div>
<div>(although v4.6 which is over a year old now and we strongly recommend upgrading to a more recent stable release, since a lot moved in the last couple of month)<br></div>
</div>
<div><br></div>
<div>Cheers,<br></div>
</div>
<div>Daniel J H<br></div>
</div>
<div><div><br></div>
<div><div>On Thu, Jul 28, 2016 at 6:44 PM, Jeff Thomson <span dir="ltr"><<a href="mailto:jjthoms@me.com">jjthoms@me.com</a>></span> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-left:1ex;"><div><br></div>
<div>I was happy to see Arm support in the 5.3 release of OSRM. Has anyone successfully compiled libosrm for iOS, allowing offline routing inside apps?  Any tips for doing so would be appreciated.<br></div>
<div><br></div>
<div>Best,<br></div>
<div>Jeff<br></div>
<div>_______________________________________________<br></div>
<div>OSRM-talk mailing list<br></div>
<div><a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br></div>
<div><a href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br></div>
</blockquote></div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>OSRM-talk mailing list<br></div>
<div><a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br></div>
<div><a href="https://lists.openstreetmap.org/listinfo/osrm-talk">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br></div>
</blockquote><div><br></div>
</blockquote><div><br></div>
</body>
</html>