<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/libosmscout/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/libosmscout/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 21 Jun 2023 18:20:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/libosmscout/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#0d05</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi haziran. Please make a new issue in the GitHub tracker. See &lt;a href="https://github.com/Framstag/libosmscout/issues" rel="nofollow"&gt;https://github.com/Framstag/libosmscout/issues&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Please also make sure that you use the current code in the GitHub repository. The source version here at Sourceforge is old. Possibly your issue is resolved after this.&lt;/p&gt;
&lt;p&gt;I also recommend taking a look at he GitHub automatic builds, especially &lt;a href="https://github.com/Framstag/libosmscout/blob/master/.github/workflows/build_and%20test_on_vs2019.yml" rel="nofollow"&gt;https://github.com/Framstag/libosmscout/blob/master/.github/workflows/build_and%20test_on_vs2019.yml&lt;/a&gt; that show a possible build for cmake+vcpkg or alternatively meson (without additional dependencies)&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Teulings</dc:creator><pubDate>Wed, 21 Jun 2023 18:20:52 -0000</pubDate><guid>https://sourceforge.neta45595e7f412672532a9bcd7beb36b48bed2c4cb</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#c024</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;hi everyone, I am in this exact state with this comment: &lt;a href="https://sourceforge.net/p/libosmscout/bugs/23/#80cd/d03f."&gt;https://sourceforge.net/p/libosmscout/bugs/23/#80cd/d03f.&lt;/a&gt; I am trying to use libosmscout on windows with qt creator. I want to display a map in qtcreator with libosmscout. I built libosmscout in visual studio 2019. What should I do next? When I run example project OSMScout2 in qtcreator  I get libosmscout-map-qt development package not found error. Any advices related to error and my way to display offline map in qt are appreciated. Thanks in advance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">haziran</dc:creator><pubDate>Tue, 20 Jun 2023 07:26:11 -0000</pubDate><guid>https://sourceforge.nete77d56eaf7b8e0c4c29f0c781cc4ea8b5938d34f</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#0241/f513/b939/fbdd/c8ce</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Well - if you'll be going the static library way, you'll have to build EVERY project statically. This basucally means - libraries have to be set to library output and not dll. And you'll have to take care that exports are not declared as dllexport. For the map library this would mean adding preprocessor directives&lt;br/&gt;
OSMSCOUT_IMPORT_EXPORT_SYMBOLS&lt;br/&gt;
OSMSCOUT_EXPORT_SYMBOLS&lt;br/&gt;
OSMSCOUT_MAP_EXPORT_SYMBOLS&lt;/p&gt;
&lt;p&gt;While for executable files, you'll have to add at least OSMSCOUT_IMPORT_EXPORT_SYMBOLS&lt;br/&gt;
OSMSCOUT_EXPORT_SYMBOLS&lt;br/&gt;
... so the includes will not define imported functions as dllimport&lt;/p&gt;
&lt;p&gt;Basically - whenever you will see declspec(dllimport) in linker errors, you should know that you're missing a preprocessor derective to disable dynamic linkage. The easiest way to see which is to open up the external dependencies under the project and look for XXXImportExport.h , open it up and see where something is defined as declspec(dllimport), check which missing preprocessor definitions bring you there and define them in the project.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toni Rutar Lokar</dc:creator><pubDate>Tue, 29 Nov 2016 08:05:19 -0000</pubDate><guid>https://sourceforge.netb0d85b8ffcacfaafff3025db4ff97672a334fa49</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#3a4c</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;My spanish (?) is non-existant, so I can only guess what the problem is. But it looks, like symbols from the libraries are not found during linking of the demo.&lt;/p&gt;
&lt;p&gt;Under Windows - if using shared libraries/DLLs - symbols must explicitely exported during buulding of the library and explicitely marked as to be imported during build of applications that use that libraries.&lt;/p&gt;
&lt;p&gt;In libosmsocut this is handled by the XXXImportExport.h headers that define macros like OSMSCOUT_API and similar.&lt;/p&gt;
&lt;p&gt;For libosmscout itself, this means that during build of the library OSMSCOUT_EXPORT_SYMBOLS and (DLL_EXPORT or _WINDLL) must be defined, so that symbols are exported using &lt;strong&gt;declspec(dllexport). During building against the library these symbols must not be defined, so that &lt;/strong&gt;declspec(dllimport) is used. &lt;/p&gt;
&lt;p&gt;You must also link against the *.lib file of the shared library/DLL.&lt;/p&gt;
&lt;p&gt;There likely is a tool, that should allow you to check, if symbols are correctly exported.&lt;/p&gt;
&lt;p&gt;I hope that helps.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Teulings</dc:creator><pubDate>Tue, 29 Nov 2016 06:59:07 -0000</pubDate><guid>https://sourceforge.netdab49def0858aa469afb5cf68e2b60840ae179e9</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#16d7/bfd3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Tim, dont need to reactivate your Windows development enviroment, you are already being helpful at this way.&lt;/p&gt;
&lt;p&gt;I saw your message in the mailing lists, I was able to build import with the help of Toni, but I also saw a pull request in git, that already had built libosmscout libraries and the import tool.&lt;/p&gt;
&lt;p&gt;Now, with a map imported OK I am trying to use the library, but I am locked here. &lt;br/&gt;
If I use the routing.cpp example with the libraries linked statically, i get tons of errors in Visual:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://i.gyazo.com/a2c77a356598d07f1159ed8fcd7f655c.png" rel="nofollow"&gt;https://i.gyazo.com/a2c77a356598d07f1159ed8fcd7f655c.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ignacio guerra</dc:creator><pubDate>Mon, 28 Nov 2016 18:57:35 -0000</pubDate><guid>https://sourceforge.net7e39a075bbc0cd6ef03c8cbefc70106ae9896ad2</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#0241/f513/b939/fbdd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, it was that. With libxml2.lib included in Import and libosmscout &amp;amp; libosmscout-import built as static libraries I am able to build import and use it via CMD.&lt;/p&gt;
&lt;p&gt;After trying with some .osm.pbf files I was able to import one succesfully, but I think I am not using the Demos file OK or something, because I always get link errors when I try to paint a map via QT or even when I use the routing.cpp example.&lt;/p&gt;
&lt;p&gt;Here are some of the errors that Visual give me in the routing example:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://i.gyazo.com/a2c77a356598d07f1159ed8fcd7f655c.png" rel="nofollow"&gt;https://i.gyazo.com/a2c77a356598d07f1159ed8fcd7f655c.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I linked the libosmscout.lib and libosmscout-import.lib the same way as I did with libxml2.lib, but it seems that they arent working.&lt;/p&gt;
&lt;p&gt;Thanks again, you are helping me so much.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ignacio guerra</dc:creator><pubDate>Mon, 28 Nov 2016 18:51:31 -0000</pubDate><guid>https://sourceforge.net98a5a37d8b15cf37e1322e0c94b3a22ab82cc9fe</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#0241/f513/b939</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This looks like you're missing LibXml2 library. Try building it and adding it to the linker of Import.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Toni Rutar Lokar</dc:creator><pubDate>Thu, 24 Nov 2016 19:22:28 -0000</pubDate><guid>https://sourceforge.net6a4683063fdb32d86ff9cf2c548457cd30302ee7</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#16d7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have asked on th list for further help. I would have to reactivate my Windows development environment, which would tke some time. But AFAIK other people on the list are currently trying actively to impove th eWIndows CMake build and could help faster.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Teulings</dc:creator><pubDate>Thu, 24 Nov 2016 18:49:51 -0000</pubDate><guid>https://sourceforge.neta0a0f43a96a16bcc08063a561dc8cebe32772f60</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#80cd/d03f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tried with cmake and it worked fine, but now what i am supossed to do?&lt;/p&gt;
&lt;p&gt;I have this build folder: &lt;/p&gt;
&lt;p&gt;&lt;a href="https://i.gyazo.com/af0c37c6acd5765a58fe25774586f18c.png" rel="nofollow"&gt;https://i.gyazo.com/af0c37c6acd5765a58fe25774586f18c.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If I open the libosmscout project and try to build it in Visual it gives me an error: Acces denied to ..libosmscout\build\x64\Debug\ALL_BUILD&lt;/p&gt;
&lt;p&gt;I dont know what I should do, how i am going to import a map file if there is not Import in Build folder?&lt;/p&gt;
&lt;p&gt;Thanks again, you are being very helpful.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ignacio guerra</dc:creator><pubDate>Thu, 24 Nov 2016 12:35:14 -0000</pubDate><guid>https://sourceforge.netd17e88db85c5412506e86548535e0d7560ff88c5</guid></item><item><title>#23 Libosmscout build in Windows</title><link>https://sourceforge.net/p/libosmscout/bugs/23/?limit=25#0241/f513</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tried that and sucesfully built both libosmscout and libosmscout-import as .lib, but at the Import build process i got this errors in Visual:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://s14.postimg.org/saetw6g69/617713d5163424258c98a5b99d6d367f.png" rel="nofollow"&gt;https://s14.postimg.org/saetw6g69/617713d5163424258c98a5b99d6d367f.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thaks for your response.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ignacio guerra</dc:creator><pubDate>Thu, 24 Nov 2016 11:58:03 -0000</pubDate><guid>https://sourceforge.net1ed625307e250137ffc764ca0bc54b4537f10b1d</guid></item></channel></rss>