This commit is contained in:
nq
2026-10-13 08:49:04 +00:00
commit 2f6f86f4ea
63 changed files with 8138 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
garmin2osmand-v3/*.osm
*.obf*
*.ocbf*
+5
View File
@@ -0,0 +1,5 @@
export JAVA_OPTS="-Xms256M -Xmx19G"
/home/opthq/vector-v4/garmin2osmand-v3/scripts/build_obf.sh \
/home/opthq/vector-v4/osm-map-creator \
/home/opthq/vector-v4/garmin2osmand-v3/Bulgaria-Garmin.osm
+12
View File
@@ -0,0 +1,12 @@
## 0.3.0
- Adds --whole-map and --plan.
- Uses geographical submap coverage interval union instead of one large rectangular export loop.
- Commits completed scanlines atomically and enables efficient continuation with --resume.
- Ensures compatible inputs/options when resuming via a settings fingerprint.
- Tested full Bulgarian IMG on zoom 10: 330 PNG tiles; peak RSS 20 MiB, 6.8 seconds, resumed in 0.02 seconds.
- Planned countrywide 12–16: 1,698,680 candidate tiles (prior global rectangle 1,705,377).
- Full zoom-16 countrywide render has NOT been executed or sized in this environment.
## 0.2.0
- TYP line, polygons, icons, LBL codepage and antialiasing improvements.
- Real-map 2,033-tile Rila test, 36.29 MiB, 34 seconds, peak 28 MiB.
+23
View File
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.16)
project(garmin2osmand VERSION 0.2.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(PNG REQUIRED)
find_package(SQLite3 REQUIRED)
add_executable(garmin2osmand src/main.cpp)
add_executable(garmin2osm src/vector.cpp)
target_link_libraries(garmin2osm PRIVATE PNG::PNG SQLite::SQLite3)
target_link_libraries(garmin2osmand PRIVATE PNG::PNG SQLite::SQLite3)
if(MSVC)
target_compile_options(garmin2osmand PRIVATE /W4 /EHsc)
else()
target_compile_options(garmin2osmand PRIVATE -Wall -Wextra -Wpedantic -O2)
endif()
enable_testing()
add_test(NAME help COMMAND garmin2osmand --help)
find_package(Python3 COMPONENTS Interpreter QUIET)
if(Python3_Interpreter_FOUND)
add_test(NAME classic_and_gmp_end_to_end COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tests/test_smoke.py $<TARGET_FILE:garmin2osmand>)
add_test(NAME native_vector_export COMMAND ${Python3_EXECUTABLE} ${CMAKE_SOURCE_DIR}/tests/test_vector.py $<TARGET_FILE:garmin2osm>)
endif()
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+87
View File
@@ -0,0 +1,87 @@
# Garmin2OsmAnd v0.3 — countrywide conversion
A standalone, low-RAM Garmin IMG → **OsmAnd `.sqlitedb` raster overlay** generator in C++17. Reads the Garmin IMG directly; no Java, Dart, GeoJSON or `ogr2osm` used.
**Test coverage:** Built and tested against the 422 MiB Bulgarian `gmapsupp(2).img` for a countrywide zoom-10 export; tested 2,033 zoom-12–16 real-map tiles in the previous release, and small synthetic classic/GMP regression fixtures. **The full zoom-12–16 nationwide export has not been run here.** Real-map TYP styles, labels and other limitations are unchanged from v0.2.
## Installation on Debian / Ubuntu
```bash
sudo apt install -y build-essential cmake libpng-dev libsqlite3-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j "$(nproc)"
ctest --test-dir build --output-on-failure
```
`bin/garmin2osmand` is a compiled Linux/x86-64 binary from the test environment and may need rebuilding on other Linux distributions.
## Plan first: report real geographic coverage
```bash
./build/garmin2osmand \
--input 'gmapsupp(2).img' \
--whole-map --min-zoom 12 --max-zoom 16 --plan
```
For this uploaded Bulgarian IMG, the test reported **1,698,680** candidate tiles vs **1,705,377** in the old rectangular approximation. Sparse geographic coverage slightly reduces the count, but *does not guarantee every candidate produces an image*. Empty, transparent results are automatically skipped.
## Export entire IMG
```bash
./build/garmin2osmand \
--input 'gmapsupp(2).img' \
--output Bulgaria-Full.sqlitedb \
--whole-map --min-zoom 12 --max-zoom 16 \
--max-bytes 50000000000 --aa 2 --verbose
```
`--whole-map` bypasses the previous 100,000 candidate cap automatically and only visits the union of the Garmin submap coverage. `--max-bytes` remains **2 GiB by default** as a disk safety limit: set a larger byte budget as shown (50 decimal GB). Value `0` removes either limit, but is not recommended without disk monitoring. For large exports allow enough free disk space including SQLite journaling. For much smaller output, use max zoom 14 or 15, reserving zoom 16 for hiking regions.
## Resume even if a row contains no image tiles
```bash
./build/garmin2osmand \
--input 'gmapsupp(2).img' \
--output Bulgaria-Full.sqlitedb \
--whole-map --min-zoom 12 --max-zoom 16 \
--max-bytes 50000000000 --aa 2 --resume --verbose
```
Progress table records committed scanlines, including those where no image tiles were produced. On restart, completed rows are skipped without re-decoding, and already-written tiles within the interrupted row are skipped by primary-key lookup.
The database also stores settings fingerprint (IMG size, bounds, zoom range, fill and antialiasing); mismatches prevent unsafe resume. Changing just `--max-bytes` to increase the storage budget is allowed. v0.2 databases can resume without old-row checkpoints but will recheck empty tiles until reaching newly checkpointed rows.
## Database validation
```bash
python3 - <<'PY'
import sqlite3
with sqlite3.connect('Bulgaria-Full.sqlitedb') as db:
for query in (
'pragma integrity_check',
'select tilenumbering,minzoom,maxzoom from info',
'select z,count(*) from tiles group by z order by z',
'select z,y from progress order by z',
):
print(query, db.execute(query).fetchall())
PY
```
Import the `.sqlitedb` into OsmAnd and select it as an overlay or map source. This is a **raster map**, and does not reproduce Garmin routing. A countrywide zoom-16 file may be tens of GiB, because individual transparent PNG tiles often occupy many kilobytes; test available space on phone before copying.
## New in v0.3
- Explicit `--whole-map` mode removes artificial candidate cap for full-map runs, without requiring `--max-tiles 2000000` guesses.
- `--plan` counts coverage candidates and creates no DB.
- Per-row merged geographic coverage ranges; skips uncharted gaps.
- SQLite `progress` checkpoints commit atomically with finished scanlines for fast, repeatable resumes.
- Database settings fingerprint prevents resume with incompatible zoom/extent or AA settings.
- `--max-tiles 0` and `--max-bytes 0` opt out of limits explicitly.
Limitations: renderer still uses a subset of Garmin TYP pattern and icon encodings; not all labels and complex areas are rendered exactly as Garmin software. For a native compact vector routable output, a genuine OBF conversion would require an additional geometry and semantics pipeline.
GPL-3.0-or-later. See LICENSE.
## New: native IMG → OSM vector export
Version 0.4 adds a second executable `garmin2osm` for compact vector data that can be compiled into native OsmAnd `.obf`. **Read [README_VECTOR.md](README_VECTOR.md)** for commands, verification and the limitations of restoring Garmin routing and TYP styling. The existing SQLite raster tool remains available as `garmin2osmand`.
+108
View File
@@ -0,0 +1,108 @@
# Garmin2OsmAnd v0.4 — Native Garmin IMG → OSM vector export
This adds a second C++ executable, `garmin2osm`, to the prior low-RAM `garmin2osmand` tile renderer. The original `garmin2osmand` **SQLiteDB raster exporter is unchanged in purpose**.
## Scope and results
This C++ export uses **no Dart, GeoJSON, `ogr2osm`, or Python runtime**. It shares the Garmin FAT/GMP, TRE/RGN, LBL/LBL6/NET and TYP decoders from the raster project. A disk-backed SQLite staging database deduplicates geographic vertices using 7-decimal-place coordinates, then emits OSM XML with all nodes before ways. The temporary database is deleted after a successful export unless `--keep-temp` is selected. Memory consumption does not scale with overall feature count, but output and staging *disk space* do.
The actual supplied 422 MiB Bulgaria IMG was scanned in full (165 map regions): 1,420,389 polylines, 924,553 area polygons, 416,165 points/POIs, without stopping on malformed geometry. A Rila–Malyovitsa regional OSM XML was parsed and checked for unique node IDs and valid way references.
**NOT VERIFIED:** entire-Bulgaria OSM file generation and compilation into OBF have not been run end-to-end. Road routability is **best effort**; Garmin routing metadata and NOD topology are not reconstructed. The original Garmin TYP bitmap patterns **cannot be represented in ordinary OSM geometry tags**, although `colour=*` and `garmin:type=*` are preserved for extended hiking-route features. Standard OsmAnd rendering might not show these colors; an OsmAnd rendering style or hiking route relation enrichment is a separate project.
The output is for personal/offline processing of maps you are legally allowed to reuse. **Do not upload converted Garmin objects to the public OSM database.** Their licence and OSM provenance are not established.
## Build on Ubuntu/Debian
```sh
sudo apt update
sudo apt install -y cmake g++ make libpng-dev libsqlite3-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j "$(nproc)"
ctest --test-dir build --output-on-failure
```
## Inspect the IMG
```sh
./build/garmin2osm --input 'gmapsupp(2).img' --inspect
```
This reads all available subdivisions, prints counts for map features grouped by Garmin types, and shows embedded Garmin TYP color classes. No SQLite or XML output is created.
## Export all Bulgaria
```sh
./build/garmin2osm \
--input 'gmapsupp(2).img' \
--output Bulgaria-Garmin.osm
```
Full OSM export could need **several gigabytes of free disk space**, and building a full `.obf` can require significantly more for temporary MapCreator indexes. This is not a completed whole-Bulgaria benchmark. Run `--inspect` first and keep additional storage free.
## Export Rila/Malyovitsa area for testing
```sh
./build/garmin2osm \
--input 'gmapsupp(2).img' \
--bbox 23.28,42.11,23.47,42.27 \
--output Rila-Garmin.osm
```
`--bbox` skips non-overlapping Garmin subdivisions. Polylines that cross the bbox boundary are **not cut at the exact boundary**. Use a small export for validation before exporting a country.
The default **excludes contour line types 0x20–0x25**, as requested; add `--contours` if wanted. `--all-levels` includes less-detailed duplicated Garmin map levels and should normally be avoided. `--limit-maps N` is useful for diagnostic subsets. `--temp staging.sqlite` chooses the temporary database path, and `--keep-temp` retains it. Existing destinations are deliberately not overwritten.
### Vector contents
- Roads, track roads, footpaths and ordinary Garmin line features → OSM ways and `highway=*` where confidently matched.
- Named trails and colored Garmin extended RGN polylines → distinct path ways with `colour=*`, `trailblazed=yes`, and `garmin:route_overlay=yes`.
- Streams and rivers → `waterway=*`.
- Known Garmin polygon types → national parks, woods, lakes, scrub and others, as OSM closed ways.
- Named POIs → separate OSM nodes; specific Bulgarian map codes matched from real data: peaks, drinking water, mountain huts/shelters, signposts, information boards, viewpoints, churches, etc.
- Source codes are recorded as `garmin:type=0x...` for debugging and future tag refinements.
**Precision caveat:** `garmin:route_overlay=yes` ways are **marked-route overlays**, potentially coincident with physical `highway=path` or `highway=track` geometry. They are currently emitted with `highway=path` for basic visibility in OsmAnd. That may introduce duplicate or phantom routable edges. Do not depend on the generated OBF for safety-critical routing until you have independently validated its connectivity and access restrictions.
Unknown Garmin POI types are kept as named OSM nodes with `garmin:type=*`, but they may **not appear** in OsmAnd's POI index until added to its supported `poi_types.xml` or mapped to a verified standard type. Similarly, `colour=*` is not a guarantee of visible hiking stripe styles inside OBF.
## Compile to native OBF
Get **OsmAndMapCreator** from the official [OsmAnd instructions](https://osmand.net/docs/technical/map-creation/create-offline-maps-yourself/).
```sh
wget https://download.osmand.net/latest-night-build/OsmAndMapCreator-main.zip
unzip OsmAndMapCreator-main.zip -d OsmAndMapCreator
export JAVA_OPTS='-Xms256M -Xmx4096M'
./scripts/build_obf.sh "$PWD/OsmAndMapCreator" "$PWD/Rila-Garmin.osm"
```
You can also save storage and I/O bandwidth with `gzip -9 Rila-Garmin.osm` and pass `Rila-Garmin.osm.gz` to the same wrapper. The `generate-obf-no-address` command builds a map without the address index; paths, POIs and map geometry are still indexed based on OsmAnd's supported render/routing/POI tags. **This last compilation step was not run in the container** because the MapCreator binary could not be retrieved; only the native IMG → OSM exporter was compiled and tested.
For large datasets, geographically partition the source and compile separately. OsmAnd recommends `.obf` files below 2 GiB.
## Validate converted OSM XML
```sh
python3 - <<'PY'
import xml.etree.ElementTree as ET
from collections import Counter
counts=Counter()
for _,e in ET.iterparse('Rila-Garmin.osm',events=('end',)):
if e.tag in ('node','way','relation'):
counts[e.tag]+=1
e.clear()
print(counts)
PY
```
See `tests/test_vector.py` for a reference-integrity test of the synthetic Garmin fixture.
### Code and format references
- [QMapShack Garmin implementation](https://github.com/Maproom/qmapshack/blob/dev/src/qmapshack/map/CMapIMG.cpp) — GPLv3 background research
- [cGPSmapper polyline type list](https://www.manualsonline.com/manuals/mfg/garmin/gps_receiver_1_2.html?p=88)
- [Garmin area type documentation](https://wiki.openstreetmap.org/wiki/Editing_OSM_Map_On_Garmin/Area_Types)
- [OsmAnd's official offline map build documentation](https://osmand.net/docs/technical/map-creation/create-offline-maps-yourself/)
Project licence: GPL-3.0-or-later (LICENSE).
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j "$(nproc)"
./build/garmin2osm \
--input '/home/opthq/gmapsupp.img' \
--output Bulgaria-Garmin.osm
+409
View File
@@ -0,0 +1,409 @@
# This is the CMakeCache file.
# For build in directory: /home/opthq/vector-v4/garmin2osmand-v3/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-13
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-13
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/pkgRedirects
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=garmin2osmand
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=0.2.0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=2
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//Path to a program.
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Path to a library.
PNG_LIBRARY_DEBUG:FILEPATH=PNG_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
PNG_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libpng.so
//Path to a file.
PNG_PNG_INCLUDE_DIR:PATH=/usr/include
//Path to a file.
SQLite3_INCLUDE_DIR:PATH=/usr/include
//Path to a library.
SQLite3_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libsqlite3.so
//Path to a file.
ZLIB_INCLUDE_DIR:PATH=/usr/include
//Path to a library.
ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libz.so
//Value Computed by CMake
garmin2osmand_BINARY_DIR:STATIC=/home/opthq/vector-v4/garmin2osmand-v3/build
//Value Computed by CMake
garmin2osmand_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
garmin2osmand_SOURCE_DIR:STATIC=/home/opthq/vector-v4/garmin2osmand-v3
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/opthq/vector-v4/garmin2osmand-v3/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=28
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/opthq/vector-v4/garmin2osmand-v3
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.28
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding PNG
FIND_PACKAGE_MESSAGE_DETAILS_PNG:INTERNAL=[/usr/lib/x86_64-linux-gnu/libpng.so][/usr/include][v1.6.43()]
//Details about finding SQLite3
FIND_PACKAGE_MESSAGE_DETAILS_SQLite3:INTERNAL=[/usr/include][/usr/lib/x86_64-linux-gnu/libsqlite3.so][v3.45.1()]
//Details about finding ZLIB
FIND_PACKAGE_MESSAGE_DETAILS_ZLIB:INTERNAL=[/usr/lib/x86_64-linux-gnu/libz.so][/usr/include][c ][v1.3()]
//ADVANCED property for variable: PNG_LIBRARY_DEBUG
PNG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PNG_LIBRARY_RELEASE
PNG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PNG_PNG_INCLUDE_DIR
PNG_PNG_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SQLite3_INCLUDE_DIR
SQLite3_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SQLite3_LIBRARY
SQLite3_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
//Compiler reason failure
_Python3_Compiler_REASON_FAILURE:INTERNAL=
//Development reason failure
_Python3_Development_REASON_FAILURE:INTERNAL=
//Path to a program.
_Python3_EXECUTABLE:INTERNAL=/usr/bin/python3
//Python3 Properties
_Python3_INTERPRETER_PROPERTIES:INTERNAL=Python;3;12;3;64;32;;cpython-312-x86_64-linux-gnu;abi3;/usr/lib/python3.12;/usr/lib/python3.12;/usr/local/lib/python3.12/dist-packages;/usr/local/lib/python3.12/dist-packages
_Python3_INTERPRETER_SIGNATURE:INTERNAL=4c8bfa8951e99fa32e4000a94f8c04a2
//NumPy reason failure
_Python3_NumPy_REASON_FAILURE:INTERNAL=
@@ -0,0 +1,85 @@
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "13.3.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-13")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-13")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED TRUE)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
@@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.8.0-146-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-146-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.8.0-146-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.8.0-146-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)
@@ -0,0 +1,869 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__open_xl__) && defined(__clang__)
# define COMPILER_ID "IBMClang"
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__clang__) && defined(__cray__)
# define COMPILER_ID "CrayClang"
# define COMPILER_VERSION_MAJOR DEC(__cray_major__)
# define COMPILER_VERSION_MINOR DEC(__cray_minor__)
# define COMPILER_VERSION_PATCH DEC(__cray_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TASKING__)
# define COMPILER_ID "Tasking"
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
#elif defined(__ORANGEC__)
# define COMPILER_ID "OrangeC"
# define COMPILER_VERSION_MAJOR DEC(__ORANGEC_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__ORANGEC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__ORANGEC_PATCHLEVEL__)
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION/100 % 100)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
# define COMPILER_ID "LCC"
# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
# if defined(__LCC_MINOR__)
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
# endif
# if defined(__GNUC__) && defined(__GNUC_MINOR__)
# define SIMULATE_ID "GNU"
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(_ADI_COMPILER)
# define COMPILER_ID "ADSP"
#if defined(__VERSIONNUM__)
/* __VERSIONNUM__ = 0xVVRRPPTT */
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
# elif defined(_ADI_COMPILER)
# define PLATFORM_ID "ADSP"
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
# elif defined(__ADSPSHARC__)
# define ARCHITECTURE_ID "SHARC"
# elif defined(__ADSPBLACKFIN__)
# define ARCHITECTURE_ID "Blackfin"
#elif defined(__TASKING__)
# if defined(__CTC__) || defined(__CPTC__)
# define ARCHITECTURE_ID "TriCore"
# elif defined(__CMCS__)
# define ARCHITECTURE_ID "MCS"
# elif defined(__CARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__CARC__)
# define ARCHITECTURE_ID "ARC"
# elif defined(__C51__)
# define ARCHITECTURE_ID "8051"
# elif defined(__CPCP__)
# define ARCHITECTURE_ID "PCP"
# else
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > 202002L
"23"
#elif CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}
Binary file not shown.
@@ -0,0 +1,276 @@
---
events:
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:233 (message)"
- "CMakeLists.txt:2 (project)"
message: |
The system is: Linux - 6.8.0-146-generic - x86_64
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:2 (project)"
message: |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in:
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/3.28.3/CompilerIdCXX/a.out
-
kind: "try_compile-v1"
backtrace:
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
checks:
- "Detecting CXX compiler ABI info"
directories:
source: "/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH"
binary: "/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
buildResult:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
Change Dir: '/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_ed5e7/fast
/usr/bin/gmake -f CMakeFiles/cmTC_ed5e7.dir/build.make CMakeFiles/cmTC_ed5e7.dir/build
gmake[1]: Entering directory '/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH'
Building CXX object CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -v -o CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/'
/usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ed5e7.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cc5jBPPp.s
GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04.1) version 13.3.0 (x86_64-linux-gnu)
compiled by GNU C version 13.3.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.26-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/13
/usr/include/x86_64-linux-gnu/c++/13
/usr/include/c++/13/backward
/usr/lib/gcc/x86_64-linux-gnu/13/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
Compiler executable checksum: 7896445e4990772fdae9dc0659a99266
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/'
as -v --64 -o CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o /tmp/cc5jBPPp.s
GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.'
Linking CXX executable cmTC_ed5e7
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed5e7.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ed5e7
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1)
COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ed5e7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ed5e7.'
/usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccNEfGdk.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ed5e7 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ed5e7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ed5e7.'
gmake[1]: Leaving directory '/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH'
exitCode: 0
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit include dir info: rv=done
found start of include info
found start of implicit include info
add: [/usr/include/c++/13]
add: [/usr/include/x86_64-linux-gnu/c++/13]
add: [/usr/include/c++/13/backward]
add: [/usr/lib/gcc/x86_64-linux-gnu/13/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/include/c++/13] ==> [/usr/include/c++/13]
collapse include dir [/usr/include/x86_64-linux-gnu/c++/13] ==> [/usr/include/x86_64-linux-gnu/c++/13]
collapse include dir [/usr/include/c++/13/backward] ==> [/usr/include/c++/13/backward]
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/13/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/13/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/include/c++/13;/usr/include/x86_64-linux-gnu/c++/13;/usr/include/c++/13/backward;/usr/lib/gcc/x86_64-linux-gnu/13/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
-
kind: "message-v1"
backtrace:
- "/usr/share/cmake-3.28/Modules/CMakeDetermineCompilerABI.cmake:159 (message)"
- "/usr/share/cmake-3.28/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
ignore line: [Change Dir: '/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH']
ignore line: []
ignore line: [Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_ed5e7/fast]
ignore line: [/usr/bin/gmake -f CMakeFiles/cmTC_ed5e7.dir/build.make CMakeFiles/cmTC_ed5e7.dir/build]
ignore line: [gmake[1]: Entering directory '/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/CMakeScratch/TryCompile-7R9bgH']
ignore line: [Building CXX object CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1) ]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/']
ignore line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.28/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ed5e7.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cc5jBPPp.s]
ignore line: [GNU C++17 (Ubuntu 13.3.0-6ubuntu2~24.04.1) version 13.3.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 13.3.0 GMP version 6.3.0 MPFR version 4.2.1 MPC version 1.3.1 isl version isl-0.26-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/13"]
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed/x86_64-linux-gnu"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/include-fixed"]
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/13/../../../../x86_64-linux-gnu/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
ignore line: [ /usr/include/c++/13]
ignore line: [ /usr/include/x86_64-linux-gnu/c++/13]
ignore line: [ /usr/include/c++/13/backward]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/13/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [Compiler executable checksum: 7896445e4990772fdae9dc0659a99266]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/']
ignore line: [ as -v --64 -o CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o /tmp/cc5jBPPp.s]
ignore line: [GNU assembler version 2.42 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.42]
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.']
ignore line: [Linking CXX executable cmTC_ed5e7]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed5e7.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ed5e7 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.3.0-6ubuntu2~24.04.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c ada c++ go d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-13-EldibY/gcc-13-13.3.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2]
ignore line: [Thread model: posix]
ignore line: [Supported LTO compression algorithms: zlib zstd]
ignore line: [gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04.1) ]
ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/13/:/usr/libexec/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/13/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/13/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ed5e7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ed5e7.']
link line: [ /usr/libexec/gcc/x86_64-linux-gnu/13/collect2 -plugin /usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper -plugin-opt=-fresolution=/tmp/ccNEfGdk.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ed5e7 /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/13 -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/13/../../.. CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/libexec/gcc/x86_64-linux-gnu/13/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccNEfGdk.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [--as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_ed5e7] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..]
arg [CMakeFiles/cmTC_ed5e7.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
collapse obj [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13] ==> [/usr/lib/gcc/x86_64-linux-gnu/13]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../../../lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/../lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/13/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/13/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/13;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
...
@@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/opthq/vector-v4/garmin2osmand-v3")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/opthq/vector-v4/garmin2osmand-v3/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
@@ -0,0 +1,53 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt"
"CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
"CMakeFiles/3.28.3/CMakeSystem.cmake"
"/usr/share/cmake-3.28/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.28/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.28/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.28/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.28/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.28/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.28/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.28/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.28/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.28/Modules/FindPNG.cmake"
"/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake"
"/usr/share/cmake-3.28/Modules/FindPackageMessage.cmake"
"/usr/share/cmake-3.28/Modules/FindPython/Support.cmake"
"/usr/share/cmake-3.28/Modules/FindPython3.cmake"
"/usr/share/cmake-3.28/Modules/FindSQLite3.cmake"
"/usr/share/cmake-3.28/Modules/FindZLIB.cmake"
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.28/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-3.28/Modules/Platform/Linux-Initialize.cmake"
"/usr/share/cmake-3.28/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.28/Modules/Platform/UnixPaths.cmake"
"/usr/share/cmake-3.28/Modules/SelectLibraryConfigurations.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/garmin2osmand.dir/DependInfo.cmake"
"CMakeFiles/garmin2osm.dir/DependInfo.cmake"
)
+140
View File
@@ -0,0 +1,140 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/opthq/vector-v4/garmin2osmand-v3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/opthq/vector-v4/garmin2osmand-v3/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/garmin2osmand.dir/all
all: CMakeFiles/garmin2osm.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/garmin2osmand.dir/clean
clean: CMakeFiles/garmin2osm.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/garmin2osmand.dir
# All Build rule for target.
CMakeFiles/garmin2osmand.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=3,4 "Built target garmin2osmand"
.PHONY : CMakeFiles/garmin2osmand.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/garmin2osmand.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles 2
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/garmin2osmand.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles 0
.PHONY : CMakeFiles/garmin2osmand.dir/rule
# Convenience name for target.
garmin2osmand: CMakeFiles/garmin2osmand.dir/rule
.PHONY : garmin2osmand
# clean rule for target.
CMakeFiles/garmin2osmand.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/clean
.PHONY : CMakeFiles/garmin2osmand.dir/clean
#=============================================================================
# Target rules for target CMakeFiles/garmin2osm.dir
# All Build rule for target.
CMakeFiles/garmin2osm.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=1,2 "Built target garmin2osm"
.PHONY : CMakeFiles/garmin2osm.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/garmin2osm.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles 2
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/garmin2osm.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles 0
.PHONY : CMakeFiles/garmin2osm.dir/rule
# Convenience name for target.
garmin2osm: CMakeFiles/garmin2osm.dir/rule
.PHONY : garmin2osm
# clean rule for target.
CMakeFiles/garmin2osm.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/clean
.PHONY : CMakeFiles/garmin2osm.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
@@ -0,0 +1,5 @@
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/garmin2osmand.dir
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/garmin2osm.dir
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/test.dir
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/edit_cache.dir
/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/rebuild_cache.dir
@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
@@ -0,0 +1,23 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp" "CMakeFiles/garmin2osm.dir/src/vector.cpp.o" "gcc" "CMakeFiles/garmin2osm.dir/src/vector.cpp.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
@@ -0,0 +1,113 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/opthq/vector-v4/garmin2osmand-v3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/opthq/vector-v4/garmin2osmand-v3/build
# Include any dependencies generated for this target.
include CMakeFiles/garmin2osm.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/garmin2osm.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/garmin2osm.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/garmin2osm.dir/flags.make
CMakeFiles/garmin2osm.dir/src/vector.cpp.o: CMakeFiles/garmin2osm.dir/flags.make
CMakeFiles/garmin2osm.dir/src/vector.cpp.o: /home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp
CMakeFiles/garmin2osm.dir/src/vector.cpp.o: CMakeFiles/garmin2osm.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/garmin2osm.dir/src/vector.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/garmin2osm.dir/src/vector.cpp.o -MF CMakeFiles/garmin2osm.dir/src/vector.cpp.o.d -o CMakeFiles/garmin2osm.dir/src/vector.cpp.o -c /home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp
CMakeFiles/garmin2osm.dir/src/vector.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/garmin2osm.dir/src/vector.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp > CMakeFiles/garmin2osm.dir/src/vector.cpp.i
CMakeFiles/garmin2osm.dir/src/vector.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/garmin2osm.dir/src/vector.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp -o CMakeFiles/garmin2osm.dir/src/vector.cpp.s
# Object files for target garmin2osm
garmin2osm_OBJECTS = \
"CMakeFiles/garmin2osm.dir/src/vector.cpp.o"
# External object files for target garmin2osm
garmin2osm_EXTERNAL_OBJECTS =
garmin2osm: CMakeFiles/garmin2osm.dir/src/vector.cpp.o
garmin2osm: CMakeFiles/garmin2osm.dir/build.make
garmin2osm: /usr/lib/x86_64-linux-gnu/libpng.so
garmin2osm: /usr/lib/x86_64-linux-gnu/libsqlite3.so
garmin2osm: /usr/lib/x86_64-linux-gnu/libz.so
garmin2osm: CMakeFiles/garmin2osm.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable garmin2osm"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/garmin2osm.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/garmin2osm.dir/build: garmin2osm
.PHONY : CMakeFiles/garmin2osm.dir/build
CMakeFiles/garmin2osm.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/garmin2osm.dir/cmake_clean.cmake
.PHONY : CMakeFiles/garmin2osm.dir/clean
CMakeFiles/garmin2osm.dir/depend:
cd /home/opthq/vector-v4/garmin2osmand-v3/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/opthq/vector-v4/garmin2osmand-v3 /home/opthq/vector-v4/garmin2osmand-v3 /home/opthq/vector-v4/garmin2osmand-v3/build /home/opthq/vector-v4/garmin2osmand-v3/build /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/garmin2osm.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/garmin2osm.dir/depend
@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/garmin2osm.dir/src/vector.cpp.o"
"CMakeFiles/garmin2osm.dir/src/vector.cpp.o.d"
"garmin2osm"
"garmin2osm.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/garmin2osm.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
@@ -0,0 +1,329 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
CMakeFiles/garmin2osm.dir/src/vector.cpp.o
/home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp
/usr/include/alloca.h
/usr/include/asm-generic/errno-base.h
/usr/include/asm-generic/errno.h
/usr/include/c++/13/algorithm
/usr/include/c++/13/array
/usr/include/c++/13/backward/auto_ptr.h
/usr/include/c++/13/backward/binders.h
/usr/include/c++/13/bit
/usr/include/c++/13/bits/algorithmfwd.h
/usr/include/c++/13/bits/align.h
/usr/include/c++/13/bits/alloc_traits.h
/usr/include/c++/13/bits/allocated_ptr.h
/usr/include/c++/13/bits/allocator.h
/usr/include/c++/13/bits/atomic_base.h
/usr/include/c++/13/bits/atomic_lockfree_defines.h
/usr/include/c++/13/bits/basic_ios.h
/usr/include/c++/13/bits/basic_ios.tcc
/usr/include/c++/13/bits/basic_string.h
/usr/include/c++/13/bits/basic_string.tcc
/usr/include/c++/13/bits/char_traits.h
/usr/include/c++/13/bits/charconv.h
/usr/include/c++/13/bits/chrono.h
/usr/include/c++/13/bits/codecvt.h
/usr/include/c++/13/bits/concept_check.h
/usr/include/c++/13/bits/cpp_type_traits.h
/usr/include/c++/13/bits/cxxabi_forced.h
/usr/include/c++/13/bits/cxxabi_init_exception.h
/usr/include/c++/13/bits/enable_special_members.h
/usr/include/c++/13/bits/erase_if.h
/usr/include/c++/13/bits/exception.h
/usr/include/c++/13/bits/exception_defines.h
/usr/include/c++/13/bits/exception_ptr.h
/usr/include/c++/13/bits/fs_dir.h
/usr/include/c++/13/bits/fs_fwd.h
/usr/include/c++/13/bits/fs_ops.h
/usr/include/c++/13/bits/fs_path.h
/usr/include/c++/13/bits/fstream.tcc
/usr/include/c++/13/bits/functexcept.h
/usr/include/c++/13/bits/functional_hash.h
/usr/include/c++/13/bits/hash_bytes.h
/usr/include/c++/13/bits/hashtable.h
/usr/include/c++/13/bits/hashtable_policy.h
/usr/include/c++/13/bits/invoke.h
/usr/include/c++/13/bits/ios_base.h
/usr/include/c++/13/bits/istream.tcc
/usr/include/c++/13/bits/locale_classes.h
/usr/include/c++/13/bits/locale_classes.tcc
/usr/include/c++/13/bits/locale_conv.h
/usr/include/c++/13/bits/locale_facets.h
/usr/include/c++/13/bits/locale_facets.tcc
/usr/include/c++/13/bits/locale_facets_nonio.h
/usr/include/c++/13/bits/locale_facets_nonio.tcc
/usr/include/c++/13/bits/localefwd.h
/usr/include/c++/13/bits/memory_resource.h
/usr/include/c++/13/bits/memoryfwd.h
/usr/include/c++/13/bits/move.h
/usr/include/c++/13/bits/nested_exception.h
/usr/include/c++/13/bits/new_allocator.h
/usr/include/c++/13/bits/node_handle.h
/usr/include/c++/13/bits/ostream.tcc
/usr/include/c++/13/bits/ostream_insert.h
/usr/include/c++/13/bits/parse_numbers.h
/usr/include/c++/13/bits/postypes.h
/usr/include/c++/13/bits/predefined_ops.h
/usr/include/c++/13/bits/ptr_traits.h
/usr/include/c++/13/bits/quoted_string.h
/usr/include/c++/13/bits/range_access.h
/usr/include/c++/13/bits/refwrap.h
/usr/include/c++/13/bits/requires_hosted.h
/usr/include/c++/13/bits/shared_ptr.h
/usr/include/c++/13/bits/shared_ptr_atomic.h
/usr/include/c++/13/bits/shared_ptr_base.h
/usr/include/c++/13/bits/specfun.h
/usr/include/c++/13/bits/sstream.tcc
/usr/include/c++/13/bits/std_abs.h
/usr/include/c++/13/bits/stl_algo.h
/usr/include/c++/13/bits/stl_algobase.h
/usr/include/c++/13/bits/stl_bvector.h
/usr/include/c++/13/bits/stl_construct.h
/usr/include/c++/13/bits/stl_function.h
/usr/include/c++/13/bits/stl_heap.h
/usr/include/c++/13/bits/stl_iterator.h
/usr/include/c++/13/bits/stl_iterator_base_funcs.h
/usr/include/c++/13/bits/stl_iterator_base_types.h
/usr/include/c++/13/bits/stl_map.h
/usr/include/c++/13/bits/stl_multimap.h
/usr/include/c++/13/bits/stl_multiset.h
/usr/include/c++/13/bits/stl_pair.h
/usr/include/c++/13/bits/stl_raw_storage_iter.h
/usr/include/c++/13/bits/stl_relops.h
/usr/include/c++/13/bits/stl_set.h
/usr/include/c++/13/bits/stl_tempbuf.h
/usr/include/c++/13/bits/stl_tree.h
/usr/include/c++/13/bits/stl_uninitialized.h
/usr/include/c++/13/bits/stl_vector.h
/usr/include/c++/13/bits/streambuf.tcc
/usr/include/c++/13/bits/streambuf_iterator.h
/usr/include/c++/13/bits/string_view.tcc
/usr/include/c++/13/bits/stringfwd.h
/usr/include/c++/13/bits/uniform_int_dist.h
/usr/include/c++/13/bits/unique_ptr.h
/usr/include/c++/13/bits/unordered_map.h
/usr/include/c++/13/bits/unordered_set.h
/usr/include/c++/13/bits/uses_allocator.h
/usr/include/c++/13/bits/uses_allocator_args.h
/usr/include/c++/13/bits/utility.h
/usr/include/c++/13/bits/vector.tcc
/usr/include/c++/13/cctype
/usr/include/c++/13/cerrno
/usr/include/c++/13/chrono
/usr/include/c++/13/clocale
/usr/include/c++/13/cmath
/usr/include/c++/13/codecvt
/usr/include/c++/13/compare
/usr/include/c++/13/cstddef
/usr/include/c++/13/cstdint
/usr/include/c++/13/cstdio
/usr/include/c++/13/cstdlib
/usr/include/c++/13/cstring
/usr/include/c++/13/ctime
/usr/include/c++/13/cwchar
/usr/include/c++/13/cwctype
/usr/include/c++/13/debug/assertions.h
/usr/include/c++/13/debug/debug.h
/usr/include/c++/13/exception
/usr/include/c++/13/ext/aligned_buffer.h
/usr/include/c++/13/ext/alloc_traits.h
/usr/include/c++/13/ext/atomicity.h
/usr/include/c++/13/ext/concurrence.h
/usr/include/c++/13/ext/numeric_traits.h
/usr/include/c++/13/ext/string_conversions.h
/usr/include/c++/13/ext/type_traits.h
/usr/include/c++/13/filesystem
/usr/include/c++/13/fstream
/usr/include/c++/13/initializer_list
/usr/include/c++/13/iomanip
/usr/include/c++/13/ios
/usr/include/c++/13/iosfwd
/usr/include/c++/13/iostream
/usr/include/c++/13/istream
/usr/include/c++/13/limits
/usr/include/c++/13/locale
/usr/include/c++/13/map
/usr/include/c++/13/memory
/usr/include/c++/13/new
/usr/include/c++/13/ostream
/usr/include/c++/13/pstl/execution_defs.h
/usr/include/c++/13/pstl/glue_algorithm_defs.h
/usr/include/c++/13/pstl/glue_memory_defs.h
/usr/include/c++/13/pstl/pstl_config.h
/usr/include/c++/13/ratio
/usr/include/c++/13/set
/usr/include/c++/13/sstream
/usr/include/c++/13/stdexcept
/usr/include/c++/13/streambuf
/usr/include/c++/13/string
/usr/include/c++/13/string_view
/usr/include/c++/13/system_error
/usr/include/c++/13/tr1/bessel_function.tcc
/usr/include/c++/13/tr1/beta_function.tcc
/usr/include/c++/13/tr1/ell_integral.tcc
/usr/include/c++/13/tr1/exp_integral.tcc
/usr/include/c++/13/tr1/gamma.tcc
/usr/include/c++/13/tr1/hypergeometric.tcc
/usr/include/c++/13/tr1/legendre_function.tcc
/usr/include/c++/13/tr1/modified_bessel_func.tcc
/usr/include/c++/13/tr1/poly_hermite.tcc
/usr/include/c++/13/tr1/poly_laguerre.tcc
/usr/include/c++/13/tr1/riemann_zeta.tcc
/usr/include/c++/13/tr1/special_function_util.h
/usr/include/c++/13/tuple
/usr/include/c++/13/type_traits
/usr/include/c++/13/typeinfo
/usr/include/c++/13/unordered_map
/usr/include/c++/13/unordered_set
/usr/include/c++/13/utility
/usr/include/c++/13/vector
/usr/include/ctype.h
/usr/include/dlfcn.h
/usr/include/endian.h
/usr/include/errno.h
/usr/include/features-time64.h
/usr/include/features.h
/usr/include/iconv.h
/usr/include/libintl.h
/usr/include/limits.h
/usr/include/linux/errno.h
/usr/include/linux/limits.h
/usr/include/locale.h
/usr/include/math.h
/usr/include/png.h
/usr/include/pngconf.h
/usr/include/pnglibconf.h
/usr/include/pthread.h
/usr/include/sched.h
/usr/include/setjmp.h
/usr/include/sqlite3.h
/usr/include/stdc-predef.h
/usr/include/stdint.h
/usr/include/stdio.h
/usr/include/stdlib.h
/usr/include/string.h
/usr/include/strings.h
/usr/include/time.h
/usr/include/wchar.h
/usr/include/wctype.h
/usr/include/x86_64-linux-gnu/asm/errno.h
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h
/usr/include/x86_64-linux-gnu/bits/byteswap.h
/usr/include/x86_64-linux-gnu/bits/cpu-set.h
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h
/usr/include/x86_64-linux-gnu/bits/dlfcn.h
/usr/include/x86_64-linux-gnu/bits/endian.h
/usr/include/x86_64-linux-gnu/bits/endianness.h
/usr/include/x86_64-linux-gnu/bits/errno.h
/usr/include/x86_64-linux-gnu/bits/floatn-common.h
/usr/include/x86_64-linux-gnu/bits/floatn.h
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h
/usr/include/x86_64-linux-gnu/bits/fp-fast.h
/usr/include/x86_64-linux-gnu/bits/fp-logb.h
/usr/include/x86_64-linux-gnu/bits/iscanonical.h
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h
/usr/include/x86_64-linux-gnu/bits/local_lim.h
/usr/include/x86_64-linux-gnu/bits/locale.h
/usr/include/x86_64-linux-gnu/bits/long-double.h
/usr/include/x86_64-linux-gnu/bits/math-vector.h
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h
/usr/include/x86_64-linux-gnu/bits/mathcalls.h
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h
/usr/include/x86_64-linux-gnu/bits/sched.h
/usr/include/x86_64-linux-gnu/bits/select-decl.h
/usr/include/x86_64-linux-gnu/bits/select.h
/usr/include/x86_64-linux-gnu/bits/select2.h
/usr/include/x86_64-linux-gnu/bits/setjmp.h
/usr/include/x86_64-linux-gnu/bits/setjmp2.h
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h
/usr/include/x86_64-linux-gnu/bits/stdint-least.h
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h
/usr/include/x86_64-linux-gnu/bits/stdio.h
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h
/usr/include/x86_64-linux-gnu/bits/stdio2.h
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h
/usr/include/x86_64-linux-gnu/bits/stdlib.h
/usr/include/x86_64-linux-gnu/bits/string_fortified.h
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h
/usr/include/x86_64-linux-gnu/bits/time.h
/usr/include/x86_64-linux-gnu/bits/time64.h
/usr/include/x86_64-linux-gnu/bits/timesize.h
/usr/include/x86_64-linux-gnu/bits/timex.h
/usr/include/x86_64-linux-gnu/bits/types.h
/usr/include/x86_64-linux-gnu/bits/types/FILE.h
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h
/usr/include/x86_64-linux-gnu/bits/types/error_t.h
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h
/usr/include/x86_64-linux-gnu/bits/types/time_t.h
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h
/usr/include/x86_64-linux-gnu/bits/typesizes.h
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h
/usr/include/x86_64-linux-gnu/bits/uio_lim.h
/usr/include/x86_64-linux-gnu/bits/waitflags.h
/usr/include/x86_64-linux-gnu/bits/waitstatus.h
/usr/include/x86_64-linux-gnu/bits/wchar.h
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h
/usr/include/x86_64-linux-gnu/bits/wchar2.h
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h
/usr/include/x86_64-linux-gnu/bits/wordsize.h
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h
/usr/include/x86_64-linux-gnu/gnu/stubs.h
/usr/include/x86_64-linux-gnu/sys/cdefs.h
/usr/include/x86_64-linux-gnu/sys/select.h
/usr/include/x86_64-linux-gnu/sys/single_threaded.h
/usr/include/x86_64-linux-gnu/sys/types.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h
@@ -0,0 +1,976 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
CMakeFiles/garmin2osm.dir/src/vector.cpp.o: /home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp \
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp \
/usr/include/alloca.h \
/usr/include/asm-generic/errno-base.h \
/usr/include/asm-generic/errno.h \
/usr/include/c++/13/algorithm \
/usr/include/c++/13/array \
/usr/include/c++/13/backward/auto_ptr.h \
/usr/include/c++/13/backward/binders.h \
/usr/include/c++/13/bit \
/usr/include/c++/13/bits/algorithmfwd.h \
/usr/include/c++/13/bits/align.h \
/usr/include/c++/13/bits/alloc_traits.h \
/usr/include/c++/13/bits/allocated_ptr.h \
/usr/include/c++/13/bits/allocator.h \
/usr/include/c++/13/bits/atomic_base.h \
/usr/include/c++/13/bits/atomic_lockfree_defines.h \
/usr/include/c++/13/bits/basic_ios.h \
/usr/include/c++/13/bits/basic_ios.tcc \
/usr/include/c++/13/bits/basic_string.h \
/usr/include/c++/13/bits/basic_string.tcc \
/usr/include/c++/13/bits/char_traits.h \
/usr/include/c++/13/bits/charconv.h \
/usr/include/c++/13/bits/chrono.h \
/usr/include/c++/13/bits/codecvt.h \
/usr/include/c++/13/bits/concept_check.h \
/usr/include/c++/13/bits/cpp_type_traits.h \
/usr/include/c++/13/bits/cxxabi_forced.h \
/usr/include/c++/13/bits/cxxabi_init_exception.h \
/usr/include/c++/13/bits/enable_special_members.h \
/usr/include/c++/13/bits/erase_if.h \
/usr/include/c++/13/bits/exception.h \
/usr/include/c++/13/bits/exception_defines.h \
/usr/include/c++/13/bits/exception_ptr.h \
/usr/include/c++/13/bits/fs_dir.h \
/usr/include/c++/13/bits/fs_fwd.h \
/usr/include/c++/13/bits/fs_ops.h \
/usr/include/c++/13/bits/fs_path.h \
/usr/include/c++/13/bits/fstream.tcc \
/usr/include/c++/13/bits/functexcept.h \
/usr/include/c++/13/bits/functional_hash.h \
/usr/include/c++/13/bits/hash_bytes.h \
/usr/include/c++/13/bits/hashtable.h \
/usr/include/c++/13/bits/hashtable_policy.h \
/usr/include/c++/13/bits/invoke.h \
/usr/include/c++/13/bits/ios_base.h \
/usr/include/c++/13/bits/istream.tcc \
/usr/include/c++/13/bits/locale_classes.h \
/usr/include/c++/13/bits/locale_classes.tcc \
/usr/include/c++/13/bits/locale_conv.h \
/usr/include/c++/13/bits/locale_facets.h \
/usr/include/c++/13/bits/locale_facets.tcc \
/usr/include/c++/13/bits/locale_facets_nonio.h \
/usr/include/c++/13/bits/locale_facets_nonio.tcc \
/usr/include/c++/13/bits/localefwd.h \
/usr/include/c++/13/bits/memory_resource.h \
/usr/include/c++/13/bits/memoryfwd.h \
/usr/include/c++/13/bits/move.h \
/usr/include/c++/13/bits/nested_exception.h \
/usr/include/c++/13/bits/new_allocator.h \
/usr/include/c++/13/bits/node_handle.h \
/usr/include/c++/13/bits/ostream.tcc \
/usr/include/c++/13/bits/ostream_insert.h \
/usr/include/c++/13/bits/parse_numbers.h \
/usr/include/c++/13/bits/postypes.h \
/usr/include/c++/13/bits/predefined_ops.h \
/usr/include/c++/13/bits/ptr_traits.h \
/usr/include/c++/13/bits/quoted_string.h \
/usr/include/c++/13/bits/range_access.h \
/usr/include/c++/13/bits/refwrap.h \
/usr/include/c++/13/bits/requires_hosted.h \
/usr/include/c++/13/bits/shared_ptr.h \
/usr/include/c++/13/bits/shared_ptr_atomic.h \
/usr/include/c++/13/bits/shared_ptr_base.h \
/usr/include/c++/13/bits/specfun.h \
/usr/include/c++/13/bits/sstream.tcc \
/usr/include/c++/13/bits/std_abs.h \
/usr/include/c++/13/bits/stl_algo.h \
/usr/include/c++/13/bits/stl_algobase.h \
/usr/include/c++/13/bits/stl_bvector.h \
/usr/include/c++/13/bits/stl_construct.h \
/usr/include/c++/13/bits/stl_function.h \
/usr/include/c++/13/bits/stl_heap.h \
/usr/include/c++/13/bits/stl_iterator.h \
/usr/include/c++/13/bits/stl_iterator_base_funcs.h \
/usr/include/c++/13/bits/stl_iterator_base_types.h \
/usr/include/c++/13/bits/stl_map.h \
/usr/include/c++/13/bits/stl_multimap.h \
/usr/include/c++/13/bits/stl_multiset.h \
/usr/include/c++/13/bits/stl_pair.h \
/usr/include/c++/13/bits/stl_raw_storage_iter.h \
/usr/include/c++/13/bits/stl_relops.h \
/usr/include/c++/13/bits/stl_set.h \
/usr/include/c++/13/bits/stl_tempbuf.h \
/usr/include/c++/13/bits/stl_tree.h \
/usr/include/c++/13/bits/stl_uninitialized.h \
/usr/include/c++/13/bits/stl_vector.h \
/usr/include/c++/13/bits/streambuf.tcc \
/usr/include/c++/13/bits/streambuf_iterator.h \
/usr/include/c++/13/bits/string_view.tcc \
/usr/include/c++/13/bits/stringfwd.h \
/usr/include/c++/13/bits/uniform_int_dist.h \
/usr/include/c++/13/bits/unique_ptr.h \
/usr/include/c++/13/bits/unordered_map.h \
/usr/include/c++/13/bits/unordered_set.h \
/usr/include/c++/13/bits/uses_allocator.h \
/usr/include/c++/13/bits/uses_allocator_args.h \
/usr/include/c++/13/bits/utility.h \
/usr/include/c++/13/bits/vector.tcc \
/usr/include/c++/13/cctype \
/usr/include/c++/13/cerrno \
/usr/include/c++/13/chrono \
/usr/include/c++/13/clocale \
/usr/include/c++/13/cmath \
/usr/include/c++/13/codecvt \
/usr/include/c++/13/compare \
/usr/include/c++/13/cstddef \
/usr/include/c++/13/cstdint \
/usr/include/c++/13/cstdio \
/usr/include/c++/13/cstdlib \
/usr/include/c++/13/cstring \
/usr/include/c++/13/ctime \
/usr/include/c++/13/cwchar \
/usr/include/c++/13/cwctype \
/usr/include/c++/13/debug/assertions.h \
/usr/include/c++/13/debug/debug.h \
/usr/include/c++/13/exception \
/usr/include/c++/13/ext/aligned_buffer.h \
/usr/include/c++/13/ext/alloc_traits.h \
/usr/include/c++/13/ext/atomicity.h \
/usr/include/c++/13/ext/concurrence.h \
/usr/include/c++/13/ext/numeric_traits.h \
/usr/include/c++/13/ext/string_conversions.h \
/usr/include/c++/13/ext/type_traits.h \
/usr/include/c++/13/filesystem \
/usr/include/c++/13/fstream \
/usr/include/c++/13/initializer_list \
/usr/include/c++/13/iomanip \
/usr/include/c++/13/ios \
/usr/include/c++/13/iosfwd \
/usr/include/c++/13/iostream \
/usr/include/c++/13/istream \
/usr/include/c++/13/limits \
/usr/include/c++/13/locale \
/usr/include/c++/13/map \
/usr/include/c++/13/memory \
/usr/include/c++/13/new \
/usr/include/c++/13/ostream \
/usr/include/c++/13/pstl/execution_defs.h \
/usr/include/c++/13/pstl/glue_algorithm_defs.h \
/usr/include/c++/13/pstl/glue_memory_defs.h \
/usr/include/c++/13/pstl/pstl_config.h \
/usr/include/c++/13/ratio \
/usr/include/c++/13/set \
/usr/include/c++/13/sstream \
/usr/include/c++/13/stdexcept \
/usr/include/c++/13/streambuf \
/usr/include/c++/13/string \
/usr/include/c++/13/string_view \
/usr/include/c++/13/system_error \
/usr/include/c++/13/tr1/bessel_function.tcc \
/usr/include/c++/13/tr1/beta_function.tcc \
/usr/include/c++/13/tr1/ell_integral.tcc \
/usr/include/c++/13/tr1/exp_integral.tcc \
/usr/include/c++/13/tr1/gamma.tcc \
/usr/include/c++/13/tr1/hypergeometric.tcc \
/usr/include/c++/13/tr1/legendre_function.tcc \
/usr/include/c++/13/tr1/modified_bessel_func.tcc \
/usr/include/c++/13/tr1/poly_hermite.tcc \
/usr/include/c++/13/tr1/poly_laguerre.tcc \
/usr/include/c++/13/tr1/riemann_zeta.tcc \
/usr/include/c++/13/tr1/special_function_util.h \
/usr/include/c++/13/tuple \
/usr/include/c++/13/type_traits \
/usr/include/c++/13/typeinfo \
/usr/include/c++/13/unordered_map \
/usr/include/c++/13/unordered_set \
/usr/include/c++/13/utility \
/usr/include/c++/13/vector \
/usr/include/ctype.h \
/usr/include/dlfcn.h \
/usr/include/endian.h \
/usr/include/errno.h \
/usr/include/features-time64.h \
/usr/include/features.h \
/usr/include/iconv.h \
/usr/include/libintl.h \
/usr/include/limits.h \
/usr/include/linux/errno.h \
/usr/include/linux/limits.h \
/usr/include/locale.h \
/usr/include/math.h \
/usr/include/png.h \
/usr/include/pngconf.h \
/usr/include/pnglibconf.h \
/usr/include/pthread.h \
/usr/include/sched.h \
/usr/include/setjmp.h \
/usr/include/sqlite3.h \
/usr/include/stdc-predef.h \
/usr/include/stdint.h \
/usr/include/stdio.h \
/usr/include/stdlib.h \
/usr/include/string.h \
/usr/include/strings.h \
/usr/include/time.h \
/usr/include/wchar.h \
/usr/include/wctype.h \
/usr/include/x86_64-linux-gnu/asm/errno.h \
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
/usr/include/x86_64-linux-gnu/bits/cpu-set.h \
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h \
/usr/include/x86_64-linux-gnu/bits/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/endian.h \
/usr/include/x86_64-linux-gnu/bits/endianness.h \
/usr/include/x86_64-linux-gnu/bits/errno.h \
/usr/include/x86_64-linux-gnu/bits/floatn-common.h \
/usr/include/x86_64-linux-gnu/bits/floatn.h \
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h \
/usr/include/x86_64-linux-gnu/bits/fp-fast.h \
/usr/include/x86_64-linux-gnu/bits/fp-logb.h \
/usr/include/x86_64-linux-gnu/bits/iscanonical.h \
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
/usr/include/x86_64-linux-gnu/bits/locale.h \
/usr/include/x86_64-linux-gnu/bits/long-double.h \
/usr/include/x86_64-linux-gnu/bits/math-vector.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls.h \
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
/usr/include/x86_64-linux-gnu/bits/sched.h \
/usr/include/x86_64-linux-gnu/bits/select-decl.h \
/usr/include/x86_64-linux-gnu/bits/select.h \
/usr/include/x86_64-linux-gnu/bits/select2.h \
/usr/include/x86_64-linux-gnu/bits/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/setjmp2.h \
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
/usr/include/x86_64-linux-gnu/bits/stdint-least.h \
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
/usr/include/x86_64-linux-gnu/bits/stdio.h \
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h \
/usr/include/x86_64-linux-gnu/bits/stdio2.h \
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
/usr/include/x86_64-linux-gnu/bits/stdlib.h \
/usr/include/x86_64-linux-gnu/bits/string_fortified.h \
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h \
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h \
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
/usr/include/x86_64-linux-gnu/bits/time.h \
/usr/include/x86_64-linux-gnu/bits/time64.h \
/usr/include/x86_64-linux-gnu/bits/timesize.h \
/usr/include/x86_64-linux-gnu/bits/timex.h \
/usr/include/x86_64-linux-gnu/bits/types.h \
/usr/include/x86_64-linux-gnu/bits/types/FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h \
/usr/include/x86_64-linux-gnu/bits/types/error_t.h \
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
/usr/include/x86_64-linux-gnu/bits/types/time_t.h \
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h \
/usr/include/x86_64-linux-gnu/bits/typesizes.h \
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
/usr/include/x86_64-linux-gnu/bits/uio_lim.h \
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
/usr/include/x86_64-linux-gnu/bits/waitstatus.h \
/usr/include/x86_64-linux-gnu/bits/wchar.h \
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h \
/usr/include/x86_64-linux-gnu/bits/wchar2.h \
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h \
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h \
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
/usr/include/x86_64-linux-gnu/sys/cdefs.h \
/usr/include/x86_64-linux-gnu/sys/select.h \
/usr/include/x86_64-linux-gnu/sys/single_threaded.h \
/usr/include/x86_64-linux-gnu/sys/types.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h:
/usr/include/x86_64-linux-gnu/sys/single_threaded.h:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:
/usr/include/x86_64-linux-gnu/gnu/stubs.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h:
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h:
/usr/include/x86_64-linux-gnu/bits/wordsize.h:
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h:
/usr/include/x86_64-linux-gnu/bits/wchar.h:
/usr/include/x86_64-linux-gnu/bits/waitflags.h:
/usr/include/x86_64-linux-gnu/bits/uio_lim.h:
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h:
/usr/include/x86_64-linux-gnu/bits/typesizes.h:
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h:
/usr/include/x86_64-linux-gnu/bits/types/time_t.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h:
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h:
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h:
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h:
/usr/include/x86_64-linux-gnu/bits/types/FILE.h:
/usr/include/x86_64-linux-gnu/bits/types.h:
/usr/include/x86_64-linux-gnu/bits/time64.h:
/usr/include/c++/13/debug/assertions.h:
/usr/include/x86_64-linux-gnu/bits/select-decl.h:
/usr/include/c++/13/ctime:
/usr/include/c++/13/codecvt:
/usr/include/c++/13/cstdio:
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h:
/usr/include/c++/13/bits/charconv.h:
/usr/include/c++/13/bits/fs_path.h:
/usr/include/c++/13/fstream:
/usr/include/c++/13/clocale:
/usr/include/c++/13/cerrno:
/usr/include/x86_64-linux-gnu/bits/stdint-least.h:
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h:
/usr/include/c++/13/cstdint:
/usr/include/c++/13/cstdlib:
/usr/include/c++/13/cctype:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:
/usr/include/c++/13/ext/atomicity.h:
/usr/include/c++/13/tr1/gamma.tcc:
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
/usr/include/c++/13/bits/vector.tcc:
/usr/include/c++/13/bits/stl_function.h:
/usr/include/c++/13/tr1/beta_function.tcc:
/usr/include/c++/13/bits/uses_allocator_args.h:
/usr/include/c++/13/bits/atomic_base.h:
/usr/include/c++/13/bits/stl_pair.h:
/usr/include/x86_64-linux-gnu/bits/errno.h:
/usr/include/c++/13/bits/uses_allocator.h:
/usr/include/c++/13/bits/stl_multiset.h:
/usr/include/c++/13/bits/postypes.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h:
/usr/include/c++/13/bits/unordered_set.h:
/usr/include/c++/13/bits/unordered_map.h:
/usr/include/c++/13/bits/new_allocator.h:
/usr/include/c++/13/bits/stl_uninitialized.h:
/usr/include/c++/13/bits/stl_map.h:
/usr/include/c++/13/locale:
/usr/include/c++/13/filesystem:
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h:
/usr/include/asm-generic/errno.h:
/usr/include/c++/13/bits/functexcept.h:
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:
/usr/include/c++/13/bits/stl_bvector.h:
/usr/include/c++/13/bits/stl_algobase.h:
/usr/include/c++/13/chrono:
/usr/include/c++/13/bits/stl_algo.h:
/usr/include/c++/13/cstddef:
/usr/include/c++/13/bits/sstream.tcc:
/usr/include/c++/13/cwctype:
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h:
/usr/include/c++/13/bits/erase_if.h:
/usr/include/dlfcn.h:
/usr/include/c++/13/bits/stringfwd.h:
/usr/include/c++/13/bits/shared_ptr.h:
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h:
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h:
/usr/include/c++/13/bits/string_view.tcc:
/usr/include/c++/13/bits/locale_facets.tcc:
/usr/include/c++/13/compare:
/usr/include/c++/13/system_error:
/usr/include/c++/13/bits/std_abs.h:
/usr/include/c++/13/bits/parse_numbers.h:
/usr/include/c++/13/bits/stl_set.h:
/usr/include/c++/13/bits/ostream_insert.h:
/usr/include/c++/13/bits/ostream.tcc:
/usr/include/c++/13/bits/cxxabi_forced.h:
/usr/include/c++/13/ostream:
/usr/include/c++/13/tr1/riemann_zeta.tcc:
/usr/include/c++/13/bits/cpp_type_traits.h:
/usr/include/c++/13/bits/move.h:
/usr/include/c++/13/bits/fs_ops.h:
/usr/include/x86_64-linux-gnu/bits/timesize.h:
/usr/include/c++/13/bits/locale_classes.h:
/usr/include/c++/13/bits/stl_relops.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
/usr/include/c++/13/bits/exception_ptr.h:
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h:
/usr/include/c++/13/bits/stl_multimap.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h:
/usr/include/c++/13/bits/char_traits.h:
/usr/include/c++/13/bits/hashtable_policy.h:
/usr/include/c++/13/bits/streambuf.tcc:
/usr/include/c++/13/bits/specfun.h:
/usr/include/c++/13/bits/basic_string.h:
/usr/include/c++/13/tr1/poly_laguerre.tcc:
/usr/include/libintl.h:
/usr/include/c++/13/bits/chrono.h:
/usr/include/x86_64-linux-gnu/bits/endianness.h:
/usr/include/c++/13/bits/atomic_lockfree_defines.h:
/usr/include/x86_64-linux-gnu/asm/errno.h:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:
/usr/include/c++/13/bits/locale_facets.h:
/usr/include/c++/13/bits/stl_vector.h:
/usr/include/x86_64-linux-gnu/sys/types.h:
/usr/include/c++/13/unordered_set:
/usr/include/c++/13/bits/stl_tempbuf.h:
/usr/include/c++/13/bits/stl_tree.h:
/usr/include/c++/13/bits/codecvt.h:
/usr/include/c++/13/backward/binders.h:
/usr/include/c++/13/bits/localefwd.h:
/usr/include/c++/13/bits/streambuf_iterator.h:
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h:
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
/usr/include/c++/13/bits/exception_defines.h:
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h:
/usr/include/math.h:
/usr/include/c++/13/cstring:
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h:
/usr/include/c++/13/bits/unique_ptr.h:
/usr/include/c++/13/bits/align.h:
/usr/include/c++/13/bits/allocated_ptr.h:
/usr/include/c++/13/bit:
/usr/include/c++/13/bits/basic_string.tcc:
/usr/include/c++/13/backward/auto_ptr.h:
/usr/include/c++/13/bits/istream.tcc:
/usr/include/c++/13/bits/locale_conv.h:
/usr/include/c++/13/bits/refwrap.h:
/usr/include/c++/13/bits/fstream.tcc:
/usr/include/c++/13/bits/stl_raw_storage_iter.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h:
/usr/include/c++/13/algorithm:
/usr/include/alloca.h:
/usr/include/c++/13/bits/predefined_ops.h:
/usr/include/c++/13/iosfwd:
/usr/include/c++/13/array:
/usr/include/c++/13/bits/hash_bytes.h:
/usr/include/x86_64-linux-gnu/bits/math-vector.h:
/usr/include/c++/13/bits/stl_iterator_base_funcs.h:
/usr/include/asm-generic/errno-base.h:
/usr/include/x86_64-linux-gnu/sys/select.h:
/usr/include/c++/13/cwchar:
/usr/include/c++/13/bits/concept_check.h:
/usr/include/c++/13/bits/alloc_traits.h:
/usr/include/c++/13/bits/basic_ios.h:
/usr/include/x86_64-linux-gnu/bits/long-double.h:
/usr/include/c++/13/bits/algorithmfwd.h:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:
/usr/include/x86_64-linux-gnu/bits/fp-logb.h:
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
/usr/include/c++/13/bits/node_handle.h:
/usr/include/c++/13/bits/cxxabi_init_exception.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h:
/usr/include/c++/13/typeinfo:
/usr/include/c++/13/bits/exception.h:
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
/usr/include/c++/13/bits/basic_ios.tcc:
/home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp:
/usr/include/c++/13/pstl/execution_defs.h:
/usr/include/x86_64-linux-gnu/bits/types/error_t.h:
/usr/include/c++/13/bits/hashtable.h:
/usr/include/c++/13/bits/fs_fwd.h:
/usr/include/c++/13/bits/memoryfwd.h:
/usr/include/c++/13/bits/functional_hash.h:
/usr/include/errno.h:
/usr/include/c++/13/bits/ios_base.h:
/usr/include/c++/13/bits/uniform_int_dist.h:
/usr/include/c++/13/bits/locale_classes.tcc:
/usr/include/c++/13/bits/fs_dir.h:
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:
/usr/include/c++/13/sstream:
/usr/include/c++/13/bits/locale_facets_nonio.h:
/usr/include/c++/13/bits/locale_facets_nonio.tcc:
/usr/include/c++/13/bits/stl_heap.h:
/usr/include/c++/13/utility:
/usr/include/c++/13/bits/invoke.h:
/usr/include/c++/13/streambuf:
/usr/include/c++/13/bits/memory_resource.h:
/usr/include/c++/13/bits/shared_ptr_base.h:
/usr/include/wchar.h:
/usr/include/c++/13/ext/aligned_buffer.h:
/usr/include/locale.h:
/usr/include/c++/13/bits/utility.h:
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h:
/usr/include/c++/13/ext/alloc_traits.h:
/usr/include/c++/13/new:
/usr/include/c++/13/ext/concurrence.h:
/usr/include/c++/13/pstl/glue_algorithm_defs.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h:
/usr/include/c++/13/bits/stl_iterator.h:
/usr/include/c++/13/ext/numeric_traits.h:
/usr/include/c++/13/ext/string_conversions.h:
/usr/include/c++/13/ext/type_traits.h:
/usr/include/c++/13/ios:
/usr/include/c++/13/iostream:
/usr/include/c++/13/istream:
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h:
/usr/include/c++/13/limits:
/usr/include/c++/13/memory:
/usr/include/x86_64-linux-gnu/bits/floatn.h:
/usr/include/c++/13/exception:
/usr/include/c++/13/pstl/glue_memory_defs.h:
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h:
/usr/include/c++/13/pstl/pstl_config.h:
/usr/include/c++/13/bits/shared_ptr_atomic.h:
/usr/include/c++/13/set:
/usr/include/c++/13/stdexcept:
/usr/include/c++/13/bits/stl_construct.h:
/usr/include/pnglibconf.h:
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h:
/usr/include/c++/13/string:
/usr/include/features-time64.h:
/usr/include/c++/13/tr1/ell_integral.tcc:
/usr/include/c++/13/tr1/exp_integral.tcc:
/usr/include/c++/13/tr1/bessel_function.tcc:
/usr/include/c++/13/initializer_list:
/usr/include/limits.h:
/usr/include/c++/13/bits/range_access.h:
/usr/include/c++/13/tr1/hypergeometric.tcc:
/usr/include/c++/13/type_traits:
/usr/include/c++/13/tr1/legendre_function.tcc:
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:
/usr/include/c++/13/tr1/modified_bessel_func.tcc:
/usr/include/c++/13/tr1/poly_hermite.tcc:
/usr/include/c++/13/tr1/special_function_util.h:
/usr/include/stdc-predef.h:
/usr/include/c++/13/bits/nested_exception.h:
/usr/include/c++/13/tuple:
/usr/include/c++/13/bits/allocator.h:
/usr/include/c++/13/unordered_map:
/usr/include/c++/13/vector:
/usr/include/ctype.h:
/usr/include/features.h:
/usr/include/iconv.h:
/usr/include/c++/13/debug/debug.h:
/usr/include/linux/errno.h:
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h:
/usr/include/c++/13/ratio:
/usr/include/linux/limits.h:
/usr/include/endian.h:
/usr/include/stdint.h:
/usr/include/c++/13/bits/enable_special_members.h:
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
/usr/include/c++/13/iomanip:
/usr/include/strings.h:
/usr/include/png.h:
/usr/include/pngconf.h:
/usr/include/pthread.h:
/usr/include/wctype.h:
/usr/include/sched.h:
/usr/include/setjmp.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h:
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:
/usr/include/sqlite3.h:
/usr/include/c++/13/bits/stl_iterator_base_types.h:
/usr/include/stdio.h:
/usr/include/stdlib.h:
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp:
/usr/include/string.h:
/usr/include/x86_64-linux-gnu/bits/stdio.h:
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:
/usr/include/x86_64-linux-gnu/bits/cpu-set.h:
/usr/include/x86_64-linux-gnu/bits/dlfcn.h:
/usr/include/x86_64-linux-gnu/bits/endian.h:
/usr/include/c++/13/bits/requires_hosted.h:
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:
/usr/include/x86_64-linux-gnu/bits/fp-fast.h:
/usr/include/c++/13/map:
/usr/include/c++/13/string_view:
/usr/include/x86_64-linux-gnu/bits/iscanonical.h:
/usr/include/x86_64-linux-gnu/bits/local_lim.h:
/usr/include/x86_64-linux-gnu/bits/locale.h:
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
/usr/include/x86_64-linux-gnu/bits/sched.h:
/usr/include/x86_64-linux-gnu/bits/time.h:
/usr/include/x86_64-linux-gnu/bits/select.h:
/usr/include/c++/13/cmath:
/usr/include/x86_64-linux-gnu/bits/select2.h:
/usr/include/time.h:
/usr/include/x86_64-linux-gnu/bits/setjmp.h:
/usr/include/x86_64-linux-gnu/bits/setjmp2.h:
/usr/include/c++/13/bits/ptr_traits.h:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:
/usr/include/c++/13/bits/quoted_string.h:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:
/usr/include/x86_64-linux-gnu/bits/timex.h:
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h:
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h:
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:
@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for garmin2osm.
@@ -0,0 +1,2 @@
# Empty dependencies file for garmin2osm.
# This may be replaced when dependencies are built.
@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# compile CXX with /usr/bin/c++
CXX_DEFINES =
CXX_INCLUDES =
CXX_FLAGS = -O3 -DNDEBUG -std=gnu++17
@@ -0,0 +1 @@
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/garmin2osm.dir/src/vector.cpp.o -o garmin2osm /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libz.so
@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
@@ -0,0 +1,260 @@
CMakeFiles/garmin2osm.dir/src/vector.cpp.o: \
/home/opthq/vector-v4/garmin2osmand-v3/src/vector.cpp \
/usr/include/stdc-predef.h \
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp \
/usr/include/c++/13/algorithm /usr/include/c++/13/bits/stl_algobase.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h \
/usr/include/features.h /usr/include/features-time64.h \
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
/usr/include/x86_64-linux-gnu/bits/timesize.h \
/usr/include/x86_64-linux-gnu/sys/cdefs.h \
/usr/include/x86_64-linux-gnu/bits/long-double.h \
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h \
/usr/include/c++/13/pstl/pstl_config.h \
/usr/include/c++/13/bits/functexcept.h \
/usr/include/c++/13/bits/exception_defines.h \
/usr/include/c++/13/bits/cpp_type_traits.h \
/usr/include/c++/13/ext/type_traits.h \
/usr/include/c++/13/ext/numeric_traits.h \
/usr/include/c++/13/bits/stl_pair.h /usr/include/c++/13/type_traits \
/usr/include/c++/13/bits/move.h /usr/include/c++/13/bits/utility.h \
/usr/include/c++/13/bits/stl_iterator_base_types.h \
/usr/include/c++/13/bits/stl_iterator_base_funcs.h \
/usr/include/c++/13/bits/concept_check.h \
/usr/include/c++/13/debug/assertions.h \
/usr/include/c++/13/bits/stl_iterator.h \
/usr/include/c++/13/bits/ptr_traits.h /usr/include/c++/13/debug/debug.h \
/usr/include/c++/13/bits/predefined_ops.h /usr/include/c++/13/bit \
/usr/include/c++/13/bits/stl_algo.h \
/usr/include/c++/13/bits/algorithmfwd.h \
/usr/include/c++/13/initializer_list /usr/include/c++/13/bits/stl_heap.h \
/usr/include/c++/13/bits/uniform_int_dist.h \
/usr/include/c++/13/bits/stl_tempbuf.h /usr/include/c++/13/new \
/usr/include/c++/13/bits/exception.h \
/usr/include/c++/13/bits/stl_construct.h /usr/include/c++/13/cstdlib \
/usr/include/stdlib.h \
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h \
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
/usr/include/x86_64-linux-gnu/bits/waitstatus.h \
/usr/include/x86_64-linux-gnu/bits/floatn.h \
/usr/include/x86_64-linux-gnu/bits/floatn-common.h \
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
/usr/include/x86_64-linux-gnu/sys/types.h \
/usr/include/x86_64-linux-gnu/bits/types.h \
/usr/include/x86_64-linux-gnu/bits/typesizes.h \
/usr/include/x86_64-linux-gnu/bits/time64.h \
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
/usr/include/x86_64-linux-gnu/bits/types/time_t.h \
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h /usr/include/endian.h \
/usr/include/x86_64-linux-gnu/bits/endian.h \
/usr/include/x86_64-linux-gnu/bits/endianness.h \
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
/usr/include/x86_64-linux-gnu/sys/select.h \
/usr/include/x86_64-linux-gnu/bits/select.h \
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
/usr/include/x86_64-linux-gnu/bits/select2.h \
/usr/include/x86_64-linux-gnu/bits/select-decl.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h \
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h /usr/include/alloca.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
/usr/include/x86_64-linux-gnu/bits/stdlib.h \
/usr/include/c++/13/bits/std_abs.h \
/usr/include/c++/13/pstl/glue_algorithm_defs.h \
/usr/include/c++/13/pstl/execution_defs.h /usr/include/c++/13/array \
/usr/include/c++/13/compare /usr/include/c++/13/bits/range_access.h \
/usr/include/c++/13/cmath /usr/include/c++/13/bits/requires_hosted.h \
/usr/include/math.h /usr/include/x86_64-linux-gnu/bits/math-vector.h \
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h \
/usr/include/x86_64-linux-gnu/bits/fp-logb.h \
/usr/include/x86_64-linux-gnu/bits/fp-fast.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h \
/usr/include/x86_64-linux-gnu/bits/iscanonical.h \
/usr/include/c++/13/bits/specfun.h /usr/include/c++/13/limits \
/usr/include/c++/13/tr1/gamma.tcc \
/usr/include/c++/13/tr1/special_function_util.h \
/usr/include/c++/13/tr1/bessel_function.tcc \
/usr/include/c++/13/tr1/beta_function.tcc \
/usr/include/c++/13/tr1/ell_integral.tcc \
/usr/include/c++/13/tr1/exp_integral.tcc \
/usr/include/c++/13/tr1/hypergeometric.tcc \
/usr/include/c++/13/tr1/legendre_function.tcc \
/usr/include/c++/13/tr1/modified_bessel_func.tcc \
/usr/include/c++/13/tr1/poly_hermite.tcc \
/usr/include/c++/13/tr1/poly_laguerre.tcc \
/usr/include/c++/13/tr1/riemann_zeta.tcc /usr/include/c++/13/cstdint \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h /usr/include/stdint.h \
/usr/include/x86_64-linux-gnu/bits/wchar.h \
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
/usr/include/x86_64-linux-gnu/bits/stdint-least.h \
/usr/include/c++/13/cstdio /usr/include/stdio.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h \
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h \
/usr/include/x86_64-linux-gnu/bits/stdio.h \
/usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/c++/13/cstring \
/usr/include/string.h /usr/include/strings.h \
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
/usr/include/x86_64-linux-gnu/bits/string_fortified.h \
/usr/include/c++/13/filesystem /usr/include/c++/13/bits/fs_fwd.h \
/usr/include/c++/13/system_error \
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h \
/usr/include/c++/13/cerrno /usr/include/errno.h \
/usr/include/x86_64-linux-gnu/bits/errno.h /usr/include/linux/errno.h \
/usr/include/x86_64-linux-gnu/asm/errno.h \
/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
/usr/include/x86_64-linux-gnu/bits/types/error_t.h \
/usr/include/c++/13/iosfwd /usr/include/c++/13/bits/stringfwd.h \
/usr/include/c++/13/bits/memoryfwd.h /usr/include/c++/13/bits/postypes.h \
/usr/include/c++/13/cwchar /usr/include/wchar.h \
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h \
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h \
/usr/include/x86_64-linux-gnu/bits/wchar2.h \
/usr/include/c++/13/stdexcept /usr/include/c++/13/exception \
/usr/include/c++/13/bits/exception_ptr.h \
/usr/include/c++/13/bits/cxxabi_init_exception.h \
/usr/include/c++/13/typeinfo /usr/include/c++/13/bits/hash_bytes.h \
/usr/include/c++/13/bits/nested_exception.h /usr/include/c++/13/string \
/usr/include/c++/13/bits/char_traits.h \
/usr/include/c++/13/bits/allocator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h \
/usr/include/c++/13/bits/new_allocator.h \
/usr/include/c++/13/bits/localefwd.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h \
/usr/include/c++/13/clocale /usr/include/locale.h \
/usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/13/cctype \
/usr/include/ctype.h /usr/include/c++/13/bits/ostream_insert.h \
/usr/include/c++/13/bits/cxxabi_forced.h \
/usr/include/c++/13/bits/stl_function.h \
/usr/include/c++/13/backward/binders.h \
/usr/include/c++/13/bits/refwrap.h /usr/include/c++/13/bits/invoke.h \
/usr/include/c++/13/bits/basic_string.h \
/usr/include/c++/13/ext/alloc_traits.h \
/usr/include/c++/13/bits/alloc_traits.h /usr/include/c++/13/string_view \
/usr/include/c++/13/bits/functional_hash.h \
/usr/include/c++/13/bits/string_view.tcc \
/usr/include/c++/13/ext/string_conversions.h \
/usr/include/c++/13/bits/charconv.h \
/usr/include/c++/13/bits/basic_string.tcc \
/usr/include/c++/13/bits/memory_resource.h /usr/include/c++/13/cstddef \
/usr/include/c++/13/bits/uses_allocator.h \
/usr/include/c++/13/bits/uses_allocator_args.h /usr/include/c++/13/tuple \
/usr/include/c++/13/bits/chrono.h /usr/include/c++/13/ratio \
/usr/include/c++/13/ctime /usr/include/time.h \
/usr/include/x86_64-linux-gnu/bits/time.h \
/usr/include/x86_64-linux-gnu/bits/timex.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
/usr/include/c++/13/bits/parse_numbers.h \
/usr/include/c++/13/bits/fs_path.h /usr/include/c++/13/locale \
/usr/include/c++/13/bits/locale_classes.h \
/usr/include/c++/13/ext/atomicity.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h \
/usr/include/pthread.h /usr/include/sched.h \
/usr/include/x86_64-linux-gnu/bits/sched.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h \
/usr/include/x86_64-linux-gnu/bits/cpu-set.h \
/usr/include/x86_64-linux-gnu/bits/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h \
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h \
/usr/include/x86_64-linux-gnu/sys/single_threaded.h \
/usr/include/c++/13/bits/locale_classes.tcc \
/usr/include/c++/13/bits/locale_facets.h /usr/include/c++/13/cwctype \
/usr/include/wctype.h /usr/include/x86_64-linux-gnu/bits/wctype-wchar.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h \
/usr/include/c++/13/bits/ios_base.h /usr/include/c++/13/streambuf \
/usr/include/c++/13/bits/streambuf.tcc \
/usr/include/c++/13/bits/streambuf_iterator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h \
/usr/include/c++/13/bits/locale_facets.tcc \
/usr/include/c++/13/bits/locale_facets_nonio.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h \
/usr/include/libintl.h /usr/include/c++/13/bits/codecvt.h \
/usr/include/c++/13/bits/locale_facets_nonio.tcc \
/usr/include/c++/13/bits/locale_conv.h /usr/include/c++/13/iomanip \
/usr/include/c++/13/bits/quoted_string.h /usr/include/c++/13/sstream \
/usr/include/c++/13/istream /usr/include/c++/13/ios \
/usr/include/c++/13/bits/basic_ios.h \
/usr/include/c++/13/bits/basic_ios.tcc /usr/include/c++/13/ostream \
/usr/include/c++/13/bits/ostream.tcc \
/usr/include/c++/13/bits/istream.tcc \
/usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/codecvt \
/usr/include/c++/13/ext/concurrence.h \
/usr/include/c++/13/bits/shared_ptr.h \
/usr/include/c++/13/bits/shared_ptr_base.h \
/usr/include/c++/13/bits/allocated_ptr.h \
/usr/include/c++/13/bits/unique_ptr.h \
/usr/include/c++/13/ext/aligned_buffer.h \
/usr/include/c++/13/bits/fs_dir.h /usr/include/c++/13/bits/fs_ops.h \
/usr/include/c++/13/fstream \
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \
/usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/iostream \
/usr/include/c++/13/map /usr/include/c++/13/bits/stl_tree.h \
/usr/include/c++/13/bits/node_handle.h \
/usr/include/c++/13/bits/stl_map.h \
/usr/include/c++/13/bits/stl_multimap.h \
/usr/include/c++/13/bits/erase_if.h /usr/include/c++/13/memory \
/usr/include/c++/13/bits/stl_uninitialized.h \
/usr/include/c++/13/bits/stl_raw_storage_iter.h \
/usr/include/c++/13/bits/align.h \
/usr/include/c++/13/bits/shared_ptr_atomic.h \
/usr/include/c++/13/bits/atomic_base.h \
/usr/include/c++/13/bits/atomic_lockfree_defines.h \
/usr/include/c++/13/backward/auto_ptr.h \
/usr/include/c++/13/pstl/glue_memory_defs.h /usr/include/c++/13/set \
/usr/include/c++/13/bits/stl_set.h \
/usr/include/c++/13/bits/stl_multiset.h \
/usr/include/c++/13/unordered_map \
/usr/include/c++/13/bits/unordered_map.h \
/usr/include/c++/13/bits/hashtable.h \
/usr/include/c++/13/bits/hashtable_policy.h \
/usr/include/c++/13/bits/enable_special_members.h \
/usr/include/c++/13/utility /usr/include/c++/13/bits/stl_relops.h \
/usr/include/c++/13/vector /usr/include/c++/13/bits/stl_vector.h \
/usr/include/c++/13/bits/stl_bvector.h \
/usr/include/c++/13/bits/vector.tcc /usr/include/png.h \
/usr/include/pnglibconf.h /usr/include/pngconf.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h \
/usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
/usr/include/linux/limits.h \
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h \
/usr/include/x86_64-linux-gnu/bits/uio_lim.h /usr/include/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/setjmp2.h /usr/include/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h /usr/include/iconv.h \
/usr/include/sqlite3.h /usr/include/c++/13/chrono \
/usr/include/c++/13/unordered_set \
/usr/include/c++/13/bits/unordered_set.h
@@ -0,0 +1,23 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp" "CMakeFiles/garmin2osmand.dir/src/main.cpp.o" "gcc" "CMakeFiles/garmin2osmand.dir/src/main.cpp.o.d"
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_LINKED_INFO_FILES
)
# Targets to which this target links which contain Fortran sources.
set(CMAKE_Fortran_TARGET_FORWARD_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
@@ -0,0 +1,113 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/opthq/vector-v4/garmin2osmand-v3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/opthq/vector-v4/garmin2osmand-v3/build
# Include any dependencies generated for this target.
include CMakeFiles/garmin2osmand.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/garmin2osmand.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/garmin2osmand.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/garmin2osmand.dir/flags.make
CMakeFiles/garmin2osmand.dir/src/main.cpp.o: CMakeFiles/garmin2osmand.dir/flags.make
CMakeFiles/garmin2osmand.dir/src/main.cpp.o: /home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp
CMakeFiles/garmin2osmand.dir/src/main.cpp.o: CMakeFiles/garmin2osmand.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/garmin2osmand.dir/src/main.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/garmin2osmand.dir/src/main.cpp.o -MF CMakeFiles/garmin2osmand.dir/src/main.cpp.o.d -o CMakeFiles/garmin2osmand.dir/src/main.cpp.o -c /home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp
CMakeFiles/garmin2osmand.dir/src/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Preprocessing CXX source to CMakeFiles/garmin2osmand.dir/src/main.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp > CMakeFiles/garmin2osmand.dir/src/main.cpp.i
CMakeFiles/garmin2osmand.dir/src/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green "Compiling CXX source to assembly CMakeFiles/garmin2osmand.dir/src/main.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp -o CMakeFiles/garmin2osmand.dir/src/main.cpp.s
# Object files for target garmin2osmand
garmin2osmand_OBJECTS = \
"CMakeFiles/garmin2osmand.dir/src/main.cpp.o"
# External object files for target garmin2osmand
garmin2osmand_EXTERNAL_OBJECTS =
garmin2osmand: CMakeFiles/garmin2osmand.dir/src/main.cpp.o
garmin2osmand: CMakeFiles/garmin2osmand.dir/build.make
garmin2osmand: /usr/lib/x86_64-linux-gnu/libpng.so
garmin2osmand: /usr/lib/x86_64-linux-gnu/libsqlite3.so
garmin2osmand: /usr/lib/x86_64-linux-gnu/libz.so
garmin2osmand: CMakeFiles/garmin2osmand.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --green --bold --progress-dir=/home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable garmin2osmand"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/garmin2osmand.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/garmin2osmand.dir/build: garmin2osmand
.PHONY : CMakeFiles/garmin2osmand.dir/build
CMakeFiles/garmin2osmand.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/garmin2osmand.dir/cmake_clean.cmake
.PHONY : CMakeFiles/garmin2osmand.dir/clean
CMakeFiles/garmin2osmand.dir/depend:
cd /home/opthq/vector-v4/garmin2osmand-v3/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/opthq/vector-v4/garmin2osmand-v3 /home/opthq/vector-v4/garmin2osmand-v3 /home/opthq/vector-v4/garmin2osmand-v3/build /home/opthq/vector-v4/garmin2osmand-v3/build /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles/garmin2osmand.dir/DependInfo.cmake "--color=$(COLOR)"
.PHONY : CMakeFiles/garmin2osmand.dir/depend
@@ -0,0 +1,11 @@
file(REMOVE_RECURSE
"CMakeFiles/garmin2osmand.dir/src/main.cpp.o"
"CMakeFiles/garmin2osmand.dir/src/main.cpp.o.d"
"garmin2osmand"
"garmin2osmand.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/garmin2osmand.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
@@ -0,0 +1,325 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
CMakeFiles/garmin2osmand.dir/src/main.cpp.o
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp
/usr/include/alloca.h
/usr/include/asm-generic/errno-base.h
/usr/include/asm-generic/errno.h
/usr/include/c++/13/algorithm
/usr/include/c++/13/array
/usr/include/c++/13/backward/auto_ptr.h
/usr/include/c++/13/backward/binders.h
/usr/include/c++/13/bit
/usr/include/c++/13/bits/algorithmfwd.h
/usr/include/c++/13/bits/align.h
/usr/include/c++/13/bits/alloc_traits.h
/usr/include/c++/13/bits/allocated_ptr.h
/usr/include/c++/13/bits/allocator.h
/usr/include/c++/13/bits/atomic_base.h
/usr/include/c++/13/bits/atomic_lockfree_defines.h
/usr/include/c++/13/bits/basic_ios.h
/usr/include/c++/13/bits/basic_ios.tcc
/usr/include/c++/13/bits/basic_string.h
/usr/include/c++/13/bits/basic_string.tcc
/usr/include/c++/13/bits/char_traits.h
/usr/include/c++/13/bits/charconv.h
/usr/include/c++/13/bits/chrono.h
/usr/include/c++/13/bits/codecvt.h
/usr/include/c++/13/bits/concept_check.h
/usr/include/c++/13/bits/cpp_type_traits.h
/usr/include/c++/13/bits/cxxabi_forced.h
/usr/include/c++/13/bits/cxxabi_init_exception.h
/usr/include/c++/13/bits/enable_special_members.h
/usr/include/c++/13/bits/erase_if.h
/usr/include/c++/13/bits/exception.h
/usr/include/c++/13/bits/exception_defines.h
/usr/include/c++/13/bits/exception_ptr.h
/usr/include/c++/13/bits/fs_dir.h
/usr/include/c++/13/bits/fs_fwd.h
/usr/include/c++/13/bits/fs_ops.h
/usr/include/c++/13/bits/fs_path.h
/usr/include/c++/13/bits/fstream.tcc
/usr/include/c++/13/bits/functexcept.h
/usr/include/c++/13/bits/functional_hash.h
/usr/include/c++/13/bits/hash_bytes.h
/usr/include/c++/13/bits/hashtable.h
/usr/include/c++/13/bits/hashtable_policy.h
/usr/include/c++/13/bits/invoke.h
/usr/include/c++/13/bits/ios_base.h
/usr/include/c++/13/bits/istream.tcc
/usr/include/c++/13/bits/locale_classes.h
/usr/include/c++/13/bits/locale_classes.tcc
/usr/include/c++/13/bits/locale_conv.h
/usr/include/c++/13/bits/locale_facets.h
/usr/include/c++/13/bits/locale_facets.tcc
/usr/include/c++/13/bits/locale_facets_nonio.h
/usr/include/c++/13/bits/locale_facets_nonio.tcc
/usr/include/c++/13/bits/localefwd.h
/usr/include/c++/13/bits/memory_resource.h
/usr/include/c++/13/bits/memoryfwd.h
/usr/include/c++/13/bits/move.h
/usr/include/c++/13/bits/nested_exception.h
/usr/include/c++/13/bits/new_allocator.h
/usr/include/c++/13/bits/node_handle.h
/usr/include/c++/13/bits/ostream.tcc
/usr/include/c++/13/bits/ostream_insert.h
/usr/include/c++/13/bits/parse_numbers.h
/usr/include/c++/13/bits/postypes.h
/usr/include/c++/13/bits/predefined_ops.h
/usr/include/c++/13/bits/ptr_traits.h
/usr/include/c++/13/bits/quoted_string.h
/usr/include/c++/13/bits/range_access.h
/usr/include/c++/13/bits/refwrap.h
/usr/include/c++/13/bits/requires_hosted.h
/usr/include/c++/13/bits/shared_ptr.h
/usr/include/c++/13/bits/shared_ptr_atomic.h
/usr/include/c++/13/bits/shared_ptr_base.h
/usr/include/c++/13/bits/specfun.h
/usr/include/c++/13/bits/sstream.tcc
/usr/include/c++/13/bits/std_abs.h
/usr/include/c++/13/bits/stl_algo.h
/usr/include/c++/13/bits/stl_algobase.h
/usr/include/c++/13/bits/stl_bvector.h
/usr/include/c++/13/bits/stl_construct.h
/usr/include/c++/13/bits/stl_function.h
/usr/include/c++/13/bits/stl_heap.h
/usr/include/c++/13/bits/stl_iterator.h
/usr/include/c++/13/bits/stl_iterator_base_funcs.h
/usr/include/c++/13/bits/stl_iterator_base_types.h
/usr/include/c++/13/bits/stl_map.h
/usr/include/c++/13/bits/stl_multimap.h
/usr/include/c++/13/bits/stl_multiset.h
/usr/include/c++/13/bits/stl_pair.h
/usr/include/c++/13/bits/stl_raw_storage_iter.h
/usr/include/c++/13/bits/stl_relops.h
/usr/include/c++/13/bits/stl_set.h
/usr/include/c++/13/bits/stl_tempbuf.h
/usr/include/c++/13/bits/stl_tree.h
/usr/include/c++/13/bits/stl_uninitialized.h
/usr/include/c++/13/bits/stl_vector.h
/usr/include/c++/13/bits/streambuf.tcc
/usr/include/c++/13/bits/streambuf_iterator.h
/usr/include/c++/13/bits/string_view.tcc
/usr/include/c++/13/bits/stringfwd.h
/usr/include/c++/13/bits/uniform_int_dist.h
/usr/include/c++/13/bits/unique_ptr.h
/usr/include/c++/13/bits/unordered_map.h
/usr/include/c++/13/bits/uses_allocator.h
/usr/include/c++/13/bits/uses_allocator_args.h
/usr/include/c++/13/bits/utility.h
/usr/include/c++/13/bits/vector.tcc
/usr/include/c++/13/cctype
/usr/include/c++/13/cerrno
/usr/include/c++/13/clocale
/usr/include/c++/13/cmath
/usr/include/c++/13/codecvt
/usr/include/c++/13/compare
/usr/include/c++/13/cstddef
/usr/include/c++/13/cstdint
/usr/include/c++/13/cstdio
/usr/include/c++/13/cstdlib
/usr/include/c++/13/cstring
/usr/include/c++/13/ctime
/usr/include/c++/13/cwchar
/usr/include/c++/13/cwctype
/usr/include/c++/13/debug/assertions.h
/usr/include/c++/13/debug/debug.h
/usr/include/c++/13/exception
/usr/include/c++/13/ext/aligned_buffer.h
/usr/include/c++/13/ext/alloc_traits.h
/usr/include/c++/13/ext/atomicity.h
/usr/include/c++/13/ext/concurrence.h
/usr/include/c++/13/ext/numeric_traits.h
/usr/include/c++/13/ext/string_conversions.h
/usr/include/c++/13/ext/type_traits.h
/usr/include/c++/13/filesystem
/usr/include/c++/13/fstream
/usr/include/c++/13/initializer_list
/usr/include/c++/13/iomanip
/usr/include/c++/13/ios
/usr/include/c++/13/iosfwd
/usr/include/c++/13/iostream
/usr/include/c++/13/istream
/usr/include/c++/13/limits
/usr/include/c++/13/locale
/usr/include/c++/13/map
/usr/include/c++/13/memory
/usr/include/c++/13/new
/usr/include/c++/13/ostream
/usr/include/c++/13/pstl/execution_defs.h
/usr/include/c++/13/pstl/glue_algorithm_defs.h
/usr/include/c++/13/pstl/glue_memory_defs.h
/usr/include/c++/13/pstl/pstl_config.h
/usr/include/c++/13/ratio
/usr/include/c++/13/set
/usr/include/c++/13/sstream
/usr/include/c++/13/stdexcept
/usr/include/c++/13/streambuf
/usr/include/c++/13/string
/usr/include/c++/13/string_view
/usr/include/c++/13/system_error
/usr/include/c++/13/tr1/bessel_function.tcc
/usr/include/c++/13/tr1/beta_function.tcc
/usr/include/c++/13/tr1/ell_integral.tcc
/usr/include/c++/13/tr1/exp_integral.tcc
/usr/include/c++/13/tr1/gamma.tcc
/usr/include/c++/13/tr1/hypergeometric.tcc
/usr/include/c++/13/tr1/legendre_function.tcc
/usr/include/c++/13/tr1/modified_bessel_func.tcc
/usr/include/c++/13/tr1/poly_hermite.tcc
/usr/include/c++/13/tr1/poly_laguerre.tcc
/usr/include/c++/13/tr1/riemann_zeta.tcc
/usr/include/c++/13/tr1/special_function_util.h
/usr/include/c++/13/tuple
/usr/include/c++/13/type_traits
/usr/include/c++/13/typeinfo
/usr/include/c++/13/unordered_map
/usr/include/c++/13/utility
/usr/include/c++/13/vector
/usr/include/ctype.h
/usr/include/dlfcn.h
/usr/include/endian.h
/usr/include/errno.h
/usr/include/features-time64.h
/usr/include/features.h
/usr/include/iconv.h
/usr/include/libintl.h
/usr/include/limits.h
/usr/include/linux/errno.h
/usr/include/linux/limits.h
/usr/include/locale.h
/usr/include/math.h
/usr/include/png.h
/usr/include/pngconf.h
/usr/include/pnglibconf.h
/usr/include/pthread.h
/usr/include/sched.h
/usr/include/setjmp.h
/usr/include/sqlite3.h
/usr/include/stdc-predef.h
/usr/include/stdint.h
/usr/include/stdio.h
/usr/include/stdlib.h
/usr/include/string.h
/usr/include/strings.h
/usr/include/time.h
/usr/include/wchar.h
/usr/include/wctype.h
/usr/include/x86_64-linux-gnu/asm/errno.h
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h
/usr/include/x86_64-linux-gnu/bits/byteswap.h
/usr/include/x86_64-linux-gnu/bits/cpu-set.h
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h
/usr/include/x86_64-linux-gnu/bits/dlfcn.h
/usr/include/x86_64-linux-gnu/bits/endian.h
/usr/include/x86_64-linux-gnu/bits/endianness.h
/usr/include/x86_64-linux-gnu/bits/errno.h
/usr/include/x86_64-linux-gnu/bits/floatn-common.h
/usr/include/x86_64-linux-gnu/bits/floatn.h
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h
/usr/include/x86_64-linux-gnu/bits/fp-fast.h
/usr/include/x86_64-linux-gnu/bits/fp-logb.h
/usr/include/x86_64-linux-gnu/bits/iscanonical.h
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h
/usr/include/x86_64-linux-gnu/bits/local_lim.h
/usr/include/x86_64-linux-gnu/bits/locale.h
/usr/include/x86_64-linux-gnu/bits/long-double.h
/usr/include/x86_64-linux-gnu/bits/math-vector.h
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h
/usr/include/x86_64-linux-gnu/bits/mathcalls.h
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h
/usr/include/x86_64-linux-gnu/bits/sched.h
/usr/include/x86_64-linux-gnu/bits/select-decl.h
/usr/include/x86_64-linux-gnu/bits/select.h
/usr/include/x86_64-linux-gnu/bits/select2.h
/usr/include/x86_64-linux-gnu/bits/setjmp.h
/usr/include/x86_64-linux-gnu/bits/setjmp2.h
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h
/usr/include/x86_64-linux-gnu/bits/stdint-least.h
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h
/usr/include/x86_64-linux-gnu/bits/stdio.h
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h
/usr/include/x86_64-linux-gnu/bits/stdio2.h
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h
/usr/include/x86_64-linux-gnu/bits/stdlib.h
/usr/include/x86_64-linux-gnu/bits/string_fortified.h
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h
/usr/include/x86_64-linux-gnu/bits/time.h
/usr/include/x86_64-linux-gnu/bits/time64.h
/usr/include/x86_64-linux-gnu/bits/timesize.h
/usr/include/x86_64-linux-gnu/bits/timex.h
/usr/include/x86_64-linux-gnu/bits/types.h
/usr/include/x86_64-linux-gnu/bits/types/FILE.h
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h
/usr/include/x86_64-linux-gnu/bits/types/error_t.h
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h
/usr/include/x86_64-linux-gnu/bits/types/time_t.h
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h
/usr/include/x86_64-linux-gnu/bits/typesizes.h
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h
/usr/include/x86_64-linux-gnu/bits/uio_lim.h
/usr/include/x86_64-linux-gnu/bits/waitflags.h
/usr/include/x86_64-linux-gnu/bits/waitstatus.h
/usr/include/x86_64-linux-gnu/bits/wchar.h
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h
/usr/include/x86_64-linux-gnu/bits/wchar2.h
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h
/usr/include/x86_64-linux-gnu/bits/wordsize.h
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h
/usr/include/x86_64-linux-gnu/gnu/stubs.h
/usr/include/x86_64-linux-gnu/sys/cdefs.h
/usr/include/x86_64-linux-gnu/sys/select.h
/usr/include/x86_64-linux-gnu/sys/single_threaded.h
/usr/include/x86_64-linux-gnu/sys/types.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h
@@ -0,0 +1,964 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
CMakeFiles/garmin2osmand.dir/src/main.cpp.o: /home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp \
/usr/include/alloca.h \
/usr/include/asm-generic/errno-base.h \
/usr/include/asm-generic/errno.h \
/usr/include/c++/13/algorithm \
/usr/include/c++/13/array \
/usr/include/c++/13/backward/auto_ptr.h \
/usr/include/c++/13/backward/binders.h \
/usr/include/c++/13/bit \
/usr/include/c++/13/bits/algorithmfwd.h \
/usr/include/c++/13/bits/align.h \
/usr/include/c++/13/bits/alloc_traits.h \
/usr/include/c++/13/bits/allocated_ptr.h \
/usr/include/c++/13/bits/allocator.h \
/usr/include/c++/13/bits/atomic_base.h \
/usr/include/c++/13/bits/atomic_lockfree_defines.h \
/usr/include/c++/13/bits/basic_ios.h \
/usr/include/c++/13/bits/basic_ios.tcc \
/usr/include/c++/13/bits/basic_string.h \
/usr/include/c++/13/bits/basic_string.tcc \
/usr/include/c++/13/bits/char_traits.h \
/usr/include/c++/13/bits/charconv.h \
/usr/include/c++/13/bits/chrono.h \
/usr/include/c++/13/bits/codecvt.h \
/usr/include/c++/13/bits/concept_check.h \
/usr/include/c++/13/bits/cpp_type_traits.h \
/usr/include/c++/13/bits/cxxabi_forced.h \
/usr/include/c++/13/bits/cxxabi_init_exception.h \
/usr/include/c++/13/bits/enable_special_members.h \
/usr/include/c++/13/bits/erase_if.h \
/usr/include/c++/13/bits/exception.h \
/usr/include/c++/13/bits/exception_defines.h \
/usr/include/c++/13/bits/exception_ptr.h \
/usr/include/c++/13/bits/fs_dir.h \
/usr/include/c++/13/bits/fs_fwd.h \
/usr/include/c++/13/bits/fs_ops.h \
/usr/include/c++/13/bits/fs_path.h \
/usr/include/c++/13/bits/fstream.tcc \
/usr/include/c++/13/bits/functexcept.h \
/usr/include/c++/13/bits/functional_hash.h \
/usr/include/c++/13/bits/hash_bytes.h \
/usr/include/c++/13/bits/hashtable.h \
/usr/include/c++/13/bits/hashtable_policy.h \
/usr/include/c++/13/bits/invoke.h \
/usr/include/c++/13/bits/ios_base.h \
/usr/include/c++/13/bits/istream.tcc \
/usr/include/c++/13/bits/locale_classes.h \
/usr/include/c++/13/bits/locale_classes.tcc \
/usr/include/c++/13/bits/locale_conv.h \
/usr/include/c++/13/bits/locale_facets.h \
/usr/include/c++/13/bits/locale_facets.tcc \
/usr/include/c++/13/bits/locale_facets_nonio.h \
/usr/include/c++/13/bits/locale_facets_nonio.tcc \
/usr/include/c++/13/bits/localefwd.h \
/usr/include/c++/13/bits/memory_resource.h \
/usr/include/c++/13/bits/memoryfwd.h \
/usr/include/c++/13/bits/move.h \
/usr/include/c++/13/bits/nested_exception.h \
/usr/include/c++/13/bits/new_allocator.h \
/usr/include/c++/13/bits/node_handle.h \
/usr/include/c++/13/bits/ostream.tcc \
/usr/include/c++/13/bits/ostream_insert.h \
/usr/include/c++/13/bits/parse_numbers.h \
/usr/include/c++/13/bits/postypes.h \
/usr/include/c++/13/bits/predefined_ops.h \
/usr/include/c++/13/bits/ptr_traits.h \
/usr/include/c++/13/bits/quoted_string.h \
/usr/include/c++/13/bits/range_access.h \
/usr/include/c++/13/bits/refwrap.h \
/usr/include/c++/13/bits/requires_hosted.h \
/usr/include/c++/13/bits/shared_ptr.h \
/usr/include/c++/13/bits/shared_ptr_atomic.h \
/usr/include/c++/13/bits/shared_ptr_base.h \
/usr/include/c++/13/bits/specfun.h \
/usr/include/c++/13/bits/sstream.tcc \
/usr/include/c++/13/bits/std_abs.h \
/usr/include/c++/13/bits/stl_algo.h \
/usr/include/c++/13/bits/stl_algobase.h \
/usr/include/c++/13/bits/stl_bvector.h \
/usr/include/c++/13/bits/stl_construct.h \
/usr/include/c++/13/bits/stl_function.h \
/usr/include/c++/13/bits/stl_heap.h \
/usr/include/c++/13/bits/stl_iterator.h \
/usr/include/c++/13/bits/stl_iterator_base_funcs.h \
/usr/include/c++/13/bits/stl_iterator_base_types.h \
/usr/include/c++/13/bits/stl_map.h \
/usr/include/c++/13/bits/stl_multimap.h \
/usr/include/c++/13/bits/stl_multiset.h \
/usr/include/c++/13/bits/stl_pair.h \
/usr/include/c++/13/bits/stl_raw_storage_iter.h \
/usr/include/c++/13/bits/stl_relops.h \
/usr/include/c++/13/bits/stl_set.h \
/usr/include/c++/13/bits/stl_tempbuf.h \
/usr/include/c++/13/bits/stl_tree.h \
/usr/include/c++/13/bits/stl_uninitialized.h \
/usr/include/c++/13/bits/stl_vector.h \
/usr/include/c++/13/bits/streambuf.tcc \
/usr/include/c++/13/bits/streambuf_iterator.h \
/usr/include/c++/13/bits/string_view.tcc \
/usr/include/c++/13/bits/stringfwd.h \
/usr/include/c++/13/bits/uniform_int_dist.h \
/usr/include/c++/13/bits/unique_ptr.h \
/usr/include/c++/13/bits/unordered_map.h \
/usr/include/c++/13/bits/uses_allocator.h \
/usr/include/c++/13/bits/uses_allocator_args.h \
/usr/include/c++/13/bits/utility.h \
/usr/include/c++/13/bits/vector.tcc \
/usr/include/c++/13/cctype \
/usr/include/c++/13/cerrno \
/usr/include/c++/13/clocale \
/usr/include/c++/13/cmath \
/usr/include/c++/13/codecvt \
/usr/include/c++/13/compare \
/usr/include/c++/13/cstddef \
/usr/include/c++/13/cstdint \
/usr/include/c++/13/cstdio \
/usr/include/c++/13/cstdlib \
/usr/include/c++/13/cstring \
/usr/include/c++/13/ctime \
/usr/include/c++/13/cwchar \
/usr/include/c++/13/cwctype \
/usr/include/c++/13/debug/assertions.h \
/usr/include/c++/13/debug/debug.h \
/usr/include/c++/13/exception \
/usr/include/c++/13/ext/aligned_buffer.h \
/usr/include/c++/13/ext/alloc_traits.h \
/usr/include/c++/13/ext/atomicity.h \
/usr/include/c++/13/ext/concurrence.h \
/usr/include/c++/13/ext/numeric_traits.h \
/usr/include/c++/13/ext/string_conversions.h \
/usr/include/c++/13/ext/type_traits.h \
/usr/include/c++/13/filesystem \
/usr/include/c++/13/fstream \
/usr/include/c++/13/initializer_list \
/usr/include/c++/13/iomanip \
/usr/include/c++/13/ios \
/usr/include/c++/13/iosfwd \
/usr/include/c++/13/iostream \
/usr/include/c++/13/istream \
/usr/include/c++/13/limits \
/usr/include/c++/13/locale \
/usr/include/c++/13/map \
/usr/include/c++/13/memory \
/usr/include/c++/13/new \
/usr/include/c++/13/ostream \
/usr/include/c++/13/pstl/execution_defs.h \
/usr/include/c++/13/pstl/glue_algorithm_defs.h \
/usr/include/c++/13/pstl/glue_memory_defs.h \
/usr/include/c++/13/pstl/pstl_config.h \
/usr/include/c++/13/ratio \
/usr/include/c++/13/set \
/usr/include/c++/13/sstream \
/usr/include/c++/13/stdexcept \
/usr/include/c++/13/streambuf \
/usr/include/c++/13/string \
/usr/include/c++/13/string_view \
/usr/include/c++/13/system_error \
/usr/include/c++/13/tr1/bessel_function.tcc \
/usr/include/c++/13/tr1/beta_function.tcc \
/usr/include/c++/13/tr1/ell_integral.tcc \
/usr/include/c++/13/tr1/exp_integral.tcc \
/usr/include/c++/13/tr1/gamma.tcc \
/usr/include/c++/13/tr1/hypergeometric.tcc \
/usr/include/c++/13/tr1/legendre_function.tcc \
/usr/include/c++/13/tr1/modified_bessel_func.tcc \
/usr/include/c++/13/tr1/poly_hermite.tcc \
/usr/include/c++/13/tr1/poly_laguerre.tcc \
/usr/include/c++/13/tr1/riemann_zeta.tcc \
/usr/include/c++/13/tr1/special_function_util.h \
/usr/include/c++/13/tuple \
/usr/include/c++/13/type_traits \
/usr/include/c++/13/typeinfo \
/usr/include/c++/13/unordered_map \
/usr/include/c++/13/utility \
/usr/include/c++/13/vector \
/usr/include/ctype.h \
/usr/include/dlfcn.h \
/usr/include/endian.h \
/usr/include/errno.h \
/usr/include/features-time64.h \
/usr/include/features.h \
/usr/include/iconv.h \
/usr/include/libintl.h \
/usr/include/limits.h \
/usr/include/linux/errno.h \
/usr/include/linux/limits.h \
/usr/include/locale.h \
/usr/include/math.h \
/usr/include/png.h \
/usr/include/pngconf.h \
/usr/include/pnglibconf.h \
/usr/include/pthread.h \
/usr/include/sched.h \
/usr/include/setjmp.h \
/usr/include/sqlite3.h \
/usr/include/stdc-predef.h \
/usr/include/stdint.h \
/usr/include/stdio.h \
/usr/include/stdlib.h \
/usr/include/string.h \
/usr/include/strings.h \
/usr/include/time.h \
/usr/include/wchar.h \
/usr/include/wctype.h \
/usr/include/x86_64-linux-gnu/asm/errno.h \
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
/usr/include/x86_64-linux-gnu/bits/cpu-set.h \
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h \
/usr/include/x86_64-linux-gnu/bits/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/endian.h \
/usr/include/x86_64-linux-gnu/bits/endianness.h \
/usr/include/x86_64-linux-gnu/bits/errno.h \
/usr/include/x86_64-linux-gnu/bits/floatn-common.h \
/usr/include/x86_64-linux-gnu/bits/floatn.h \
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h \
/usr/include/x86_64-linux-gnu/bits/fp-fast.h \
/usr/include/x86_64-linux-gnu/bits/fp-logb.h \
/usr/include/x86_64-linux-gnu/bits/iscanonical.h \
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
/usr/include/x86_64-linux-gnu/bits/locale.h \
/usr/include/x86_64-linux-gnu/bits/long-double.h \
/usr/include/x86_64-linux-gnu/bits/math-vector.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls.h \
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
/usr/include/x86_64-linux-gnu/bits/sched.h \
/usr/include/x86_64-linux-gnu/bits/select-decl.h \
/usr/include/x86_64-linux-gnu/bits/select.h \
/usr/include/x86_64-linux-gnu/bits/select2.h \
/usr/include/x86_64-linux-gnu/bits/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/setjmp2.h \
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h \
/usr/include/x86_64-linux-gnu/bits/stdint-least.h \
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
/usr/include/x86_64-linux-gnu/bits/stdio.h \
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h \
/usr/include/x86_64-linux-gnu/bits/stdio2.h \
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
/usr/include/x86_64-linux-gnu/bits/stdlib.h \
/usr/include/x86_64-linux-gnu/bits/string_fortified.h \
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h \
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h \
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
/usr/include/x86_64-linux-gnu/bits/time.h \
/usr/include/x86_64-linux-gnu/bits/time64.h \
/usr/include/x86_64-linux-gnu/bits/timesize.h \
/usr/include/x86_64-linux-gnu/bits/timex.h \
/usr/include/x86_64-linux-gnu/bits/types.h \
/usr/include/x86_64-linux-gnu/bits/types/FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h \
/usr/include/x86_64-linux-gnu/bits/types/error_t.h \
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
/usr/include/x86_64-linux-gnu/bits/types/time_t.h \
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h \
/usr/include/x86_64-linux-gnu/bits/typesizes.h \
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
/usr/include/x86_64-linux-gnu/bits/uio_lim.h \
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
/usr/include/x86_64-linux-gnu/bits/waitstatus.h \
/usr/include/x86_64-linux-gnu/bits/wchar.h \
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h \
/usr/include/x86_64-linux-gnu/bits/wchar2.h \
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h \
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h \
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
/usr/include/x86_64-linux-gnu/sys/cdefs.h \
/usr/include/x86_64-linux-gnu/sys/select.h \
/usr/include/x86_64-linux-gnu/sys/single_threaded.h \
/usr/include/x86_64-linux-gnu/sys/types.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h:
/usr/include/x86_64-linux-gnu/sys/types.h:
/usr/include/x86_64-linux-gnu/sys/single_threaded.h:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:
/usr/include/x86_64-linux-gnu/gnu/stubs.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h:
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h:
/usr/include/x86_64-linux-gnu/bits/wordsize.h:
/usr/include/x86_64-linux-gnu/bits/wctype-wchar.h:
/usr/include/x86_64-linux-gnu/bits/wchar.h:
/usr/include/x86_64-linux-gnu/bits/waitflags.h:
/usr/include/x86_64-linux-gnu/bits/uio_lim.h:
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h:
/usr/include/x86_64-linux-gnu/bits/typesizes.h:
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h:
/usr/include/x86_64-linux-gnu/bits/types/time_t.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h:
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h:
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h:
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h:
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h:
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h:
/usr/include/x86_64-linux-gnu/bits/types/FILE.h:
/usr/include/x86_64-linux-gnu/bits/types.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h:
/usr/include/c++/13/ext/atomicity.h:
/usr/include/c++/13/cctype:
/usr/include/c++/13/tr1/gamma.tcc:
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h:
/usr/include/c++/13/debug/assertions.h:
/usr/include/x86_64-linux-gnu/bits/select-decl.h:
/usr/include/c++/13/ctime:
/usr/include/c++/13/codecvt:
/usr/include/c++/13/cstdio:
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h:
/usr/include/c++/13/bits/charconv.h:
/usr/include/c++/13/bits/fs_path.h:
/usr/include/c++/13/fstream:
/usr/include/c++/13/clocale:
/usr/include/c++/13/cerrno:
/usr/include/x86_64-linux-gnu/bits/stdint-least.h:
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h:
/usr/include/c++/13/cstdint:
/usr/include/c++/13/cstdlib:
/usr/include/c++/13/bits/vector.tcc:
/usr/include/c++/13/bits/stl_function.h:
/usr/include/c++/13/tr1/beta_function.tcc:
/usr/include/c++/13/bits/uses_allocator_args.h:
/usr/include/c++/13/bits/atomic_base.h:
/usr/include/c++/13/bits/stl_pair.h:
/usr/include/x86_64-linux-gnu/bits/errno.h:
/usr/include/c++/13/bits/uses_allocator.h:
/usr/include/c++/13/bits/stl_multiset.h:
/usr/include/c++/13/bits/postypes.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h:
/usr/include/c++/13/cstring:
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h:
/usr/include/c++/13/bits/unique_ptr.h:
/usr/include/c++/13/bits/align.h:
/usr/include/c++/13/bits/unordered_map.h:
/usr/include/c++/13/bits/new_allocator.h:
/usr/include/c++/13/bits/stl_uninitialized.h:
/usr/include/c++/13/bits/stl_map.h:
/usr/include/c++/13/locale:
/usr/include/c++/13/filesystem:
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h:
/usr/include/asm-generic/errno.h:
/usr/include/c++/13/bits/functexcept.h:
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:
/usr/include/c++/13/bits/stl_bvector.h:
/usr/include/c++/13/bits/stl_algobase.h:
/usr/include/c++/13/bits/stl_algo.h:
/usr/include/c++/13/cstddef:
/usr/include/c++/13/bits/sstream.tcc:
/usr/include/c++/13/cwctype:
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h:
/usr/include/c++/13/bits/erase_if.h:
/usr/include/dlfcn.h:
/usr/include/c++/13/bits/stringfwd.h:
/usr/include/c++/13/bits/shared_ptr.h:
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h:
/usr/include/c++/13/bits/locale_facets.tcc:
/usr/include/c++/13/compare:
/usr/include/c++/13/system_error:
/usr/include/c++/13/bits/string_view.tcc:
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h:
/usr/include/c++/13/bits/std_abs.h:
/usr/include/c++/13/bits/parse_numbers.h:
/usr/include/c++/13/bits/stl_set.h:
/usr/include/c++/13/bits/ostream_insert.h:
/usr/include/c++/13/bits/ostream.tcc:
/usr/include/c++/13/bits/cxxabi_forced.h:
/usr/include/c++/13/ostream:
/usr/include/c++/13/tr1/riemann_zeta.tcc:
/usr/include/c++/13/bits/cpp_type_traits.h:
/usr/include/c++/13/bits/move.h:
/usr/include/c++/13/bits/fs_ops.h:
/usr/include/c++/13/bits/stl_relops.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:
/usr/include/c++/13/bits/exception_ptr.h:
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h:
/usr/include/c++/13/bits/stl_multimap.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h:
/usr/include/c++/13/bits/char_traits.h:
/usr/include/c++/13/bits/hashtable_policy.h:
/usr/include/c++/13/bits/streambuf.tcc:
/usr/include/c++/13/bits/specfun.h:
/usr/include/c++/13/bits/basic_string.h:
/usr/include/c++/13/tr1/poly_laguerre.tcc:
/usr/include/libintl.h:
/usr/include/c++/13/bits/chrono.h:
/usr/include/x86_64-linux-gnu/bits/endianness.h:
/usr/include/c++/13/bits/atomic_lockfree_defines.h:
/usr/include/x86_64-linux-gnu/asm/errno.h:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:
/usr/include/c++/13/bits/locale_facets.h:
/usr/include/c++/13/bits/stl_vector.h:
/usr/include/c++/13/bits/stl_tempbuf.h:
/usr/include/c++/13/bits/stl_tree.h:
/usr/include/c++/13/bits/codecvt.h:
/usr/include/c++/13/backward/binders.h:
/usr/include/c++/13/bits/istream.tcc:
/usr/include/c++/13/bits/locale_conv.h:
/usr/include/c++/13/bits/refwrap.h:
/usr/include/c++/13/bits/fstream.tcc:
/usr/include/c++/13/bits/stl_raw_storage_iter.h:
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h:
/usr/include/c++/13/algorithm:
/usr/include/c++/13/bits/allocated_ptr.h:
/usr/include/c++/13/bit:
/usr/include/c++/13/bits/basic_string.tcc:
/usr/include/alloca.h:
/usr/include/c++/13/bits/predefined_ops.h:
/usr/include/c++/13/iosfwd:
/usr/include/c++/13/bits/hash_bytes.h:
/usr/include/x86_64-linux-gnu/bits/math-vector.h:
/usr/include/c++/13/array:
/usr/include/c++/13/bits/stl_iterator_base_funcs.h:
/usr/include/asm-generic/errno-base.h:
/usr/include/x86_64-linux-gnu/sys/select.h:
/usr/include/c++/13/cwchar:
/usr/include/c++/13/bits/localefwd.h:
/usr/include/c++/13/bits/streambuf_iterator.h:
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h:
/usr/include/x86_64-linux-gnu/bits/waitstatus.h:
/usr/include/c++/13/bits/exception_defines.h:
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h:
/usr/include/math.h:
/usr/include/c++/13/backward/auto_ptr.h:
/usr/include/c++/13/ext/aligned_buffer.h:
/usr/include/locale.h:
/usr/include/c++/13/bits/utility.h:
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h:
/usr/include/c++/13/bits/concept_check.h:
/usr/include/c++/13/bits/alloc_traits.h:
/usr/include/c++/13/bits/basic_ios.h:
/usr/include/x86_64-linux-gnu/bits/time64.h:
/usr/include/x86_64-linux-gnu/bits/long-double.h:
/usr/include/c++/13/bits/algorithmfwd.h:
/usr/include/x86_64-linux-gnu/bits/wchar2.h:
/usr/include/x86_64-linux-gnu/bits/fp-logb.h:
/usr/include/c++/13/ext/alloc_traits.h:
/usr/include/c++/13/new:
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h:
/usr/include/c++/13/bits/node_handle.h:
/usr/include/c++/13/bits/cxxabi_init_exception.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h:
/usr/include/c++/13/typeinfo:
/usr/include/c++/13/bits/exception.h:
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h:
/usr/include/c++/13/bits/basic_ios.tcc:
/usr/include/c++/13/pstl/execution_defs.h:
/usr/include/x86_64-linux-gnu/bits/types/error_t.h:
/usr/include/c++/13/bits/hashtable.h:
/usr/include/c++/13/bits/fs_fwd.h:
/usr/include/c++/13/bits/memoryfwd.h:
/usr/include/c++/13/bits/functional_hash.h:
/usr/include/errno.h:
/usr/include/c++/13/bits/ios_base.h:
/usr/include/c++/13/bits/uniform_int_dist.h:
/usr/include/c++/13/bits/locale_classes.tcc:
/usr/include/c++/13/bits/fs_dir.h:
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h:
/usr/include/c++/13/sstream:
/usr/include/c++/13/bits/locale_facets_nonio.h:
/usr/include/c++/13/bits/locale_facets_nonio.tcc:
/usr/include/c++/13/bits/stl_heap.h:
/usr/include/c++/13/utility:
/usr/include/c++/13/bits/invoke.h:
/usr/include/c++/13/streambuf:
/usr/include/c++/13/bits/memory_resource.h:
/usr/include/c++/13/bits/shared_ptr_base.h:
/usr/include/wchar.h:
/usr/include/c++/13/ext/concurrence.h:
/usr/include/c++/13/pstl/glue_algorithm_defs.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h:
/usr/include/c++/13/bits/stl_iterator.h:
/usr/include/c++/13/ext/numeric_traits.h:
/usr/include/c++/13/ext/string_conversions.h:
/usr/include/c++/13/ext/type_traits.h:
/usr/include/c++/13/ios:
/usr/include/c++/13/iostream:
/usr/include/c++/13/istream:
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h:
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h:
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h:
/usr/include/c++/13/limits:
/usr/include/c++/13/memory:
/usr/include/x86_64-linux-gnu/bits/floatn.h:
/usr/include/c++/13/exception:
/usr/include/c++/13/pstl/glue_memory_defs.h:
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h:
/usr/include/c++/13/pstl/pstl_config.h:
/usr/include/c++/13/bits/shared_ptr_atomic.h:
/usr/include/c++/13/set:
/usr/include/c++/13/stdexcept:
/usr/include/c++/13/bits/stl_construct.h:
/usr/include/pnglibconf.h:
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h:
/usr/include/c++/13/string:
/usr/include/features-time64.h:
/usr/include/c++/13/tr1/ell_integral.tcc:
/usr/include/c++/13/tr1/exp_integral.tcc:
/usr/include/c++/13/tr1/bessel_function.tcc:
/usr/include/c++/13/initializer_list:
/usr/include/limits.h:
/usr/include/c++/13/bits/range_access.h:
/usr/include/c++/13/tr1/hypergeometric.tcc:
/usr/include/c++/13/type_traits:
/usr/include/c++/13/tr1/legendre_function.tcc:
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:
/usr/include/c++/13/tr1/modified_bessel_func.tcc:
/usr/include/c++/13/tr1/poly_hermite.tcc:
/usr/include/c++/13/tr1/special_function_util.h:
/usr/include/stdc-predef.h:
/usr/include/c++/13/bits/nested_exception.h:
/usr/include/c++/13/tuple:
/usr/include/c++/13/bits/allocator.h:
/usr/include/c++/13/unordered_map:
/usr/include/c++/13/vector:
/usr/include/ctype.h:
/usr/include/features.h:
/usr/include/iconv.h:
/usr/include/c++/13/debug/debug.h:
/usr/include/linux/errno.h:
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h:
/usr/include/c++/13/ratio:
/usr/include/linux/limits.h:
/usr/include/endian.h:
/usr/include/stdint.h:
/usr/include/c++/13/bits/enable_special_members.h:
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h:
/usr/include/c++/13/iomanip:
/usr/include/strings.h:
/usr/include/png.h:
/usr/include/pngconf.h:
/usr/include/pthread.h:
/usr/include/wctype.h:
/usr/include/sched.h:
/usr/include/setjmp.h:
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h:
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h:
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:
/usr/include/sqlite3.h:
/usr/include/c++/13/bits/stl_iterator_base_types.h:
/usr/include/stdio.h:
/usr/include/stdlib.h:
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp:
/usr/include/string.h:
/usr/include/x86_64-linux-gnu/bits/stdio.h:
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h:
/usr/include/x86_64-linux-gnu/bits/byteswap.h:
/usr/include/x86_64-linux-gnu/bits/cpu-set.h:
/usr/include/x86_64-linux-gnu/bits/dlfcn.h:
/usr/include/x86_64-linux-gnu/bits/endian.h:
/usr/include/c++/13/bits/requires_hosted.h:
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:
/usr/include/x86_64-linux-gnu/bits/fp-fast.h:
/usr/include/c++/13/map:
/usr/include/c++/13/string_view:
/usr/include/x86_64-linux-gnu/bits/iscanonical.h:
/usr/include/x86_64-linux-gnu/bits/local_lim.h:
/usr/include/x86_64-linux-gnu/bits/locale.h:
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h:
/usr/include/x86_64-linux-gnu/bits/sched.h:
/usr/include/c++/13/cmath:
/usr/include/x86_64-linux-gnu/bits/select2.h:
/usr/include/time.h:
/usr/include/x86_64-linux-gnu/bits/setjmp.h:
/usr/include/x86_64-linux-gnu/bits/setjmp2.h:
/usr/include/c++/13/bits/ptr_traits.h:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:
/usr/include/c++/13/bits/quoted_string.h:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:
/usr/include/x86_64-linux-gnu/bits/timex.h:
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h:
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h:
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h:
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:
/usr/include/x86_64-linux-gnu/bits/select.h:
/usr/include/x86_64-linux-gnu/bits/time.h:
/usr/include/c++/13/bits/locale_classes.h:
/usr/include/x86_64-linux-gnu/bits/timesize.h:
@@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for garmin2osmand.
@@ -0,0 +1,2 @@
# Empty dependencies file for garmin2osmand.
# This may be replaced when dependencies are built.
@@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# compile CXX with /usr/bin/c++
CXX_DEFINES =
CXX_INCLUDES =
CXX_FLAGS = -O3 -DNDEBUG -std=gnu++17 -Wall -Wextra -Wpedantic -O2
@@ -0,0 +1 @@
/usr/bin/c++ -O3 -DNDEBUG CMakeFiles/garmin2osmand.dir/src/main.cpp.o -o garmin2osmand /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libz.so
@@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 3
CMAKE_PROGRESS_2 = 4
@@ -0,0 +1,257 @@
CMakeFiles/garmin2osmand.dir/src/main.cpp.o: \
/home/opthq/vector-v4/garmin2osmand-v3/src/main.cpp \
/usr/include/stdc-predef.h /usr/include/c++/13/algorithm \
/usr/include/c++/13/bits/stl_algobase.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++config.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/os_defines.h \
/usr/include/features.h /usr/include/features-time64.h \
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
/usr/include/x86_64-linux-gnu/bits/timesize.h \
/usr/include/x86_64-linux-gnu/sys/cdefs.h \
/usr/include/x86_64-linux-gnu/bits/long-double.h \
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/cpu_defines.h \
/usr/include/c++/13/pstl/pstl_config.h \
/usr/include/c++/13/bits/functexcept.h \
/usr/include/c++/13/bits/exception_defines.h \
/usr/include/c++/13/bits/cpp_type_traits.h \
/usr/include/c++/13/ext/type_traits.h \
/usr/include/c++/13/ext/numeric_traits.h \
/usr/include/c++/13/bits/stl_pair.h /usr/include/c++/13/type_traits \
/usr/include/c++/13/bits/move.h /usr/include/c++/13/bits/utility.h \
/usr/include/c++/13/bits/stl_iterator_base_types.h \
/usr/include/c++/13/bits/stl_iterator_base_funcs.h \
/usr/include/c++/13/bits/concept_check.h \
/usr/include/c++/13/debug/assertions.h \
/usr/include/c++/13/bits/stl_iterator.h \
/usr/include/c++/13/bits/ptr_traits.h /usr/include/c++/13/debug/debug.h \
/usr/include/c++/13/bits/predefined_ops.h /usr/include/c++/13/bit \
/usr/include/c++/13/bits/stl_algo.h \
/usr/include/c++/13/bits/algorithmfwd.h \
/usr/include/c++/13/initializer_list /usr/include/c++/13/bits/stl_heap.h \
/usr/include/c++/13/bits/uniform_int_dist.h \
/usr/include/c++/13/bits/stl_tempbuf.h /usr/include/c++/13/new \
/usr/include/c++/13/bits/exception.h \
/usr/include/c++/13/bits/stl_construct.h /usr/include/c++/13/cstdlib \
/usr/include/stdlib.h \
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stddef.h \
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
/usr/include/x86_64-linux-gnu/bits/waitstatus.h \
/usr/include/x86_64-linux-gnu/bits/floatn.h \
/usr/include/x86_64-linux-gnu/bits/floatn-common.h \
/usr/include/x86_64-linux-gnu/bits/types/locale_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__locale_t.h \
/usr/include/x86_64-linux-gnu/sys/types.h \
/usr/include/x86_64-linux-gnu/bits/types.h \
/usr/include/x86_64-linux-gnu/bits/typesizes.h \
/usr/include/x86_64-linux-gnu/bits/time64.h \
/usr/include/x86_64-linux-gnu/bits/types/clock_t.h \
/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h \
/usr/include/x86_64-linux-gnu/bits/types/time_t.h \
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h \
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h /usr/include/endian.h \
/usr/include/x86_64-linux-gnu/bits/endian.h \
/usr/include/x86_64-linux-gnu/bits/endianness.h \
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h \
/usr/include/x86_64-linux-gnu/sys/select.h \
/usr/include/x86_64-linux-gnu/bits/select.h \
/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h \
/usr/include/x86_64-linux-gnu/bits/select2.h \
/usr/include/x86_64-linux-gnu/bits/select-decl.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h \
/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h \
/usr/include/x86_64-linux-gnu/bits/atomic_wide_counter.h \
/usr/include/x86_64-linux-gnu/bits/struct_mutex.h \
/usr/include/x86_64-linux-gnu/bits/struct_rwlock.h /usr/include/alloca.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h \
/usr/include/x86_64-linux-gnu/bits/stdlib.h \
/usr/include/c++/13/bits/std_abs.h \
/usr/include/c++/13/pstl/glue_algorithm_defs.h \
/usr/include/c++/13/pstl/execution_defs.h /usr/include/c++/13/array \
/usr/include/c++/13/compare /usr/include/c++/13/bits/range_access.h \
/usr/include/c++/13/cmath /usr/include/c++/13/bits/requires_hosted.h \
/usr/include/math.h /usr/include/x86_64-linux-gnu/bits/math-vector.h \
/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \
/usr/include/x86_64-linux-gnu/bits/flt-eval-method.h \
/usr/include/x86_64-linux-gnu/bits/fp-logb.h \
/usr/include/x86_64-linux-gnu/bits/fp-fast.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls.h \
/usr/include/x86_64-linux-gnu/bits/mathcalls-narrow.h \
/usr/include/x86_64-linux-gnu/bits/iscanonical.h \
/usr/include/c++/13/bits/specfun.h /usr/include/c++/13/limits \
/usr/include/c++/13/tr1/gamma.tcc \
/usr/include/c++/13/tr1/special_function_util.h \
/usr/include/c++/13/tr1/bessel_function.tcc \
/usr/include/c++/13/tr1/beta_function.tcc \
/usr/include/c++/13/tr1/ell_integral.tcc \
/usr/include/c++/13/tr1/exp_integral.tcc \
/usr/include/c++/13/tr1/hypergeometric.tcc \
/usr/include/c++/13/tr1/legendre_function.tcc \
/usr/include/c++/13/tr1/modified_bessel_func.tcc \
/usr/include/c++/13/tr1/poly_hermite.tcc \
/usr/include/c++/13/tr1/poly_laguerre.tcc \
/usr/include/c++/13/tr1/riemann_zeta.tcc /usr/include/c++/13/cstdint \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdint.h /usr/include/stdint.h \
/usr/include/x86_64-linux-gnu/bits/wchar.h \
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h \
/usr/include/x86_64-linux-gnu/bits/stdint-least.h \
/usr/include/c++/13/cstdio /usr/include/stdio.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/stdarg.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h \
/usr/include/x86_64-linux-gnu/bits/types/__FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h \
/usr/include/x86_64-linux-gnu/bits/types/cookie_io_functions_t.h \
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h \
/usr/include/x86_64-linux-gnu/bits/stdio.h \
/usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/c++/13/cstring \
/usr/include/string.h /usr/include/strings.h \
/usr/include/x86_64-linux-gnu/bits/strings_fortified.h \
/usr/include/x86_64-linux-gnu/bits/string_fortified.h \
/usr/include/c++/13/filesystem /usr/include/c++/13/bits/fs_fwd.h \
/usr/include/c++/13/system_error \
/usr/include/x86_64-linux-gnu/c++/13/bits/error_constants.h \
/usr/include/c++/13/cerrno /usr/include/errno.h \
/usr/include/x86_64-linux-gnu/bits/errno.h /usr/include/linux/errno.h \
/usr/include/x86_64-linux-gnu/asm/errno.h \
/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \
/usr/include/x86_64-linux-gnu/bits/types/error_t.h \
/usr/include/c++/13/iosfwd /usr/include/c++/13/bits/stringfwd.h \
/usr/include/c++/13/bits/memoryfwd.h /usr/include/c++/13/bits/postypes.h \
/usr/include/c++/13/cwchar /usr/include/wchar.h \
/usr/include/x86_64-linux-gnu/bits/types/wint_t.h \
/usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h \
/usr/include/x86_64-linux-gnu/bits/wchar2-decl.h \
/usr/include/x86_64-linux-gnu/bits/wchar2.h \
/usr/include/c++/13/stdexcept /usr/include/c++/13/exception \
/usr/include/c++/13/bits/exception_ptr.h \
/usr/include/c++/13/bits/cxxabi_init_exception.h \
/usr/include/c++/13/typeinfo /usr/include/c++/13/bits/hash_bytes.h \
/usr/include/c++/13/bits/nested_exception.h /usr/include/c++/13/string \
/usr/include/c++/13/bits/char_traits.h \
/usr/include/c++/13/bits/allocator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++allocator.h \
/usr/include/c++/13/bits/new_allocator.h \
/usr/include/c++/13/bits/localefwd.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++locale.h \
/usr/include/c++/13/clocale /usr/include/locale.h \
/usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/13/cctype \
/usr/include/ctype.h /usr/include/c++/13/bits/ostream_insert.h \
/usr/include/c++/13/bits/cxxabi_forced.h \
/usr/include/c++/13/bits/stl_function.h \
/usr/include/c++/13/backward/binders.h \
/usr/include/c++/13/bits/refwrap.h /usr/include/c++/13/bits/invoke.h \
/usr/include/c++/13/bits/basic_string.h \
/usr/include/c++/13/ext/alloc_traits.h \
/usr/include/c++/13/bits/alloc_traits.h /usr/include/c++/13/string_view \
/usr/include/c++/13/bits/functional_hash.h \
/usr/include/c++/13/bits/string_view.tcc \
/usr/include/c++/13/ext/string_conversions.h \
/usr/include/c++/13/bits/charconv.h \
/usr/include/c++/13/bits/basic_string.tcc \
/usr/include/c++/13/bits/memory_resource.h /usr/include/c++/13/cstddef \
/usr/include/c++/13/bits/uses_allocator.h \
/usr/include/c++/13/bits/uses_allocator_args.h /usr/include/c++/13/tuple \
/usr/include/c++/13/bits/chrono.h /usr/include/c++/13/ratio \
/usr/include/c++/13/ctime /usr/include/time.h \
/usr/include/x86_64-linux-gnu/bits/time.h \
/usr/include/x86_64-linux-gnu/bits/timex.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_tm.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_itimerspec.h \
/usr/include/c++/13/bits/parse_numbers.h \
/usr/include/c++/13/bits/fs_path.h /usr/include/c++/13/locale \
/usr/include/c++/13/bits/locale_classes.h \
/usr/include/c++/13/ext/atomicity.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h \
/usr/include/pthread.h /usr/include/sched.h \
/usr/include/x86_64-linux-gnu/bits/sched.h \
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h \
/usr/include/x86_64-linux-gnu/bits/cpu-set.h \
/usr/include/x86_64-linux-gnu/bits/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/types/struct___jmp_buf_tag.h \
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/atomic_word.h \
/usr/include/x86_64-linux-gnu/sys/single_threaded.h \
/usr/include/c++/13/bits/locale_classes.tcc \
/usr/include/c++/13/bits/locale_facets.h /usr/include/c++/13/cwctype \
/usr/include/wctype.h /usr/include/x86_64-linux-gnu/bits/wctype-wchar.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_base.h \
/usr/include/c++/13/bits/ios_base.h /usr/include/c++/13/streambuf \
/usr/include/c++/13/bits/streambuf.tcc \
/usr/include/c++/13/bits/streambuf_iterator.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/ctype_inline.h \
/usr/include/c++/13/bits/locale_facets.tcc \
/usr/include/c++/13/bits/locale_facets_nonio.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/time_members.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/messages_members.h \
/usr/include/libintl.h /usr/include/c++/13/bits/codecvt.h \
/usr/include/c++/13/bits/locale_facets_nonio.tcc \
/usr/include/c++/13/bits/locale_conv.h /usr/include/c++/13/iomanip \
/usr/include/c++/13/bits/quoted_string.h /usr/include/c++/13/sstream \
/usr/include/c++/13/istream /usr/include/c++/13/ios \
/usr/include/c++/13/bits/basic_ios.h \
/usr/include/c++/13/bits/basic_ios.tcc /usr/include/c++/13/ostream \
/usr/include/c++/13/bits/ostream.tcc \
/usr/include/c++/13/bits/istream.tcc \
/usr/include/c++/13/bits/sstream.tcc /usr/include/c++/13/codecvt \
/usr/include/c++/13/ext/concurrence.h \
/usr/include/c++/13/bits/shared_ptr.h \
/usr/include/c++/13/bits/shared_ptr_base.h \
/usr/include/c++/13/bits/allocated_ptr.h \
/usr/include/c++/13/bits/unique_ptr.h \
/usr/include/c++/13/ext/aligned_buffer.h \
/usr/include/c++/13/bits/fs_dir.h /usr/include/c++/13/bits/fs_ops.h \
/usr/include/c++/13/fstream \
/usr/include/x86_64-linux-gnu/c++/13/bits/basic_file.h \
/usr/include/x86_64-linux-gnu/c++/13/bits/c++io.h \
/usr/include/c++/13/bits/fstream.tcc /usr/include/c++/13/iostream \
/usr/include/c++/13/map /usr/include/c++/13/bits/stl_tree.h \
/usr/include/c++/13/bits/node_handle.h \
/usr/include/c++/13/bits/stl_map.h \
/usr/include/c++/13/bits/stl_multimap.h \
/usr/include/c++/13/bits/erase_if.h /usr/include/c++/13/memory \
/usr/include/c++/13/bits/stl_uninitialized.h \
/usr/include/c++/13/bits/stl_raw_storage_iter.h \
/usr/include/c++/13/bits/align.h \
/usr/include/c++/13/bits/shared_ptr_atomic.h \
/usr/include/c++/13/bits/atomic_base.h \
/usr/include/c++/13/bits/atomic_lockfree_defines.h \
/usr/include/c++/13/backward/auto_ptr.h \
/usr/include/c++/13/pstl/glue_memory_defs.h /usr/include/c++/13/set \
/usr/include/c++/13/bits/stl_set.h \
/usr/include/c++/13/bits/stl_multiset.h \
/usr/include/c++/13/unordered_map \
/usr/include/c++/13/bits/unordered_map.h \
/usr/include/c++/13/bits/hashtable.h \
/usr/include/c++/13/bits/hashtable_policy.h \
/usr/include/c++/13/bits/enable_special_members.h \
/usr/include/c++/13/utility /usr/include/c++/13/bits/stl_relops.h \
/usr/include/c++/13/vector /usr/include/c++/13/bits/stl_vector.h \
/usr/include/c++/13/bits/stl_bvector.h \
/usr/include/c++/13/bits/vector.tcc /usr/include/png.h \
/usr/include/pnglibconf.h /usr/include/pngconf.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h \
/usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h \
/usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
/usr/include/linux/limits.h \
/usr/include/x86_64-linux-gnu/bits/posix2_lim.h \
/usr/include/x86_64-linux-gnu/bits/xopen_lim.h \
/usr/include/x86_64-linux-gnu/bits/uio_lim.h /usr/include/setjmp.h \
/usr/include/x86_64-linux-gnu/bits/setjmp2.h /usr/include/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/dlfcn.h \
/usr/include/x86_64-linux-gnu/bits/dl_find_object.h /usr/include/iconv.h \
/usr/include/sqlite3.h
@@ -0,0 +1 @@
4
@@ -0,0 +1,12 @@
# CMake generated Testfile for
# Source directory: /home/opthq/vector-v4/garmin2osmand-v3
# Build directory: /home/opthq/vector-v4/garmin2osmand-v3/build
#
# This file includes the relevant testing commands required for
# testing this directory and lists subdirectories to be tested as well.
add_test(help "/home/opthq/vector-v4/garmin2osmand-v3/build/garmin2osmand" "--help")
set_tests_properties(help PROPERTIES _BACKTRACE_TRIPLES "/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;17;add_test;/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;0;")
add_test(classic_and_gmp_end_to_end "/usr/bin/python3" "/home/opthq/vector-v4/garmin2osmand-v3/tests/test_smoke.py" "/home/opthq/vector-v4/garmin2osmand-v3/build/garmin2osmand")
set_tests_properties(classic_and_gmp_end_to_end PROPERTIES _BACKTRACE_TRIPLES "/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;21;add_test;/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;0;")
add_test(native_vector_export "/usr/bin/python3" "/home/opthq/vector-v4/garmin2osmand-v3/tests/test_vector.py" "/home/opthq/vector-v4/garmin2osmand-v3/build/garmin2osm")
set_tests_properties(native_vector_export PROPERTIES _BACKTRACE_TRIPLES "/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;22;add_test;/home/opthq/vector-v4/garmin2osmand-v3/CMakeLists.txt;0;")
+233
View File
@@ -0,0 +1,233 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.28
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/opthq/vector-v4/garmin2osmand-v3
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/opthq/vector-v4/garmin2osmand-v3/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target test
test:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running tests..."
/usr/bin/ctest --force-new-ctest-process $(ARGS)
.PHONY : test
# Special rule for the target test
test/fast: test
.PHONY : test/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles /home/opthq/vector-v4/garmin2osmand-v3/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/opthq/vector-v4/garmin2osmand-v3/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named garmin2osmand
# Build rule for target.
garmin2osmand: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 garmin2osmand
.PHONY : garmin2osmand
# fast build rule for target.
garmin2osmand/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/build
.PHONY : garmin2osmand/fast
#=============================================================================
# Target rules for targets named garmin2osm
# Build rule for target.
garmin2osm: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 garmin2osm
.PHONY : garmin2osm
# fast build rule for target.
garmin2osm/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/build
.PHONY : garmin2osm/fast
src/main.o: src/main.cpp.o
.PHONY : src/main.o
# target to build an object file
src/main.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/src/main.cpp.o
.PHONY : src/main.cpp.o
src/main.i: src/main.cpp.i
.PHONY : src/main.i
# target to preprocess a source file
src/main.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/src/main.cpp.i
.PHONY : src/main.cpp.i
src/main.s: src/main.cpp.s
.PHONY : src/main.s
# target to generate assembly for a file
src/main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osmand.dir/build.make CMakeFiles/garmin2osmand.dir/src/main.cpp.s
.PHONY : src/main.cpp.s
src/vector.o: src/vector.cpp.o
.PHONY : src/vector.o
# target to build an object file
src/vector.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/src/vector.cpp.o
.PHONY : src/vector.cpp.o
src/vector.i: src/vector.cpp.i
.PHONY : src/vector.i
# target to preprocess a source file
src/vector.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/src/vector.cpp.i
.PHONY : src/vector.cpp.i
src/vector.s: src/vector.cpp.s
.PHONY : src/vector.s
# target to generate assembly for a file
src/vector.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/garmin2osm.dir/build.make CMakeFiles/garmin2osm.dir/src/vector.cpp.s
.PHONY : src/vector.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... test"
@echo "... garmin2osm"
@echo "... garmin2osmand"
@echo "... src/main.o"
@echo "... src/main.i"
@echo "... src/main.s"
@echo "... src/vector.o"
@echo "... src/vector.i"
@echo "... src/vector.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system
@@ -0,0 +1,54 @@
# Install script for directory: /home/opthq/vector-v4/garmin2osmand-v3
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "Release")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/opthq/vector-v4/garmin2osmand-v3/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
BIN
View File
Binary file not shown.
Binary file not shown.
+242
View File
@@ -0,0 +1,242 @@
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/opthq/vector-v4/garmin2osmand-v3/build
[ 50%] Built target garmin2osm
[100%] Built target garmin2osmand
Maps=165 TYP line=82 patterns=65 icons=96
map 00234008 finest=24 extended-route-bpc=19 16:0KiB 19:2KiB 22:0KiB 23:0KiB 24:0KiB
map 00234009 finest=24 extended-route-bpc=24 16:1KiB 19:4KiB 21:1KiB 22:28KiB 23:33KiB 24:41KiB
map 00234010 finest=24 extended-route-bpc=24 16:1KiB 19:6KiB 21:1KiB 22:58KiB 23:65KiB 24:75KiB
map 00234011 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:37KiB 23:41KiB 24:47KiB
map 00234012 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 22:21KiB 23:24KiB 24:28KiB
map 00234020 finest=24 extended-route-bpc=19 16:1KiB 19:4KiB 21:1KiB 22:3KiB 23:4KiB 24:4KiB
map 00234021 finest=24 extended-route-bpc=24 16:1KiB 19:4KiB 21:2KiB 22:8KiB 23:10KiB 24:11KiB
map 00234022 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:104KiB 23:121KiB 24:141KiB
map 00234023 finest=24 extended-route-bpc=24 16:1KiB 19:5KiB 21:1KiB 22:72KiB 23:81KiB 24:92KiB
map 00234024 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:49KiB 23:55KiB 24:63KiB
Processed 10 maps, ways=249397 points=34337
map 00234032 finest=24 extended-route-bpc=19 16:1KiB 19:3KiB 21:1KiB 22:3KiB 23:3KiB 24:3KiB
map 00234033 finest=24 extended-route-bpc=19 16:2KiB 19:4KiB 21:1KiB 22:3KiB 23:3KiB 24:4KiB
map 00234034 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:1KiB 22:38KiB 23:43KiB 24:50KiB
map 00234035 finest=24 extended-route-bpc=24 16:0KiB 19:6KiB 21:1KiB 22:185KiB 23:221KiB 24:267KiB
map 00234036 finest=24 extended-route-bpc=24 16:1KiB 19:8KiB 21:3KiB 22:104KiB 23:122KiB 24:146KiB
map 00234044 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:0KiB 22:0KiB 23:0KiB 24:0KiB
map 00234045 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:0KiB 22:24KiB 23:28KiB 24:33KiB
map 00234046 finest=24 extended-route-bpc=24 16:0KiB 19:9KiB 21:0KiB 22:124KiB 23:146KiB 24:173KiB
map 00234047 finest=24 extended-route-bpc=24 16:1KiB 19:17KiB 21:6KiB 22:291KiB 23:332KiB 24:390KiB
map 00234048 finest=24 extended-route-bpc=24 16:1KiB 19:9KiB 21:1KiB 22:202KiB 23:240KiB 24:292KiB
Processed 20 maps, ways=783312 points=88832
map 00234056 finest=24 extended-route-bpc=19 16:0KiB 19:4KiB 21:0KiB 22:2KiB 23:2KiB 24:2KiB
map 00234057 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:13KiB 23:16KiB 24:19KiB
map 00234058 finest=24 extended-route-bpc=24 16:0KiB 19:10KiB 21:1KiB 22:144KiB 23:170KiB 24:201KiB
map 00234059 finest=24 extended-route-bpc=24 16:1KiB 19:11KiB 21:1KiB 22:373KiB 23:438KiB 24:532KiB
map 00234060 finest=24 extended-route-bpc=24 16:0KiB 19:10KiB 21:0KiB 22:227KiB 23:271KiB 24:331KiB
map 00234068 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:3KiB 23:4KiB 24:4KiB
map 00234069 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:13KiB 23:15KiB 24:18KiB
map 00234070 finest=24 extended-route-bpc=24 16:0KiB 19:11KiB 21:0KiB 22:199KiB 23:234KiB 24:276KiB
map 00234071 finest=24 extended-route-bpc=24 16:0KiB 19:8KiB 21:1KiB 22:269KiB 23:318KiB 24:385KiB
map 00234072 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:2KiB 22:227KiB 23:274KiB 24:333KiB
Processed 30 maps, ways=1447049 points=170711
map 00234080 finest=24 extended-route-bpc=24 21:3KiB 22:6KiB 23:6KiB 24:7KiB
map 00234081 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 21:1KiB 22:3KiB 23:4KiB 24:5KiB
map 00234082 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 22:59KiB 23:68KiB 24:80KiB
map 00234083 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:1KiB 22:260KiB 23:315KiB 24:384KiB
map 00234084 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:153KiB 23:187KiB 24:228KiB
map 00234092 finest=24 extended-route-bpc=24 21:1KiB 22:3KiB 23:3KiB 24:4KiB
map 00234093 finest=24 extended-route-bpc=24 21:1KiB 22:4KiB 23:4KiB 24:4KiB
map 00234094 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 22:52KiB 23:62KiB 24:75KiB
map 00234095 finest=24 extended-route-bpc=24 16:0KiB 19:7KiB 21:0KiB 22:206KiB 23:244KiB 24:291KiB
map 00234096 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 22:151KiB 23:182KiB 24:220KiB
Processed 40 maps, ways=1888501 points=190655
map 00234104 finest=24 extended-route-bpc=24 22:4KiB 23:5KiB 24:7KiB
map 00234105 finest=24 extended-route-bpc=24 21:0KiB 22:1KiB 23:1KiB 24:1KiB
map 00234106 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:2KiB 22:6KiB 23:7KiB 24:8KiB
map 00234107 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:2KiB 22:17KiB 23:21KiB 24:25KiB
map 00234108 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 21:0KiB 22:10KiB 23:11KiB 24:13KiB
map 00234116 finest=24 extended-route-bpc=19 16:0KiB 19:2KiB 22:1KiB 23:1KiB 24:1KiB
map 00234117 finest=24 extended-route-bpc=19 16:0KiB 19:4KiB 22:0KiB 23:0KiB 24:0KiB
map 00234118 finest=24 extended-route-bpc=19 16:1KiB 19:6KiB 21:2KiB 22:4KiB 23:4KiB 24:5KiB
map 00234119 finest=24 extended-route-bpc=19 16:0KiB 19:3KiB 22:0KiB 23:0KiB 24:0KiB
map 00234120 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 22:16KiB 23:20KiB 24:25KiB
Processed 50 maps, ways=1918532 points=192224
map 00235001 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:8KiB 23:9KiB 24:11KiB
map 00235002 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:0KiB 22:13KiB 23:15KiB 24:18KiB
map 00235003 finest=24 extended-route-bpc=24 22:1KiB 23:1KiB 24:2KiB
map 00235004 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:1KiB 22:38KiB 23:43KiB 24:51KiB
map 00235005 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:1KiB 22:63KiB 23:70KiB 24:81KiB
map 00235006 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:52KiB 23:58KiB 24:68KiB
map 00235007 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:0KiB 22:40KiB 23:45KiB 24:53KiB
map 00235008 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:35KiB 23:40KiB 24:46KiB
map 00235009 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 21:0KiB 22:12KiB 23:14KiB 24:16KiB
map 00235010 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:3KiB 23:4KiB 24:5KiB
Processed 60 maps, ways=2119322 points=194684
map 00235013 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:1KiB 22:51KiB 23:57KiB 24:65KiB
map 00235014 finest=24 extended-route-bpc=24 16:1KiB 19:5KiB 21:1KiB 22:78KiB 23:87KiB 24:102KiB
map 00235015 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:2KiB 22:63KiB 23:70KiB 24:80KiB
map 00235016 finest=24 extended-route-bpc=24 16:1KiB 19:5KiB 21:0KiB 22:81KiB 23:91KiB 24:104KiB
map 00235017 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:0KiB 22:73KiB 23:84KiB 24:97KiB
map 00235018 finest=24 extended-route-bpc=24 16:1KiB 19:8KiB 21:0KiB 22:65KiB 23:72KiB 24:83KiB
map 00235019 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:51KiB 23:56KiB 24:65KiB
map 00235020 finest=24 extended-route-bpc=24 16:0KiB 19:6KiB 21:1KiB 22:102KiB 23:116KiB 24:143KiB
map 00235021 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 22:52KiB 23:60KiB 24:76KiB
map 00235022 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:12KiB 23:14KiB 24:18KiB
Processed 70 maps, ways=2656114 points=204120
map 00235025 finest=24 extended-route-bpc=24 16:1KiB 19:6KiB 21:2KiB 22:78KiB 23:88KiB 24:102KiB
map 00235026 finest=24 extended-route-bpc=24 16:0KiB 19:6KiB 21:0KiB 22:57KiB 23:64KiB 24:74KiB
map 00235027 finest=24 extended-route-bpc=24 16:1KiB 19:6KiB 21:1KiB 22:70KiB 23:79KiB 24:91KiB
map 00235028 finest=24 extended-route-bpc=24 16:1KiB 19:10KiB 21:4KiB 22:148KiB 23:169KiB 24:204KiB
map 00235029 finest=24 extended-route-bpc=24 16:1KiB 19:8KiB 21:0KiB 22:54KiB 23:61KiB 24:71KiB
map 00235030 finest=24 extended-route-bpc=24 16:1KiB 19:10KiB 21:1KiB 22:115KiB 23:131KiB 24:157KiB
map 00235031 finest=24 extended-route-bpc=24 16:0KiB 19:6KiB 21:1KiB 22:111KiB 23:128KiB 24:153KiB
map 00235032 finest=24 extended-route-bpc=24 16:1KiB 19:13KiB 21:3KiB 22:241KiB 23:278KiB 24:339KiB
map 00235033 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 22:25KiB 23:30KiB 24:41KiB
map 00235034 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:1KiB
Processed 80 maps, ways=3364855 points=248209
map 00235037 finest=24 extended-route-bpc=24 16:1KiB 19:9KiB 21:2KiB 22:176KiB 23:213KiB 24:262KiB
map 00235038 finest=24 extended-route-bpc=24 16:1KiB 19:7KiB 21:1KiB 22:171KiB 23:208KiB 24:257KiB
map 00235039 finest=24 extended-route-bpc=24 16:1KiB 19:13KiB 21:2KiB 22:254KiB 23:305KiB 24:373KiB
map 00235040 finest=24 extended-route-bpc=24 16:1KiB 19:9KiB 21:2KiB 22:204KiB 23:248KiB 24:306KiB
map 00235041 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:0KiB 22:127KiB 23:153KiB 24:188KiB
map 00235042 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:73KiB 23:87KiB 24:106KiB
map 00235043 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:1KiB 22:120KiB 23:144KiB 24:174KiB
map 00235044 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 22:67KiB 23:80KiB 24:97KiB
map 00235045 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:1KiB
map 00235046 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
Processed 90 maps, ways=3872718 points=303087
map 00235049 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:0KiB 22:128KiB 23:158KiB 24:198KiB
map 00235050 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:2KiB 22:142KiB 23:170KiB 24:207KiB
map 00235051 finest=24 extended-route-bpc=24 16:1KiB 19:6KiB 21:1KiB 22:175KiB 23:212KiB 24:265KiB
map 00235052 finest=24 extended-route-bpc=24 16:1KiB 19:10KiB 21:3KiB 22:164KiB 23:194KiB 24:237KiB
map 00235053 finest=24 extended-route-bpc=24 16:1KiB 19:7KiB 21:1KiB 22:75KiB 23:84KiB 24:97KiB
map 00235054 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:54KiB 23:60KiB 24:70KiB
map 00235055 finest=24 extended-route-bpc=24 16:1KiB 19:7KiB 21:1KiB 22:80KiB 23:90KiB 24:108KiB
map 00235056 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:34KiB 23:40KiB 24:50KiB
map 00235057 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235058 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
Processed 100 maps, ways=4367013 points=322902
map 00235061 finest=24 extended-route-bpc=24 16:1KiB 19:10KiB 21:2KiB 22:200KiB 23:236KiB 24:290KiB
map 00235062 finest=24 extended-route-bpc=24 16:2KiB 19:14KiB 21:4KiB 22:168KiB 23:189KiB 24:235KiB
map 00235063 finest=24 extended-route-bpc=24 16:1KiB 19:6KiB 21:2KiB 22:70KiB 23:77KiB 24:89KiB
map 00235064 finest=24 extended-route-bpc=24 16:0KiB 19:6KiB 21:3KiB 22:65KiB 23:72KiB 24:82KiB
map 00235065 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:0KiB 22:72KiB 23:84KiB 24:98KiB
map 00235066 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:0KiB 22:83KiB 23:99KiB 24:118KiB
map 00235067 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 22:80KiB 23:98KiB 24:118KiB
map 00235068 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 22:135KiB 23:164KiB 24:198KiB
map 00235069 finest=24 extended-route-bpc=24 19:0KiB 22:1KiB 23:2KiB 24:3KiB
map 00235070 finest=24 extended-route-bpc=24
Processed 110 maps, ways=4912748 points=348252
map 00235073 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:169KiB 23:211KiB 24:268KiB
map 00235074 finest=24 extended-route-bpc=24 16:0KiB 19:5KiB 21:0KiB 22:276KiB 23:347KiB 24:448KiB
map 00235075 finest=24 extended-route-bpc=24 16:0KiB 19:8KiB 22:154KiB 23:187KiB 24:230KiB
map 00235076 finest=24 extended-route-bpc=24 16:1KiB 19:9KiB 21:1KiB 22:143KiB 23:167KiB 24:200KiB
map 00235077 finest=24 extended-route-bpc=24 16:1KiB 19:5KiB 21:0KiB 22:136KiB 23:163KiB 24:195KiB
map 00235078 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:0KiB 22:20KiB 23:26KiB 24:31KiB
map 00235079 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:2KiB 23:3KiB 24:3KiB
map 00235080 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:16KiB 23:19KiB 24:24KiB
map 00235081 finest=24 extended-route-bpc=24 19:0KiB 22:1KiB 23:2KiB 24:2KiB
map 00235082 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
Processed 120 maps, ways=5248427 points=379528
map 00235085 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 21:0KiB 22:110KiB 23:140KiB 24:182KiB
map 00235086 finest=24 extended-route-bpc=24 16:1KiB 19:8KiB 21:0KiB 22:258KiB 23:324KiB 24:421KiB
map 00235087 finest=24 extended-route-bpc=24 16:1KiB 19:17KiB 21:0KiB 22:278KiB 23:336KiB 24:408KiB
map 00235088 finest=24 extended-route-bpc=24 16:0KiB 19:8KiB 21:0KiB 22:126KiB 23:152KiB 24:182KiB
map 00235089 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 22:30KiB 23:38KiB 24:45KiB
map 00235090 finest=24 extended-route-bpc=24 21:0KiB 22:2KiB 23:2KiB 24:2KiB
map 00235091 finest=24 extended-route-bpc=24 22:1KiB 23:1KiB 24:1KiB
map 00235092 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235093 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235094 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
Processed 130 maps, ways=5518887 points=405816
map 00235097 finest=24 extended-route-bpc=24 16:0KiB 19:4KiB 21:0KiB 22:23KiB 23:25KiB 24:28KiB
map 00235098 finest=24 extended-route-bpc=24 22:1KiB 23:1KiB 24:1KiB
map 00235099 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 22:45KiB 23:57KiB 24:70KiB
map 00235100 finest=24 extended-route-bpc=24 19:0KiB 22:17KiB 23:22KiB 24:27KiB
map 00235101 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235102 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235103 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235104 finest=24 extended-route-bpc=24 22:1KiB 23:1KiB 24:1KiB
map 00235105 finest=24 extended-route-bpc=24 22:1KiB 23:1KiB 24:1KiB
map 00235106 finest=24 extended-route-bpc=24 22:2KiB 23:3KiB 24:3KiB
Processed 140 maps, ways=5546621 points=408625
map 00235109 finest=24 extended-route-bpc=24 16:0KiB 19:3KiB 22:34KiB 23:41KiB 24:50KiB
map 00235110 finest=24 extended-route-bpc=19 16:0KiB 19:1KiB 22:0KiB 23:0KiB 24:0KiB
map 00235111 finest=24 extended-route-bpc=19 19:0KiB
map 00235112 finest=24 extended-route-bpc=19 16:0KiB 19:2KiB 22:1KiB 23:1KiB 24:1KiB
map 00235113 finest=24 extended-route-bpc=19 16:0KiB 19:0KiB 22:0KiB 23:0KiB 24:0KiB
map 00235114 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
map 00235115 finest=24 extended-route-bpc=22 22:0KiB 23:0KiB 24:0KiB
map 00235116 finest=24 extended-route-bpc=22 22:0KiB 23:0KiB 24:0KiB
map 00235117 finest=24 extended-route-bpc=24
map 00235118 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:0KiB
Processed 150 maps, ways=5571743 points=409385
map 00334140 finest=24 extended-route-bpc=19 16:0KiB 19:2KiB 21:0KiB 22:1KiB 23:1KiB 24:1KiB
map 00334141 finest=24 extended-route-bpc=24 16:1KiB 19:3KiB 21:1KiB 22:9KiB 23:10KiB 24:12KiB
map 00334142 finest=24 extended-route-bpc=24 16:1KiB 19:7KiB 21:1KiB 22:47KiB 23:53KiB 24:63KiB
map 00334143 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 21:0KiB 22:1KiB 23:2KiB 24:2KiB
map 00334144 finest=24 extended-route-bpc=24
map 00335133 finest=24 extended-route-bpc=24
map 00335134 finest=24 extended-route-bpc=24
map 00335135 finest=24 extended-route-bpc=24
map 00335136 finest=24 extended-route-bpc=24
map 00335137 finest=24 extended-route-bpc=24 16:0KiB 19:0KiB 22:2KiB 23:3KiB 24:3KiB
Processed 160 maps, ways=5608833 points=416766
map 00335138 finest=24 extended-route-bpc=24 16:0KiB 19:1KiB 21:0KiB 22:17KiB 23:20KiB 24:25KiB
map 00335139 finest=24 extended-route-bpc=24 16:0KiB 19:2KiB 21:0KiB 22:24KiB 23:27KiB 24:33KiB
map 00335140 finest=24 extended-route-bpc=24 19:0KiB 22:1KiB 23:1KiB 24:2KiB
map 00335141 finest=24 extended-route-bpc=24
map 00335142 finest=24 extended-route-bpc=24 22:0KiB 23:0KiB 24:1KiB
Finished scan maps=165 lines=1422710 polygons=4234952 points=417156 parseStops=0
Top feature types (category 0=classic lines, 1=areas, 2=ext lines, 3=POIs):
1:0x13=2782854 1:0x52=390371 1:0x50=304876 0:0x5=242137 2:0x10e1f=238041 0:0xa=226138 2:0x10f12=218207 1:0x4f=215215 1:0x4e=211935 0:0x18=118238 1:0x15=79080 3:0x6600=66396 0:0x26=56505 1:0x16=55483 3:0x2800=55139 3:0x6511=50341 1:0x3=48854 0:0x16=46972 1:0x9=45688 2:0x10f16=36221 3:0x6414=32939 0:0x9=32134 3:0x6500=31255 0:0x4=28806 3:0x6603=26366 0:0x19=25574 1:0x20=22350 1:0xc=18060 3:0x6616=15547 3:0x6614=15292 2:0x10e0b=15275 1:0x41=13354 2:0x10f17=10979 0:0x1f=10960 2:0x10e13=10626 3:0x6618=10177 0:0x2=8936 3:0x6417=8872 3:0x650b=8840 2:0x10e12=8678 2:0x10f14=8494 3:0x1100=8465 0:0x3=8458 0:0xd=8338 3:0xd00=6610 2:0x10f11=6468 0:0x1=6371 2:0x10f0a=6231 3:0x6402=6198 0:0xb=5341 1:0x58=4972 1:0x48=4724 1:0x19=4587 2:0x10e0a=4391 2:0x10f00=4198 1:0x1b=4176 2:0x10f0f=4135 1:0x59=4072 1:0x53=4035 2:0x10e11=3926
Extended trail styles observed:
0x10e1f count=238041 colour=#000000 pattern=yes
0x10f12 count=218207 colour=#e6e6e6 pattern=yes
0x10f16 count=36221 colour=#e6e6e6 pattern=yes
0x10e0b count=15275 colour=#000000 pattern=yes
0x10f17 count=10979 colour=#ff3041 pattern=yes
0x10e13 count=10626 colour=#000000 pattern=yes
0x10e12 count=8678 colour=#000000 pattern=yes
0x10f14 count=8494 colour=#000000 pattern=yes
0x10f11 count=6468 colour=#000000 pattern=yes
0x10f0a count=6231 colour=#ff0000 pattern=yes
0x10e0a count=4391 colour=#0030ff pattern=yes
0x10f00 count=4198 colour=#000000 pattern=yes
0x10f0f count=4135 colour=#399500 pattern=yes
0x10e11 count=3926 colour=#000000 pattern=yes
0x10e05 count=3097 colour=#ffff00 pattern=yes
0x10e0c count=2405 colour=#000000 pattern=yes
0x10e1c count=2045 colour=#ffffff pattern=no
0x10f13 count=1588 colour=#000000 pattern=yes
0x10e19 count=1473 colour=#525252 pattern=yes
0x10e09 count=1083 colour=#0030ff pattern=yes
0x10e04 count=1083 colour=#ffff00 pattern=yes
0x10e16 count=642 colour=#000000 pattern=yes
0x10504 count=591 colour=#bd3041 pattern=yes
0x10f0e count=486 colour=#399500 pattern=yes
0x10401 count=394 colour=#bd3041 pattern=yes
0x10e1b count=368 colour=#ff0000 pattern=no
0x10602 count=354
0x10e1d count=327 colour=#ffffff pattern=no
0x10e18 count=291 colour=#414141 pattern=yes
0x10e0d count=277 colour=#000000 pattern=yes
0x10108 count=232 colour=#bd3041 pattern=yes
0x10e03 count=211 colour=#ffff00 pattern=yes
0x10e1a count=205 colour=#ffffff pattern=no
0x10e15 count=185 colour=#000000 pattern=yes
0x10f05 count=162 colour=#7b3000 pattern=yes
0x10e1e count=162 colour=#000000 pattern=yes
0x10e08 count=120 colour=#0030ff pattern=yes
0x10e17 count=110 colour=#ff0000 pattern=yes
0x10e14 count=109 colour=#000000 pattern=yes
0x10f15 count=98 colour=#000000 pattern=yes
0x10f04 count=93 colour=#7b3000 pattern=yes
0x10606 count=78 colour=#bd3041 pattern=yes
0x10e02 count=63 colour=#ffff00 pattern=yes
0x10e0e count=59 colour=#000000 pattern=yes
0x10402 count=47 colour=#bd3041 pattern=yes
0x10f03 count=9 colour=#7b3000 pattern=yes
0x10e0f count=4 colour=#000000 pattern=yes
0x10f01 count=4 colour=#7b3000 pattern=yes
0x10503 count=3 colour=#bd3041 pattern=yes
0x10403 count=3 colour=#bd3041 pattern=yes
XML done: nodes=5593776 ways=5593776 POIs=417156 => Bulgaria-Garmin.osm
+1
View File
@@ -0,0 +1 @@
1828
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
# Provide an OsmAndMapCreator folder with utilities.sh (official OsmAnd distribution).
# Usage: ./scripts/build_obf.sh /path/OsmAndMapCreator /path/map.osm[.gz]
if (( $# != 2 )); then
echo "Usage: $0 /path/OsmAndMapCreator /path/to/map.osm[.gz]" >&2; exit 2
fi
creator="$1"; input="$2"
if [[ ! -f "$creator/utilities.sh" || ! -f "$input" ]]; then echo "Missing OsmAndMapCreator utilities.sh or OSM XML input" >&2; exit 1;fi
export JAVA_OPTS="${JAVA_OPTS:--Xms256M -Xmx4096M}"
"$creator/utilities.sh" generate-obf-no-address "$input"
+909
View File
@@ -0,0 +1,909 @@
// garmin2osmand - bounded-memory native Garmin IMG -> OsmAnd raster SQLiteDB.
// SPDX-License-Identifier: GPL-3.0-or-later
// NOTE: Experimental reader. Rejects encrypted/XOR files; see README coverage.
// Garmin IMG structures informed by public Garmin IMG documentation and QMapShack.
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <limits>
#include <sstream>
#include <iomanip>
#include <map>
#include <memory>
#include <set>
#include <stdexcept>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
#include <png.h>
#ifdef __linux__
#include <dlfcn.h>
#endif
#include <iconv.h>
#include <sqlite3.h>
namespace fs=std::filesystem;
using U8=uint8_t; using U32=uint32_t; using U64=uint64_t;
static constexpr double pi=3.14159265358979323846;
static int gAA=2;
static U32 u16(const U8*p){return U32(p[0])|(U32(p[1])<<8);}
static U32 u24(const U8*p){return u16(p)|(U32(p[2])<<16);}
static U32 u32(const U8*p){return u16(p)|(u16(p+2)<<16);}
static int s16(const U8*p){return int16_t(u16(p));}
static int s24(const U8*p){U32 v=u24(p);return int((v^0x800000u)-0x800000u);}
static double geo(int v){return double(v)*360.0/16777216.0;}
static std::string trim(const char*p,size_t n){std::string s(p,n);while(!s.empty()&&(s.back()==' '||s.back()=='\0'))s.pop_back();return s;}
static void fail(const std::string&s){throw std::runtime_error(s);}
struct BBox {double w=180,s=90,e=-180,n=-90; bool valid() const {return w<=e&&s<=n;} void add(const BBox&b){w=std::min(w,b.w);s=std::min(s,b.s);e=std::max(e,b.e);n=std::max(n,b.n);} bool overlaps(const BBox&b)const {return !(w>b.e || e<b.w || s>b.n || n<b.s);} };
struct File {
std::ifstream in; U64 size=0;
explicit File(const std::string&path){in.open(path,std::ios::binary);if(!in)fail("Cannot open "+path);in.seekg(0,std::ios::end);size=U64(in.tellg());}
void read(U64 pos,void*dest,size_t n){if(pos>size||n>size-pos)fail("IMG truncated: out-of-range read");in.clear();in.seekg(std::streamoff(pos));in.read(static_cast<char*>(dest),std::streamsize(n));if(!in)fail("IMG read failed");}
std::vector<U8> get(U64 pos,size_t n){std::vector<U8> b(n);read(pos,b.data(),n);return b;}
};
// A Garmin FAT entry may enumerate noncontiguous blocks. Read logical files via their block lists.
struct Part{
File* file=nullptr; U64 size=0; U64 blockSize=0;std::vector<U32>blocks;
void read(U64 pos,void*dst,size_t len) const{
if(pos>size||len>size-pos||blockSize==0)fail("Invalid Garmin section read");
auto*out=static_cast<U8*>(dst);
while(len){U64 i=pos/blockSize,delta=pos%blockSize;
if(i>=blocks.size())fail("FAT block chain shorter than section");
size_t n=size_t(std::min<U64>(len,blockSize-delta));
file->read(U64(blocks[size_t(i)])*blockSize+delta,out,n);
pos+=n;out+=n;len-=n;
}
}
std::vector<U8> get(U64 pos,size_t n)const{std::vector<U8>r(n);read(pos,r.data(),n);return r;}
};
// Virtual section: classic TRE/RGN has its own address zero; GMP embeds all sections,
// whose absolute offsets are relative to the start of the GMP logical file.
struct View {const Part* p=nullptr; U64 header=0,origin=0;
std::vector<U8> get(U64 relative,size_t n) const {if(!p)fail("Missing section");return p->get(origin+relative,n);}
std::vector<U8> hdr(size_t n)const{return p->get(header,n);}
};
struct Level{int level=0,bits=0,count=0;};
struct Sub{U32 from=0,to=0;int bits=0,level=0;int cx=0,cy=0,shift=0;U8 flags=0;BBox bounds;
std::array<U32,3> extFrom{},extLen{};};
struct Map{
std::string name; std::map<std::string,View>sections;
std::vector<Level>levels;std::vector<Sub>subs; BBox bounds;
int lblCoding=0,lblCodepage=0,lblShift=0;
U32 lbl1Off=0,lbl1Len=0,lbl6Off=0,lbl6Len=0,net1Off=0,net1Len=0;int netShift=0;
mutable std::unordered_map<U32,std::string> labelCache;
std::string label(U32 ptr) const {
if(!lbl1Len||ptr==0||lblCoding!=9)return {};
U64 shifted=U64(ptr)<<lblShift;
if(shifted>=lbl1Len)return {};
auto found=labelCache.find(ptr);if(found!=labelCache.end())return found->second;
const auto&lbl=sections.at("LBL");
auto raw=lbl.get(lbl1Off+shifted,size_t(std::min<U64>(180,lbl1Len-shifted)));
std::string text;
for(unsigned char c:raw){if(c==0||text.size()>100)break;
if(c>=0x1b&&c<=0x1f){if(!text.empty())text+=' ';continue;}
if(c>=0x20)text.push_back(char(c));
}
// Convert the embedded Bulgarian Windows-1251 names to UTF-8.
if(lblCodepage==1251&& !text.empty()){
iconv_t cd=iconv_open("UTF-8","WINDOWS-1251");
if(cd!=(iconv_t)-1){std::string out(text.size()*4+8,'\0');char*inPtr=text.data();size_t inSize=text.size();
char*outPtr=out.data();size_t outSize=out.size();
if(iconv(cd,&inPtr,&inSize,&outPtr,&outSize)!=(size_t)-1){out.resize(outPtr-out.data());text=std::move(out);}
iconv_close(cd);
}
}
if(labelCache.size()>10000)labelCache.clear();
labelCache.emplace(ptr,text);return text;
}
std::string poiLabel(U32 ptr) const {
// Garmin POI label pointers with flag 0x400000 refer to LBL6 records.
const auto it=sections.find("LBL");
if(!lbl6Len||it==sections.end()||ptr+4>lbl6Len)return {};
const auto rec=it->second.get(lbl6Off+ptr,4);
return label(u32(rec.data())&0x3fffff);
}
std::string netLabel(U32 ptr) const {
// NET1 points to LBL1 after applying the NET address shift.
const auto it=sections.find("NET");
if(!net1Len||it==sections.end()||(U64(ptr)<<netShift)+4>net1Len)return {};
const auto rec=it->second.get(net1Off+(U64(ptr)<<netShift),4);
U32 offset=u32(rec.data());if(offset&0x400000)return {};
return label(offset&0x3fffff);
}
std::unordered_map<int,std::vector<int>>byBits;
// Fixed 1-degree geographic bins (approximate R-tree). Large extents live in broadByBits.
std::unordered_map<int,std::unordered_map<int,std::vector<int>>> cellsByBits;
std::unordered_map<int,std::vector<int>> broadByBits;
};
struct MapSet{
File file; U64 blockSize=0; std::map<std::string,std::map<std::string,Part>>parts;std::vector<Map>maps;BBox bounds;
explicit MapSet(const std::string&name):file(name){parse();}
static bool looksValid(const std::vector<U8>&b,const char*s){return b.size()>=12&&std::memcmp(b.data()+2,s,10)==0;}
void parse(){
if(file.size<2048)fail("IMG too small");
auto hdr=file.get(0,1536);
if(hdr[0]!=0)fail("XOR-obfuscated IMG: unsupported (no unlocking/decryption)");
if(std::memcmp(hdr.data()+0x10,"DSKIMG",6)||std::memcmp(hdr.data()+0x41,"GARMIN",6))fail("Not a Garmin DSKIMG container");
int power=hdr[0x61]+hdr[0x62];if(power<9||power>22)fail("Invalid block size in Garmin header");blockSize=U64(1)<<power;
const U64 fatEnd= u32(hdr.data()+0x40c)!=0 ? std::min<U64>(u32(hdr.data()+0x40c),file.size):std::min<U64>(file.size,16*1024*1024);
// Entries start at 0x600. A zero flag is a placeholder; stop at data region.
std::map<std::pair<std::string,std::string>,std::map<int,std::vector<U32>>>chains;
std::map<std::pair<std::string,std::string>,U64>sizes;
int consecutiveNonEntries=0;
for(U64 off=0x600;off+512<=fatEnd;off+=512){
auto f=file.get(off,512);if(f[0]!=0x01){if(++consecutiveNonEntries>24)break;continue;}
consecutiveNonEntries=0;
auto name=trim(reinterpret_cast<char*>(f.data()+1),8),ext=trim(reinterpret_cast<char*>(f.data()+9),3);
if(name.empty()||ext.empty()||name[0]==' '||name=="MAPSOURC"||name=="SENDMAP2")continue;
auto key=std::make_pair(name,ext);U32 sz=u32(f.data()+12);int index=int(u16(f.data()+16));
if(sz&&(!sizes.count(key)||index==0))sizes[key]=sz;
auto&chain=chains[key][index];
for(int j=0;j<240;j++){U32 block=u16(f.data()+32+2*j);if(block==0xFFFF)break;
if(U64(block)*blockSize>=file.size)continue;
chain.push_back(block);
}
}
for(const auto&[k,chunks]:chains){if(!sizes.count(k))continue;
Part p;p.file=&file;p.blockSize=blockSize;p.size=sizes[k];
for(const auto&[seq,blocks]:chunks){(void)seq;p.blocks.insert(p.blocks.end(),blocks.begin(),blocks.end());}
if(p.blocks.empty()||p.size>p.blocks.size()*p.blockSize)continue;
parts[k.first][k.second]=std::move(p);
}
if(parts.empty())fail("No usable Garmin FAT subfiles found");
for(auto&[name,sections]:parts){
Map m;m.name=name;
if(sections.count("GMP")){
const auto&p=sections.at("GMP");auto g=p.get(0,std::min<U64>(64,p.size));
if(g.size()<0x31||!looksValid(g,"GARMIN GMP"))continue;
for(const auto&[type,at]:std::vector<std::pair<std::string,int>>{{"TRE",0x19},{"RGN",0x1d},{"LBL",0x21},{"NET",0x25}}){
U32 offset=u32(g.data()+at);if(!offset||offset+21>p.size)continue;
m.sections[type]=View{&p,offset,0};
}
}else for(const auto&[type,p]:sections){m.sections[type]=View{&p,0,0};}
if(!m.sections.count("TRE")||!m.sections.count("RGN"))continue;
try{parseMap(m);if(!m.subs.empty()){bounds.add(m.bounds);maps.push_back(std::move(m));}}
catch(const std::exception&e){std::cerr<<"Warning: skip map "<<name<<": "<<e.what()<<"\n";}
}
if(maps.empty())fail("No readable unlocked TRE/RGN maps found. May be unsupported NT variant, locked, or malformed IMG.");
}
void parseMap(Map&m){
const auto&t=m.sections.at("TRE");const auto&r=m.sections.at("RGN");
auto th=t.hdr(0xc0);auto rh=r.hdr(0x7d);
if(!looksValid(th,"GARMIN TRE")||!looksValid(rh,"GARMIN RGN"))fail("invalid TRE/RGN header");
if(th[0x0d]&0x80)fail("locked/encrypted TRE header");
m.bounds=BBox{geo(s24(th.data()+0x1e)),geo(s24(th.data()+0x1b)),geo(s24(th.data()+0x18)),geo(s24(th.data()+0x15))};
if(m.sections.count("LBL")){
auto lh=m.sections.at("LBL").hdr(0xb0);
if(looksValid(lh,"GARMIN LBL")){
m.lbl1Off=u32(lh.data()+0x15);m.lbl1Len=u32(lh.data()+0x19);
m.lblShift=lh[0x1d];m.lblCoding=lh[0x1e];
m.lbl6Off=u32(lh.data()+0x57);m.lbl6Len=u32(lh.data()+0x5b);
if(u16(lh.data())>0xaa)m.lblCodepage=u16(lh.data()+0xaa);
}
}
if(m.sections.count("NET")){
const auto nh=m.sections.at("NET").hdr(0x35);
if(looksValid(nh,"GARMIN NET")){
m.net1Off=u32(nh.data()+0x15);m.net1Len=u32(nh.data()+0x19);m.netShift=nh[0x1d];
}
}
if(m.bounds.w>m.bounds.e)fail("cross-dateline maps are not supported yet");
U32 lOff=u32(th.data()+0x21),lLen=u32(th.data()+0x25),sOff=u32(th.data()+0x29),sLen=u32(th.data()+0x2d);
if(!lLen||lLen%4||lLen>4096||sLen>32*1024*1024)fail("unexpected TRE level/subdivision size");
auto lb=t.get(lOff,lLen),sb=t.get(sOff,sLen);
U32 count=0;
for(size_t i=0;i<lb.size();i+=4){Level l{int(lb[i]&0x0f),int(lb[i+1]),int(u16(lb.data()+i+2))};
if(l.bits>24||l.bits<0||l.count<0)fail("bad map level");
m.levels.push_back(l);count+=U32(l.count);
}
if(count>300000||!count)fail("bad subdivision count");
U32 classicBase=u32(rh.data()+0x15),classicLength=u32(rh.data()+0x19);
size_t off=0;
for(size_t li=0;li<m.levels.size();li++){
const auto&lev=m.levels[li];size_t entrySize=(li+1==m.levels.size()?14:16);
for(int j=0;j<lev.count;j++){
if(off+entrySize>sb.size())fail("short TRE subdivision table");
auto*b=sb.data()+off;off+=entrySize; Sub s;
s.from=classicBase+u24(b);s.flags=b[3];s.cx=s24(b+4);s.cy=s24(b+7);s.bits=lev.bits;s.shift=24-lev.bits;s.level=lev.level;
int width=int(u16(b+10)&0x7fff),height=int(u16(b+12));
s.bounds=BBox{geo(s.cx-(width<<s.shift)),geo(s.cy-(height<<s.shift)),geo(s.cx+(width<<s.shift)+1),geo(s.cy+(height<<s.shift)+1)};
m.subs.push_back(s);
}
}
for(size_t i=0;i<m.subs.size();i++)m.subs[i].to=(i+1<m.subs.size()?m.subs[i+1].from:classicBase+classicLength);
// NT-format extended segments are separate RGN2/3/4 sections.
if(u16(th.data())>=0x9a&&u32(th.data()+0x80)&&u16(th.data()+0x84)>=12){
U32 off2=u32(th.data()+0x7c),num=u32(th.data()+0x80),step=u16(th.data()+0x84);
if(num>=m.subs.size()*U32(step)&&num<32*1024*1024){
auto b=t.get(off2,num);
const U32 basePoly=u32(rh.data()+0x1d),baseLine=u32(rh.data()+0x39),basePoint=u32(rh.data()+0x55);
const U32 lenPoly=u32(rh.data()+0x21),lenLine=u32(rh.data()+0x3d),lenPoint=u32(rh.data()+0x59);
for(size_t i=0;i<m.subs.size();i++){const U8*p=b.data()+i*step;
m.subs[i].extFrom={basePoly+u32(p),baseLine+u32(p+4),basePoint+u32(p+8)};
}
for(size_t i=0;i<m.subs.size();i++)for(int k=0;k<3;k++){
U32 end=(i+1<m.subs.size()?m.subs[i+1].extFrom[k]:std::array<U32,3>{basePoly+lenPoly,baseLine+lenLine,basePoint+lenPoint}[k]);
auto start=m.subs[i].extFrom[k];m.subs[i].extLen[k]=(end>=start?end-start:0);
}
}
}
for(size_t i=0;i<m.subs.size();i++){
const auto&sub=m.subs[i];m.byBits[sub.bits].push_back(int(i));
int w=int(std::floor(sub.bounds.w)),e=int(std::floor(sub.bounds.e));
int s=int(std::floor(sub.bounds.s)),n=int(std::floor(sub.bounds.n));
if(e-w>60 || n-s>60 || (e-w+1)*(n-s+1)>300){m.broadByBits[sub.bits].push_back(int(i));continue;}
for(int gy=s;gy<=n;gy++)for(int gx=w;gx<=e;gx++)
m.cellsByBits[sub.bits][(gx+180)*256+(gy+90)].push_back(int(i));
}
}
};
struct XY{double x=0,y=0;};
static double mercY(double lat){lat=std::clamp(lat,-85.05112878,85.05112878)*pi/180;return (1-std::asinh(std::tan(lat))/pi)*0.5;}
static double mercX(double lon){return (lon+180)/360.;}
static double invMercY(double t){return std::atan(std::sinh(pi*(1-2*t)))*180/pi;}
struct Image{
int w=256,h=256;std::vector<U8>rgb;bool painted=false;
explicit Image(int n=256):w(n),h(n),rgb(size_t(n)*n*4,0){}
void px(int x,int y,U32 color){if(x<0||y<0||x>=w||y>=h)return;
U8*a=rgb.data()+4*(size_t(y)*w+x);U32 sa=color&255;if(!sa)return;
U32 da=a[3],oa=sa+da*(255-sa)/255;
if(oa){a[0]=U8(((color>>24&255)*sa+a[0]*da*(255-sa)/255)/oa);
a[1]=U8(((color>>16&255)*sa+a[1]*da*(255-sa)/255)/oa);
a[2]=U8(((color>>8&255)*sa+a[2]*da*(255-sa)/255)/oa);a[3]=U8(oa);painted=true;}
}
void disc(double xx,double yy,double r,U32 col){int minX=int(std::floor(xx-r)),maxX=int(std::ceil(xx+r));int minY=int(std::floor(yy-r)),maxY=int(std::ceil(yy+r));
if(minX>w||minY>h||maxX<0||maxY<0)return;
for(int y=std::max(0,minY);y<std::min(h,maxY+1);y++)for(int x=std::max(0,minX);x<std::min(w,maxX+1);x++){
double d=(x+.5-xx)*(x+.5-xx)+(y+.5-yy)*(y+.5-yy);if(d<=r*r)px(x,y,col);
}
}
void line(XY a,XY b,double radius,U32 col){
// Bounding guard prevents huge work on offscreen geometry: clip parametric line to enlarged tile.
double dx=b.x-a.x,dy=b.y-a.y,lo=0,hi=1,m=radius+2;
auto clip=[&](double p,double q){if(std::abs(p)<1e-15)return q>=0;double t=q/p;if(p<0){if(t>hi)return false;lo=std::max(lo,t);}else{if(t<lo)return false;hi=std::min(hi,t);}return true;};
if(!clip(-dx,a.x+m)||!clip(dx,w+m-a.x)||!clip(-dy,a.y+m)||!clip(dy,h+m-a.y)||lo>hi)return;
XY p{a.x+lo*dx,a.y+lo*dy},q{a.x+hi*dx,a.y+hi*dy};
double length=std::hypot(q.x-p.x,q.y-p.y);int n=std::max(1,int(std::ceil(length*1.7)));
for(int i=0;i<=n;i++){double t=double(i)/n;disc(p.x+t*(q.x-p.x),p.y+t*(q.y-p.y),radius,col);}
}
void polygon(const std::vector<XY>&v,U32 color){if(v.size()<3)return;double minY=h,maxY=-1;
for(auto&p:v){minY=std::min(minY,p.y);maxY=std::max(maxY,p.y);}
for(int y=std::max(0,int(std::floor(minY)));y<std::min(h,int(std::ceil(maxY)));y++){
std::vector<double>cuts;double scan=y+.5;
for(size_t i=0,j=v.size()-1;i<v.size();j=i++){
auto a=v[j],b=v[i];if((a.y<=scan&&scan<b.y)||(b.y<=scan&&scan<a.y))cuts.push_back(a.x+(scan-a.y)*(b.x-a.x)/(b.y-a.y));
}
std::sort(cuts.begin(),cuts.end());for(size_t i=1;i<cuts.size();i+=2){
for(int x=std::max(0,int(std::ceil(cuts[i-1]-.5)));x<std::min(w,int(std::floor(cuts[i]-.5))+1);x++)px(x,y,color);
}
}
}
Image downsample(int factor) const {
if(factor==1)return *this;
if(w%factor||h%factor)fail("Invalid downsample factor");
Image result(w/factor);result.painted=painted;
for(int y=0;y<result.h;y++)for(int x=0;x<result.w;x++){
U32 sumA=0,sumR=0,sumG=0,sumB=0;
for(int fy=0;fy<factor;fy++)for(int fx=0;fx<factor;fx++){
const U8*p=&rgb[4*(size_t(y*factor+fy)*w+x*factor+fx)];
sumA+=p[3];sumR+=U32(p[0])*p[3];sumG+=U32(p[1])*p[3];sumB+=U32(p[2])*p[3];
}
U8*p=&result.rgb[4*(size_t(y)*result.w+x)];
p[3]=U8(sumA/(factor*factor));
if(sumA){p[0]=U8(sumR/sumA);p[1]=U8(sumG/sumA);p[2]=U8(sumB/sumA);}
}
return result;
}
std::vector<U8> png()const{
struct Buf{std::vector<U8>v;};Buf b;png_structp p=png_create_write_struct(PNG_LIBPNG_VER_STRING,nullptr,nullptr,nullptr);
if(!p)fail("libpng init failed");png_infop info=png_create_info_struct(p);if(!info){png_destroy_write_struct(&p,nullptr);fail("libpng info failed");}
if(setjmp(png_jmpbuf(p))){png_destroy_write_struct(&p,&info);fail("libpng encoding failed");}
png_set_write_fn(p,&b,[](png_structp p,png_bytep d,png_size_t n){auto*buf=(Buf*)png_get_io_ptr(p);buf->v.insert(buf->v.end(),d,d+n);},[](png_structp){});
png_set_IHDR(p,info,w,h,8,PNG_COLOR_TYPE_RGBA,PNG_INTERLACE_NONE,PNG_COMPRESSION_TYPE_DEFAULT,PNG_FILTER_TYPE_DEFAULT);
png_set_compression_level(p,6);png_write_info(p,info);
std::vector<png_bytep>rows(static_cast<size_t>(h), nullptr);for(int y=0;y<h;y++)rows[size_t(y)]=const_cast<png_bytep>(rgb.data()+size_t(y)*w*4);
png_write_image(p,rows.data());png_write_end(p,nullptr);png_destroy_write_struct(&p,&info);return b.v;
}
};
static U32 rgba(int r,int g,int b,int a=255){return (U32(r)<<24)|(U32(g)<<16)|(U32(b)<<8)|U32(a);}
// Embedded Garmin TYP decoder: colors, patterned trail lines and polygon fills.
// The TYP table includes a full 1bpp bitmap for each patterned hiking-route stroke.
struct Style { U32 color=0; double width=1; U32 casing=0;double casingWidth=0;
int rows=0;std::vector<U32>pattern;bool hasPattern()const{return rows>0 && pattern.size()==size_t(32*rows);} };
struct Icon {int w=0,h=0;std::vector<U32>pixels;};
struct Styles {
std::unordered_map<int,Icon> icons;
std::unordered_map<int,Style> lines;
std::unordered_map<int,U32> areas;
int parsed=0,patterns=0,polygonStyles=0,pointStyles=0;
static U32 bgr(const U8*p){return rgba(p[2],p[1],p[0]);}
static int typeKey(U32 code,bool point=false){
U32 sw=(code>>5)|((code&31)<<11), hi=sw&(point?0x7ff:0x7f);
return (code&0x2000)?int(0x10000|(hi<<8)|(code&31)):int(point?((hi<<8)|(code&31)):hi);
}
void load(const Part& part){
if(part.size>8*1024*1024||part.size<91)return;
auto b=part.get(0,size_t(part.size));
if(std::memcmp(b.data()+2,"GARMIN TYP",10)!=0)return;
auto table=[&](int tableOff,int dataOff, auto consume){
U32 a=u32(b.data()+tableOff),step=u16(b.data()+tableOff+4),len=u32(b.data()+tableOff+6),data=u32(b.data()+dataOff);
if(step<3||step>8||len>8*1024*1024||a> b.size()||len>b.size()-a||data>=b.size())return;
for(U32 i=0;i<len/step;i++){
const U8*ent=b.data()+a+size_t(i)*step;
U32 off=0;for(U32 k=2;k<step;k++)off|=U32(ent[k])<<(8*(k-2));
if(off>b.size()-data-1)continue;
U32 raw=u16(ent);consume(typeKey(raw),b.data()+data+off,b.size()-data-off);
}
};
// The point table has a different 11-bit type-mask. Read it independently.
{
const U32 a=u32(b.data()+0x33),step=u16(b.data()+0x37),len=u32(b.data()+0x39),data=u32(b.data()+0x17);
if(step>=3&&step<=8&&len<1000000&&a+len<=b.size()&&data<b.size()){
for(U32 i=0;i<len/step;i++){
const U8*e=b.data()+a+size_t(i)*step;
U32 rel=0;for(U32 j=2;j<step;j++)rel|=U32(e[j])<<(8*(j-2));
if(rel>=b.size()-data)continue;
const U8*d=b.data()+data+rel;size_t nbytes=b.size()-data-rel;
if(nbytes<8)continue;
int w=d[1],h=d[2],nc=d[3],mode=d[4];
if(w<4||w>40||h<4||h>40||nc<1||nc>128)continue;
int bits=0;
if(mode==0){bits=(nc<3?nc:nc==3?2:nc<16?4:8);}
else if(mode==0x10){bits=(nc<3?2:nc<15?4:8);}
else if(mode==0x20){bits=(nc<3?nc:nc<4?2:nc<16?4:8);}
else continue;
if(bits<1||bits>8)continue;
int stride=(w*bits+7)/8;size_t off=5;
if(off+size_t(nc)*3+size_t(h*stride)>nbytes)continue;
if(mode==0x20)continue; // alpha point palette not yet implemented
std::vector<U32>palette(size_t(1)<<bits,0);
for(int c=0;c<nc;c++)palette[size_t(c)]=bgr(d+off+size_t(c)*3);
off+=size_t(nc)*3;
Icon icon;icon.w=w;icon.h=h;icon.pixels.resize(size_t(w)*h,0);
bool nonEmpty=false;
for(int y=0;y<h;y++)for(int x=0;x<w;x++){
size_t bit=size_t(y)*stride*8+size_t(x)*bits;
int index=(d[off+bit/8]>>(bit%8))&((1<<bits)-1);
U32 c=palette[size_t(index)];icon.pixels[size_t(y)*w+x]=c;
nonEmpty|=(c&255)!=0;
}
int type=typeKey(u16(e),true);
if(nonEmpty){icons[type]=std::move(icon);pointStyles++;}
}
}
}
table(0x3d,0x1f,[&](int key,const U8*d,size_t length){
if(length<8)return;int mode=d[0]&7,rows=d[0]>>3;Style style;
size_t q=2;
auto take=[&]()->U32{if(q+3>length)return 0;auto c=bgr(d+q);q+=3;return c;};
if(rows>0&&rows<=31){
U32 foreground=take(),background=0;
if(mode==0||mode==1||mode==5)background=take();
if(mode==1){take();take();}
if(mode==3){take();take();}else if(mode==5||mode==7){take();}
if(q+size_t(rows)*4>length)return;
style.rows=rows;style.width=rows;style.color=foreground;
style.pattern.reserve(size_t(rows)*32);
for(int y=0;y<rows;y++)for(int x=0;x<32;x++){
int bit=(d[q+size_t(y)*4+x/8]>>(x%8))&1;
style.pattern.push_back(bit?foreground:background);
}
patterns++;
}else if(rows==0){
U32 primary=take(),border=0;
if(mode==0||mode==1||mode==5)border=take();
if(mode==1){take();take();}
if(mode==3){take();take();}
if(mode==5||mode==7)take();
if(mode==6||mode==0||mode==1||mode==3||mode==5||mode==7){
style.color=primary;
if(q<length)style.width=std::max(0.6,double(d[q++]));
if((mode==0||mode==1)&&q<length){
style.casingWidth=double(d[q]);
if(style.casingWidth>style.width)style.casing=border;
}
style.width=std::min(style.width,15.0);style.casingWidth=std::min(style.casingWidth,17.0);
}else return;
} else return;
lines[key]=std::move(style);parsed++;
});
table(0x47,0x27,[&](int key,const U8*d,size_t length){
if(length<4)return;int kind=d[0]&15;
// Simple solid fills (6/7) and the dominant tone in 2-colour textures.
if(kind==6||kind==7||kind==1||kind==8||kind==9||kind==11||kind==13||kind==14||kind==15){
areas[key]=bgr(d+1);polygonStyles++;
}
});
}
Style line(int type)const{
auto found=lines.find(type);if(found!=lines.end())return found->second;
// Fallback only when Garmin TYP omitted this type.
if(type>=0x20&&type<=0x25)return {rgba(133,103,81,175),0.7};
if(type==0x16||type==0x17||type==0x18||type==0x19||type==0x1f)return {rgba(39,128,185),1.4};
if(type==1||type==2)return {rgba(238,174,119),2.2};
return {rgba(107,96,88),1.15};
}
U32 area(int type)const{
auto found=areas.find(type);if(found!=areas.end())return found->second;
if(type==0x32||type==0x39||type==0x3b||type==0x3c||type==0x3d||type==0x3e||type==0x3f)return rgba(210,231,196);
if(type==0x28||type==0x29||type==0x40||type==0x41)return rgba(161,203,222);
return rgba(241,240,229,140);
}
};
static Styles gStyles;
static void drawIcon(Image&img,const Icon&icon,XY pt){
if(icon.w==0||icon.h==0)return;
const int x0=int(std::round(pt.x))-icon.w*gAA/2,y0=int(std::round(pt.y))-icon.h*gAA/2;
for(int y=0;y<icon.h;y++)for(int x=0;x<icon.w;x++){
U32 c=icon.pixels[size_t(y)*icon.w+x];if(!(c&255))continue;
for(int a=0;a<gAA;a++)for(int b=0;b<gAA;b++)img.px(x0+x*gAA+b,y0+y*gAA+a,c);
}
}
static void patternedStroke(Image&img,const std::vector<XY>&poly,const Style&st){
if(poly.size()<2)return;
if(!st.hasPattern()&&st.casingWidth>st.width&&st.casing){
Style underneath;underneath.color=st.casing;underneath.width=st.casingWidth;
patternedStroke(img,poly,underneath);
}
double arc=0;
for(size_t i=1;i<poly.size();i++){
XY a=poly[i-1],b=poly[i];double dx=b.x-a.x,dy=b.y-a.y,len=std::hypot(dx,dy);
if(len<1e-6)continue;
// Pixel-center footprint and fixed phase along the FULL polyline, not per segment.
const double half=gAA*(st.hasPattern()?std::max(0.5,st.rows*.5):std::max(.5,st.width*.5));
int x0=std::max(0,int(std::floor(std::min(a.x,b.x)-half-1))),x1=std::min(img.w-1,int(std::ceil(std::max(a.x,b.x)+half+1)));
int y0=std::max(0,int(std::floor(std::min(a.y,b.y)-half-1))),y1=std::min(img.h-1,int(std::ceil(std::max(a.y,b.y)+half+1)));
if(x0<=x1&&y0<=y1)for(int y=y0;y<=y1;y++)for(int x=x0;x<=x1;x++){
double t=((x+.5-a.x)*dx+(y+.5-a.y)*dy)/(len*len);
if(t<0||t>1)continue;
double perp=((x+.5-a.x)*(-dy)+(y+.5-a.y)*dx)/len;
if(st.hasPattern()){
int py=int(std::floor(perp/gAA+st.rows*.5));if(py<0||py>=st.rows)continue;
int px=int(std::floor((arc+t*len)/gAA))%32;
U32 c=st.pattern[size_t(py)*32+px];if(c&255)img.px(x,y,c);
}else if(std::abs(perp)<=gAA*st.width*.5){img.px(x,y,st.color);}
}
// Round end caps improve multi-segment continuity where segments meet.
if(!st.hasPattern())img.disc(b.x,b.y,gAA*st.width*.5,st.color);
arc+=len;
}
}
// Bitstream for classic Garmin polyline geometry (LSB first).
struct Bits{
const U8*p;size_t bytes,pos=0;explicit Bits(const U8*b,size_t n):p(b),bytes(n){}
U32 get(int count){if(count<0||count>31||pos+size_t(count)>bytes*8)fail("short Garmin geometry bitstream");
U32 v=0;for(int i=0;i<count;i++){size_t at=pos++;v|=U32((p[at/8]>>(at%8))&1)<<i;}return v;}
size_t available()const{return bytes*8-pos;}
};
static int coordBits(int base,bool signedVals){int n=2+(base<=9?base:2*base-9)+(signedVals?1:0);return n;}
static std::vector<std::pair<double,double>> decodePoly(const U8*p,size_t avail,int cx,int cy,int shift,bool isLine,bool extended,int&type,size_t&used){
std::vector<std::pair<double,double>>pts; used=0;
if(extended){
if(avail<8)return pts;type=0x10000+(int(p[0])<<8)+(p[1]&0x1f);int dx=s16(p+2),dy=s16(p+4);
size_t k=6;int blen=0;if((p[k]&1)==0){if(avail<k+2)return pts;blen=int(u16(p+k)>>2)-1;k+=2;}else {blen=int(p[k]>>1)-1;k++;}
if(blen<0||blen>65536||avail<k+1+size_t(blen))return pts;
U8 base=p[k++];const U8*payload=p+k;used=k+size_t(blen)+((p[1]&0x20)?3:0);if(used>avail)return {};
int bx=0,by=0;bool xs=true,ys=true;int nx=1,ny=1;Bits b(payload,size_t(blen));
if(b.available()<4)return pts;
bool xSame=b.get(1);if(xSame){xs=false;nx=b.get(1)?-1:1;}bool ySame=b.get(1);if(ySame){ys=false;ny=b.get(1)?-1:1;}bool extra=b.get(1);
bx=coordBits(base&15,xs)+(extra?1:0);by=coordBits(base>>4,ys)+(extra?1:0);
if(bx>29||by>29)return pts;
int x=cx+(dx*(1<<shift)),y=cy+(dy*(1<<shift));pts.emplace_back(geo(x),geo(y));
for(int i=0;i<12000&&b.available()>=size_t(bx+by);i++){
auto signedDelta=[&](int n,bool haveSign,int direction){
int v=int(b.get(n));if(!haveSign)return v*direction;
const int sign=1<<(n-1);
int accum=0;
while(v==sign && b.available()>=size_t(n)){accum+=v-1;v=int(b.get(n));}
return v<sign?accum+v:v-2*sign-accum;
};
int vx=signedDelta(bx,xs,nx),vy=signedDelta(by,ys,ny);
x+=vx*(1<<shift);y+=vy*(1<<shift);pts.emplace_back(geo(x),geo(y));
}return pts;
}
if(avail<10)return pts;
bool longlen=(p[0]&0x80)!=0;type=p[0]&(isLine?0x3f:0x7f);int dx=s16(p+4),dy=s16(p+6);
size_t k=8;int blen=longlen?int(u16(p+k)):int(p[k]);k+=longlen?2:1;
if(blen<0||blen>65536||avail<k+1+size_t(blen))return pts;
U8 base=p[k++];const U8*payload=p+k;used=k+size_t(blen);
if(!blen)return pts;
Bits b(payload,size_t(blen));bool xs=true,ys=true;int nx=1,ny=1;
if(!b.available())return pts;
bool xSame=b.get(1);if(xSame){xs=false;nx=b.get(1)?-1:1;}bool ySame=b.get(1);if(ySame){ys=false;ny=b.get(1)?-1:1;}
int bx=coordBits(base&15,xs),by=coordBits(base>>4,ys);
if(bx>29||by>29)return pts;
int x=cx+(dx*(1<<shift)),y=cy+(dy*(1<<shift));pts.emplace_back(geo(x),geo(y));
bool extra=(u24(p+1)&0x400000)!=0;
for(int i=0;i<12000&&b.available()>=size_t(bx+by+(extra?1:0));i++){
if(extra)b.get(1);
auto signedDelta=[&](int n,bool haveSign,int direction){
int v=int(b.get(n));if(!haveSign)return v*direction;
const int sign=1<<(n-1);
int accum=0;
while(v==sign && b.available()>=size_t(n)){accum+=v-1;v=int(b.get(n));}
return v<sign?accum+v:v-2*sign-accum;
};
int vx=signedDelta(bx,xs,nx),vy=signedDelta(by,ys,ny);
x+=vx*(1<<shift);y+=vy*(1<<shift);pts.emplace_back(geo(x),geo(y));
}return pts;
}
struct Label {XY pt;std::string value;int priority=0;};
#ifdef __linux__
// Optional runtime integration with libcairo: no separate GIS or font package is shipped.
struct Cairo {
void*module=nullptr;
using Surface=void;using Context=void;
Surface*(*createSurface)(int,int,int)=nullptr;
Context*(*createContext)(Surface*)=nullptr;
void(*destroyContext)(Context*)=nullptr;
void(*destroySurface)(Surface*)=nullptr;
void(*flush)(Surface*)=nullptr;
unsigned char*(*pixels)(Surface*)=nullptr;
int(*stride)(Surface*)=nullptr;
void(*font)(Context*,const char*,int,int)=nullptr;
void(*size)(Context*,double)=nullptr;
void(*color)(Context*,double,double,double,double)=nullptr;
void(*move)(Context*,double,double)=nullptr;
void(*text)(Context*,const char*)=nullptr;
bool available=false;
Cairo(){
module=dlopen("libcairo.so.2",RTLD_LAZY|RTLD_LOCAL);if(!module)return;
auto bind=[&](auto&f,const char*name){void*p=dlsym(module,name);static_assert(sizeof(f)==sizeof(p));std::memcpy(&f,&p,sizeof(p));return p!=nullptr;};
available=bind(createSurface,"cairo_image_surface_create")&&bind(createContext,"cairo_create")&&
bind(destroyContext,"cairo_destroy")&&bind(destroySurface,"cairo_surface_destroy")&&
bind(flush,"cairo_surface_flush")&&bind(pixels,"cairo_image_surface_get_data")&&
bind(stride,"cairo_image_surface_get_stride")&&bind(font,"cairo_select_font_face")&&
bind(size,"cairo_set_font_size")&&bind(color,"cairo_set_source_rgba")&&
bind(move,"cairo_move_to")&&bind(text,"cairo_show_text");
}
~Cairo(){if(module)dlclose(module);}
};
static Cairo cairo;
#endif
static void drawLabels(Image& img,std::vector<Label>&labels){
#ifdef __linux__
if(!cairo.available||labels.empty())return;
auto*surface=cairo.createSurface(0,img.w,img.h);if(!surface)return;
auto*cr=cairo.createContext(surface);if(!cr){cairo.destroySurface(surface);return;}
cairo.font(cr,"DejaVu Sans",0,0);cairo.size(cr,10*gAA);
std::vector<std::array<double,4>> placed;
std::stable_sort(labels.begin(),labels.end(),[](const Label&a,const Label&b){return a.priority>b.priority;});
int counter=0;
for(const auto&label:labels){
if(label.value.empty()||counter>=85)continue;
double px=label.pt.x,py=label.pt.y;
if(px<-20*gAA||py<-20*gAA||px>=img.w+20*gAA||py>=img.h+20*gAA)continue;
int nch=0;for(unsigned char c:label.value)if((c&0xc0)!=0x80)nch++;
if(nch==0||nch>55)continue;
double tw=std::max(15.0,5.7*nch)*gAA,th=11.0*gAA;
double lx=px-tw*.5,ly=py-th*.5;
bool crowded=false;
for(const auto&rect:placed){if(lx<rect[2]+4*gAA&&lx+tw+4*gAA>rect[0]&&ly<rect[3]+4*gAA&&ly+th+4*gAA>rect[1]){crowded=true;break;}}
if(crowded)continue;
placed.push_back({lx,ly,lx+tw,ly+th});counter++;
double x=lx,y=py+3*gAA;
cairo.color(cr,1,1,1,.92);
for(int dy=-1;dy<=1;dy++)for(int dx=-1;dx<=1;dx++){
if(!dx&&!dy)continue;cairo.move(cr,x+dx*gAA,y+dy*gAA);cairo.text(cr,label.value.c_str());
}
cairo.color(cr,.10,.13,.13,.92);cairo.move(cr,x,y);cairo.text(cr,label.value.c_str());
}
cairo.flush(surface);
unsigned char*data=cairo.pixels(surface);int stride=cairo.stride(surface);
if(data&&stride>=img.w*4)for(int y=0;y<img.h;y++)for(int x=0;x<img.w;x++){
U8*v=data+size_t(y)*stride+x*4;int alpha=v[3];if(!alpha)continue;
// Cairo ARGB32 in little-endian memory: BGRA premultiplied.
int r=std::min(255,int(v[2])*255/alpha),g=std::min(255,int(v[1])*255/alpha),b=std::min(255,int(v[0])*255/alpha);
img.px(x,y,rgba(r,g,b,alpha));
}
cairo.destroyContext(cr);cairo.destroySurface(surface);
#else
(void)img;(void)labels;
#endif
}
struct Options{std::string input,output;int minZoom=10,maxZoom=14;bool info=false,fill=false,overwrite=false,resume=false,verbose=false,wholeMap=false,maxTilesExplicit=false,plan=false;BBox bbox;bool customBBox=false;U64 maxTiles=100000,maxBytes=2ULL*1024*1024*1024;int aa=2;};
static void help(){std::cout<<"garmin2osmand 0.3 - C++ Garmin IMG to OsmAnd SQLite raster map\n"
"Usage: garmin2osmand --input MAP.img --output map.sqlitedb [options]\n"
" --info inspect IMG without rendering\n"
" --bbox W,S,E,N optional geographic region; omit for all mapped areas\n"
" --whole-map entire IMG coverage; unlimited candidate budget by default\n"
" --plan calculate tile counts only (no database created)\n"
" --min-zoom N lowest zoom (default 10)\n"
" --max-zoom N highest zoom (default 14)\n"
" --max-tiles N candidate tile limit (default 100000, 0 = unlimited)\n"
" --max-bytes N output limit (default 2147483648, 0 = unlimited)\n"
" --resume resume with completed-row checkpoints\n"
" --overwrite replace existing output\n"
" --fill create opaque map tiles (default transparent overlay)\n"
" --verbose print detailed per-zoom progress\n"
" --help show this message\n";}
static Options args(int argc,char**argv){Options o;
for(int i=1;i<argc;i++){
std::string a=argv[i];auto value=[&](){if(i+1>=argc)fail("Missing value for "+a);return std::string(argv[++i]);};
if(a=="--help"||a=="-h"){help();std::exit(0);}else if(a=="--input")o.input=value();else if(a=="--output")o.output=value();
else if(a=="--aa")o.aa=std::stoi(value());else if(a=="--min-zoom")o.minZoom=std::stoi(value());else if(a=="--max-zoom")o.maxZoom=std::stoi(value());
else if(a=="--max-tiles"){o.maxTiles=std::stoull(value());o.maxTilesExplicit=true;}else if(a=="--max-bytes")o.maxBytes=std::stoull(value());
else if(a=="--resume")o.resume=true;else if(a=="--overwrite")o.overwrite=true;
else if(a=="--plan")o.plan=true;else if(a=="--whole-map")o.wholeMap=true;else if(a=="--info")o.info=true;else if(a=="--fill")o.fill=true;else if(a=="--verbose")o.verbose=true;
else if(a=="--bbox"){
auto v=value();std::replace(v.begin(),v.end(),',',' ');double w,s,e,n;
if(sscanf(v.c_str(),"%lf %lf %lf %lf",&w,&s,&e,&n)!=4)fail("Bad --bbox");o.bbox={w,s,e,n};o.customBBox=true;
}else fail("Unknown argument "+a);
}
if(o.input.empty())fail("--input MAP.img required");if(!o.info&&!o.plan&&o.output.empty())fail("--output required");
if(o.minZoom<0||o.maxZoom>19||o.minZoom>o.maxZoom)fail("Zoom range must satisfy 0 <= min <= max <= 19");
if(o.customBBox&&(!o.bbox.valid()||o.bbox.s< -85.05112878||o.bbox.n>85.05112878))fail("Invalid --bbox (must be normal bounds within Web Mercator)");
if(o.aa!=1&&o.aa!=2)fail("--aa must be 1 or 2");gAA=o.aa;
if(o.resume&&o.overwrite)fail("Use only one of --resume or --overwrite");
if(o.wholeMap&&o.customBBox)fail("Use --whole-map without --bbox");
if(o.wholeMap&&!o.maxTilesExplicit)o.maxTiles=0;
return o;
}
struct Db{
sqlite3*db=nullptr;sqlite3_stmt*insert=nullptr;sqlite3_stmt*exists=nullptr;sqlite3_stmt*checkpoint=nullptr;
explicit Db(const Options&o,const BBox&box){int rc=sqlite3_open_v2(o.output.c_str(),&db,SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE,nullptr);if(rc!=SQLITE_OK)fail("sqlite open: "+std::string(sqlite3_errmsg(db)));
exec("PRAGMA journal_mode=TRUNCATE");exec("PRAGMA synchronous=NORMAL");exec("PRAGMA cache_size=-2048");
exec("CREATE TABLE IF NOT EXISTS tiles (x integer,y integer,z integer,s integer,image blob,PRIMARY KEY(x,y,z,s))");
exec("CREATE TABLE IF NOT EXISTS info (tilenumbering,minzoom,maxzoom,title,tilesize,ellipsoid,inverted_y,timecolumn)");
exec("CREATE TABLE IF NOT EXISTS progress (z integer PRIMARY KEY, y integer NOT NULL)");
exec("CREATE TABLE IF NOT EXISTS converter_settings (key text PRIMARY KEY, value text NOT NULL)");
std::ostringstream ss;ss<<std::setprecision(16)<<fs::file_size(o.input)<<'|'<<box.w<<','<<box.s<<','<<box.e<<','<<box.n<<'|'<<o.minZoom<<'-'<<o.maxZoom<<'|'<<o.fill<<'|'<<o.aa;
std::string signature=ss.str();
sqlite3_stmt*set=nullptr;
check(sqlite3_prepare_v2(db,"SELECT value FROM converter_settings WHERE key='config'",-1,&set,nullptr));
const int result=sqlite3_step(set);
if(result==SQLITE_ROW){std::string old=reinterpret_cast<const char*>(sqlite3_column_text(set,0));sqlite3_finalize(set);
if(old!=signature)fail("Resume settings do not match the existing database (IMG size/bbox/zoom/fill/AA). Use the exact original options or --overwrite.");
}else{sqlite3_finalize(set);
if(o.resume)std::cerr<<"Warning: resuming a legacy database without settings fingerprint; existing tile checks remain active\n";
sqlite3_stmt*put=nullptr;check(sqlite3_prepare_v2(db,"INSERT OR REPLACE INTO converter_settings VALUES('config',?)",-1,&put,nullptr));
sqlite3_bind_text(put,1,signature.c_str(),-1,SQLITE_TRANSIENT);
check(sqlite3_step(put)==SQLITE_DONE?SQLITE_OK:SQLITE_ERROR);sqlite3_finalize(put);
}
// OsmAnd uses standard XYZ numbering for tilenumbering='simple'.
if(o.resume){
sqlite3_stmt*st=nullptr;check(sqlite3_prepare_v2(db,"SELECT tilenumbering,minzoom,maxzoom FROM info LIMIT 1",-1,&st,nullptr));
if(sqlite3_step(st)!=SQLITE_ROW || std::string(reinterpret_cast<const char*>(sqlite3_column_text(st,0)))!="simple"
|| sqlite3_column_int(st,1)!=o.minZoom || sqlite3_column_int(st,2)!=o.maxZoom){
sqlite3_finalize(st);fail("Resume requires matching OsmAnd simple XYZ tile metadata and zoom range");
}
sqlite3_finalize(st);
}
if(!o.resume){exec("DELETE FROM info");sqlite3_stmt*st=nullptr;const char*q="INSERT INTO info VALUES ('simple',?,?,?,256,0,0,'no')";
check(sqlite3_prepare_v2(db,q,-1,&st,nullptr));sqlite3_bind_int(st,1,o.minZoom);sqlite3_bind_int(st,2,o.maxZoom);
sqlite3_bind_text(st,3,"Garmin IMG overlay",-1,SQLITE_STATIC);check(sqlite3_step(st)==SQLITE_DONE?SQLITE_OK:SQLITE_ERROR);sqlite3_finalize(st);
}
check(sqlite3_prepare_v2(db,"INSERT OR REPLACE INTO tiles(x,y,z,s,image) VALUES (?,?,?,0,?)",-1,&insert,nullptr));
check(sqlite3_prepare_v2(db,"SELECT 1 FROM tiles WHERE x=? AND y=? AND z=? AND s=0",-1,&exists,nullptr));
check(sqlite3_prepare_v2(db,"INSERT INTO progress(z,y) VALUES(?,?) ON CONFLICT(z) DO UPDATE SET y=excluded.y",-1,&checkpoint,nullptr));exec("BEGIN");
}
~Db(){if(insert)sqlite3_finalize(insert);if(exists)sqlite3_finalize(exists);if(checkpoint)sqlite3_finalize(checkpoint);if(db){sqlite3_exec(db,"COMMIT",nullptr,nullptr,nullptr);sqlite3_close(db);}}
void check(int rc){if(rc!=SQLITE_OK)fail("SQLite failure: "+std::string(sqlite3_errmsg(db)));}
void exec(const char*s){char*err=nullptr;int rc=sqlite3_exec(db,s,nullptr,nullptr,&err);if(rc!=SQLITE_OK){std::string msg=err?err:"sqlite error";sqlite3_free(err);fail(msg);}}
bool has(int x,int y,int z){sqlite3_reset(exists);sqlite3_bind_int(exists,1,x);sqlite3_bind_int(exists,2,y);sqlite3_bind_int(exists,3,z);return sqlite3_step(exists)==SQLITE_ROW;}
void put(int x,int y,int z,const std::vector<U8>&data){sqlite3_reset(insert);sqlite3_clear_bindings(insert);
sqlite3_bind_int(insert,1,x);sqlite3_bind_int(insert,2,y);sqlite3_bind_int(insert,3,z);
check(sqlite3_bind_blob(insert,4,data.data(),int(data.size()),SQLITE_TRANSIENT));
if(sqlite3_step(insert)!=SQLITE_DONE)fail(sqlite3_errmsg(db));
}
int lastRow(int z){
sqlite3_stmt*st=nullptr;check(sqlite3_prepare_v2(db,"SELECT y FROM progress WHERE z=?",-1,&st,nullptr));
sqlite3_bind_int(st,1,z);int y=std::numeric_limits<int>::min();if(sqlite3_step(st)==SQLITE_ROW)y=sqlite3_column_int(st,0);
sqlite3_finalize(st);return y;
}
void markRow(int z,int y){sqlite3_reset(checkpoint);sqlite3_clear_bindings(checkpoint);
sqlite3_bind_int(checkpoint,1,z);sqlite3_bind_int(checkpoint,2,y);
if(sqlite3_step(checkpoint)!=SQLITE_DONE)fail(sqlite3_errmsg(db));
}
void flush(){exec("COMMIT");exec("BEGIN");}
};
static BBox tileBounds(int z,int x,int y){double n=double(U64(1)<<z);return BBox{(double(x)/n)*360-180,invMercY((double(y)+1)/n), (double(x+1)/n)*360-180,invMercY(double(y)/n)};}
static XY project(double lon,double lat,int z,int tx,int ty){double world=256*double(U64(1)<<z);return XY{gAA*(mercX(lon)*world-tx*256),gAA*(mercY(lat)*world-ty*256)};}
static int chooseBits(const Map&m,int z){int target=std::min(24,z+8),bits=-1,diff=99;for(const auto&l:m.levels){int d=std::abs(l.bits-target);if(d<diff){diff=d;bits=l.bits;}}return bits;}
static void drawMapTile(const Map&m,int z,int x,int y,const BBox&b,Image&img,std::vector<Label>&labels){
const auto&r=m.sections.at("RGN");int bits=chooseBits(m,z);if(bits<0)return;
auto it=m.byBits.find(bits);if(it==m.byBits.end())return;
std::vector<int> selected;std::set<int> seen;
auto append=[&](int index){if(seen.insert(index).second)selected.push_back(index);};
auto broad=m.broadByBits.find(bits);
if(broad!=m.broadByBits.end())for(int index:broad->second)append(index);
auto bucket=m.cellsByBits.find(bits);
if(bucket!=m.cellsByBits.end()){
for(int yy=int(std::floor(b.s));yy<=int(std::floor(b.n));yy++)
for(int xx=int(std::floor(b.w));xx<=int(std::floor(b.e));xx++){
auto found=bucket->second.find((xx+180)*256+(yy+90));
if(found!=bucket->second.end())for(int index:found->second)append(index);
}
}
for(int pass=0;pass<4;pass++)for(int index:selected){const auto&s=m.subs[size_t(index)];if(!s.bounds.overlaps(b))continue;
// Limit reads to 8 MiB for a subdivision; prevents unbounded memory growth on malformed input.
if(s.to<s.from||s.to-s.from>8*1024*1024)continue;
auto buf=r.get(s.from,s.to-s.from);if(buf.empty())continue;
int n=bool(s.flags&0x10)+bool(s.flags&0x20)+bool(s.flags&0x40)+bool(s.flags&0x80);
if(n==0 || buf.size()<size_t((n-1)*2))continue;
std::array<size_t,4>start{};size_t p=0,last=std::max(0,(n-1)*2);
for(int k=0;k<4;k++)if(s.flags&(0x10<<k)){
size_t off=(p==0?last:u16(buf.data()+2*(p-1)));start[size_t(k)]=off;p++;
}
bool offsetsValid=true;size_t previous=0;
for(int k=0;k<4;k++)if(s.flags&(0x10<<k)){
if(start[size_t(k)]<previous||start[size_t(k)]>buf.size())offsetsValid=false;
previous=start[size_t(k)];
}
if(!offsetsValid)continue;
auto drawList=[&](size_t startAt,size_t endAt,bool line,bool extended){
if(startAt>=buf.size()||endAt>buf.size()||startAt>=endAt)return;
size_t pos=startAt;int guard=0;
while(pos<endAt&&guard++<50000){int ty=0;size_t used=0;
size_t initial=pos;
auto coord=decodePoly(buf.data()+pos,endAt-pos,s.cx,s.cy,s.shift,line,extended,ty,used);
if(!used)break;pos+=used;if(coord.size()<(line?2:3))continue;
std::vector<XY>poly;poly.reserve(coord.size());
for(const auto&v:coord)if(std::abs(v.first)<=180&&std::abs(v.second)<=90)
poly.push_back(project(v.first,v.second,z,x,y));
if(line){
if(z>=15&&poly.size()>1&&!extended&&initial+4<=buf.size()){
U32 lbl=u24(buf.data()+initial+1);
if(!(lbl&0x800000)){auto name=m.label(lbl&0x3fffff);
if(ty>=0x20&&ty<=0x25&&!name.empty()){
try{size_t idx=0;double feet=std::stod(name,&idx);
if(idx>0&&idx==name.size())name=std::to_string(int(std::lround(feet/3.28084)))+" m";
}catch(const std::exception&){}
}
if(!name.empty()&&std::hypot(poly.front().x-poly.back().x,poly.front().y-poly.back().y)>25*gAA)
labels.push_back({poly[poly.size()/2],name,(ty>=0x20&&ty<=0x25)?0:1});
}
}
auto st=gStyles.line(ty);patternedStroke(img,poly,st);
}
else img.polygon(poly,gStyles.area(ty));
}
};
// Draw background polygons before lines. Classic subdivision layout: point, indexed point, line, polygon.
if(pass==0 && (s.flags&0x80))drawList(start[3],buf.size(),false,false);
if(pass==1 && (s.flags&0x40))drawList(start[2],(s.flags&0x80)?start[3]:buf.size(),true,false);
// Points and extended features: extended sections are read independently.
if(pass==3 && z>=15)for(int k=0;k<2;k++){
if(!(s.flags&(0x10<<k)))continue;
size_t st=start[size_t(k)];size_t en=buf.size();for(int kk=k+1;kk<4;kk++)if(s.flags&(0x10<<kk)){en=start[size_t(kk)];break;}
for(size_t o=st;o+8<=en;){U8 type=buf[o];U32 info=u24(buf.data()+o+1);int xx=s.cx+s16(buf.data()+o+4)*(1<<s.shift),yy=s.cy+s16(buf.data()+o+6)*(1<<s.shift);
int fullType=(int(type)<<8)|((info&0x800000)&&o+8<en?buf[o+8]:0);
XY pt=project(geo(xx),geo(yy),z,x,y);
auto icon=gStyles.icons.find(fullType);
if(icon!=gStyles.icons.end())drawIcon(img,icon->second,pt);
if(z>=15&& !(info&0x400000)){auto name=m.label(info&0x3fffff);
if(!name.empty())labels.push_back({XY{pt.x,pt.y+11*gAA},name,2});}
o+=((info&0x800000)?9:8);
}
}
for(int k=0;k<3;k++){
if(k==0&&pass!=0)continue;
if(k==1&&pass!=2)continue;
if(k==2&&(pass!=3||z<15))continue;
if(!s.extLen[size_t(k)]||s.extLen[size_t(k)]>8*1024*1024)continue;
auto ext=r.get(s.extFrom[size_t(k)],s.extLen[size_t(k)]);
if(k==2){for(size_t o=0;o+6<=ext.size();){U8 sub=ext[o+1];size_t step=6+bool(sub&0x80)+3*bool(sub&0x20);if(o+step>ext.size())break;
int xx=s.cx+s16(ext.data()+o+2)*(1<<s.shift),yy=s.cy+s16(ext.data()+o+4)*(1<<s.shift);
auto p=project(geo(xx),geo(yy),z,x,y);
int fullType=0x10000+(int(ext[o])<<8)+(sub&31);
auto icon=gStyles.icons.find(fullType);
if(icon!=gStyles.icons.end())drawIcon(img,icon->second,p);
o+=step;
}}else{
size_t off=0;for(int guard=0;off<ext.size()&&guard<50000;guard++){
int ty=0;size_t used=0;auto coords=decodePoly(ext.data()+off,ext.size()-off,s.cx,s.cy,s.shift,k==1,true,ty,used);
if(!used)break;off+=used;if(coords.size()<(k==1?2u:3u))continue;
std::vector<XY>ps;ps.reserve(coords.size());for(auto&v:coords)if(std::abs(v.first)<=180&&std::abs(v.second)<=90)
ps.push_back(project(v.first,v.second,z,x,y));
if(k==1){auto st=gStyles.line(ty);patternedStroke(img,ps,st);}
else img.polygon(ps,gStyles.area(ty));
}
}
}
}
}
static void run(const Options&o){MapSet set(o.input);
for(const auto&[name,parts]:set.parts){auto it=parts.find("TYP");if(it!=parts.end()){gStyles.load(it->second);break;}}
std::cerr<<"Embedded Garmin TYP: "<<gStyles.parsed<<" line styles, "<<gStyles.patterns<<" patterned, "<<gStyles.polygonStyles<<" area styles, "<<gStyles.pointStyles<<" point icons\n";
std::cout<<"Maps: "<<set.maps.size()<<"\n";
for(const auto&m:set.maps){std::cout<<" "<<m.name<<" bounds="<<m.bounds.w<<","<<m.bounds.s<<","<<m.bounds.e<<","<<m.bounds.n<<" subdivs="<<m.subs.size()<<" levels="<<m.levels.size()<<"\n";}
if(o.info)return;
BBox box=o.customBBox?o.bbox:set.bounds;
box.w=std::clamp(box.w,-180.,180.);box.e=std::clamp(box.e,-180.,180.);
box.s=std::clamp(box.s,-85.05112878,85.05112878);box.n=std::clamp(box.n,-85.05112878,85.05112878);
if(!box.valid())fail("Invalid final bounding box");
// Sparse regional scheduling: union each IMG submap's tile coverage, scanline by scanline.
// This avoids allocating a 1.7M-element tile vector or iterating large uncharted rectangle gaps.
struct TileRect{int x0,x1,y0,y1;};
struct Coverage{int z=0,x0=0,x1=0,y0=0,y1=0;U64 rectangular=0,candidates=0;
std::vector<TileRect> rects;
static std::vector<std::pair<int,int>> rowRanges(const Coverage&r,int y){
std::vector<std::pair<int,int>> spans;
for(const auto&t:r.rects)if(t.y0<=y&&y<=t.y1)spans.emplace_back(t.x0,t.x1);
std::sort(spans.begin(),spans.end());
std::vector<std::pair<int,int>> merged;
for(const auto&sp:spans){
if(merged.empty()||sp.first>merged.back().second+1)merged.push_back(sp);
else merged.back().second=std::max(merged.back().second,sp.second);
}
return merged;
}
};
std::vector<Coverage> cov;U64 total=0,rectangular=0;
auto toRect=[](const BBox&bb,int z)->TileRect{
const int n=1<<z;
const double we=std::clamp(bb.w,-180.0,180.0),ea=std::clamp(bb.e,-180.0,180.0);
const double so=std::clamp(bb.s,-85.05112878,85.05112878),no=std::clamp(bb.n,-85.05112878,85.05112878);
return TileRect{std::clamp(int(std::floor(mercX(we)*n)),0,n-1),
std::clamp(int(std::floor(mercX(ea)*n)),0,n-1),
std::clamp(int(std::floor(mercY(no)*n)),0,n-1),
std::clamp(int(std::floor(mercY(so)*n)),0,n-1)};
};
for(int z=o.minZoom;z<=o.maxZoom;z++){
const auto main=toRect(box,z);Coverage r;r.z=z;r.x0=main.x0;r.x1=main.x1;r.y0=main.y0;r.y1=main.y1;
r.rectangular=U64(r.x1-r.x0+1)*U64(r.y1-r.y0+1);
for(const auto&m:set.maps){
if(!box.overlaps(m.bounds))continue;
const BBox clipped{std::max(box.w,m.bounds.w),std::max(box.s,m.bounds.s),
std::min(box.e,m.bounds.e),std::min(box.n,m.bounds.n)};
if(!clipped.valid())continue;
auto t=toRect(clipped,z);
t.x0=std::max(t.x0,r.x0);t.x1=std::min(t.x1,r.x1);
t.y0=std::max(t.y0,r.y0);t.y1=std::min(t.y1,r.y1);
if(t.x0<=t.x1&&t.y0<=t.y1)r.rects.push_back(t);
}
for(int y=r.y0;y<=r.y1;y++){
for(const auto&span:Coverage::rowRanges(r,y))r.candidates+=U64(span.second-span.first+1);
}
std::cout<<"Zoom "<<z<<": "<<r.candidates<<" coverage candidates vs "<<r.rectangular<<" rectangular\n";
total+=r.candidates;rectangular+=r.rectangular;cov.push_back(std::move(r));
}
std::cout<<"Tile candidates: "<<total<<" (rectangle "<<rectangular<<", limit "
<<(o.maxTiles?std::to_string(o.maxTiles):"unlimited")<<")\n";
if(o.plan)return;
if(o.maxTiles&&total>o.maxTiles)fail("Tile candidate limit exceeded. Use --whole-map (unlimited by default), or raise --max-tiles N; no database was created.");
if(fs::exists(o.output)){
if(o.overwrite)fs::remove(o.output);
else if(!o.resume)fail("Output already exists (use --resume or --overwrite)");
}
Db db(o,box);U64 written=0,processed=0,resumed=0;
for(const auto&r:cov){
std::cerr<<"Zoom "<<r.z<<": "<<r.candidates<<" coverage candidate tiles\n";
const int completed=o.resume?db.lastRow(r.z):std::numeric_limits<int>::min();
for(int y=r.y0;y<=r.y1;y++){
if(y<=completed)continue; // Prior full scanline was committed atomically.
for(const auto&span:Coverage::rowRanges(r,y))for(int x=span.first;x<=span.second;x++){
processed++;if(o.resume&&db.has(x,y,r.z)){resumed++;continue;}
BBox b=tileBounds(r.z,x,y);Image img(256*gAA);std::vector<Label> labels;
if(o.fill)for(int yy=0;yy<img.h;yy++)for(int xx=0;xx<img.w;xx++)img.px(xx,yy,rgba(246,246,239));
for(const auto&m:set.maps)if(b.overlaps(m.bounds))drawMapTile(m,r.z,x,y,b,img,labels);
drawLabels(img,labels);
if(!img.painted)continue;
auto bytes=img.downsample(gAA).png();db.put(x,y,r.z,bytes);written++;
if(written%128==0){db.flush();
if(o.maxBytes&&fs::file_size(o.output)>o.maxBytes)fail("Output byte budget exceeded; database is resumable. Increase --max-bytes and repeat with --resume.");
if(o.verbose)std::cerr<<" checked="<<processed<<" written="<<written<<" already="<<resumed<<" DB="<<fs::file_size(o.output)/1048576<<"MiB\n";
}
}
db.markRow(r.z,y);db.flush();
if(o.maxBytes&&fs::file_size(o.output)>o.maxBytes)fail("Output byte budget exceeded after completed row; database is resumable. Increase --max-bytes and repeat with --resume.");
}
std::cerr<<"Zoom "<<r.z<<" complete; newly written="<<written<<"\n";
}
std::cout<<"Total candidate tiles visited="<<processed<<", already existed="<<resumed<<"\n";
if(written==0 && !o.resume)fail("No geographic features were rasterized: verify IMG format, --bbox and zoom/detail levels. Output may contain metadata only.");
std::cout<<"Finished: "<<written<<" tiles -> "<<o.output<<"\n";
}
#ifndef GARMIN_LIBRARY_MODE
int main(int argc,char**argv){try{Options o=args(argc,argv);run(o);return 0;}catch(const std::exception&e){std::cerr<<"ERROR: "<<e.what()<<"\n";return 1;}}
#endif
+254
View File
@@ -0,0 +1,254 @@
// garmin2osm: original Garmin geometry -> OSM XML (not raster), GPL-3.0-or-later.
// Shares the tested IMG/TRE/RGN/TYP decoders with garmin2osmand.
#define GARMIN_LIBRARY_MODE
#include "main.cpp"
#include <chrono>
#include <unordered_set>
#include <cctype>
namespace vector_export {
using Tags=std::vector<std::pair<std::string,std::string>>;
std::string xmlEscape(const std::string&s){std::string v;v.reserve(s.size());for(unsigned char c:s){switch(c){case '&':v+="&amp;";break;case '<':v+="&lt;";break;case '>':v+="&gt;";break;case '"':v+="&quot;";break;case '\'':v+="&apos;";break;default:if(c>=32||c==9||c==10||c==13)v+=char(c);}}return v;}
std::string code(int t){char b[20];std::snprintf(b,sizeof(b),"0x%x",t);return b;}
std::string hexColor(U32 c){char b[16];std::snprintf(b,sizeof(b),"#%02x%02x%02x",(c>>24)&255,(c>>16)&255,(c>>8)&255);return b;}
void tag(Tags&ts,std::string k,std::string v){if(!v.empty())ts.emplace_back(std::move(k),std::move(v));}
std::string makeTags(const Tags&tags){std::string out;for(auto&[k,v]:tags)out+="<tag k=\""+xmlEscape(k)+"\" v=\""+xmlEscape(v)+"\"/>";return out;}
struct Options{std::string input,output,temp;BBox bbox;bool clip=false,inspect=false,contours=false,allLevels=false,keepTemp=false;int limitMaps=0;};
Options parse(int argc,char**argv){Options o;for(int i=1;i<argc;i++){std::string a=argv[i];auto next=[&](){if(i+1>=argc)fail("Missing value for "+a);return std::string(argv[++i]);};
if(a=="--help"||a=="-h"){std::cout<<"garmin2osm v0.4 --input MAP.img --output map.osm [--bbox W,S,E,N] [--inspect] [--contours] [--keep-temp]\n";std::exit(0);}else if(a=="--input")o.input=next();else if(a=="--output")o.output=next();else if(a=="--temp")o.temp=next();else if(a=="--inspect")o.inspect=true;else if(a=="--contours")o.contours=true;else if(a=="--all-levels")o.allLevels=true;else if(a=="--keep-temp")o.keepTemp=true;else if(a=="--limit-maps")o.limitMaps=std::stoi(next());else if(a=="--bbox"){std::string s=next();std::replace(s.begin(),s.end(),',',' ');double w,ss,e,n;if(std::sscanf(s.c_str(),"%lf%lf%lf%lf",&w,&ss,&e,&n)!=4)fail("Bad bbox");o.bbox={w,ss,e,n};o.clip=true;}else fail("Unknown argument: "+a);}
if(o.input.empty())fail("--input required");if(o.output.empty()&&!o.inspect)fail("--output required");if(o.clip&&(!o.bbox.valid()||o.bbox.w< -180||o.bbox.e>180||o.bbox.s< -90||o.bbox.n>90))fail("Invalid bbox");return o;}
Tags lineTags(int t,bool ext,const std::string&name){Tags v;tag(v,"garmin:type",code(t));tag(v,"garmin:feature",ext?"extended_polyline":"polyline");tag(v,"name",name);
if(ext){ // Physical trail identity not proven: preserve Garmin overlay, mark it as a hiking path geometry.
tag(v,"highway","path");tag(v,"foot","yes");tag(v,"trailblazed","yes");tag(v,"garmin:route_overlay","yes");
const auto it=gStyles.lines.find(t);if(it!=gStyles.lines.end()&&it->second.color)tag(v,"colour",hexColor(it->second.color));return v;
}
if(t<=0x0c){const char*klass=nullptr;
switch(t){case 0:klass="road";break;case 1:klass="motorway";break;case 2:klass="primary";break;case 3:klass="secondary";break;case 4:klass="tertiary";break;case 5:klass="unclassified";break;case 6:klass="residential";break;case 7:klass="service";break;case 8:case 9:case 11:klass="motorway_link";break;case 10:klass="track";break;case 12:klass="residential";break;}
if(klass)tag(v,"highway",klass);if(t==10)tag(v,"surface","unpaved");if(t==12)tag(v,"junction","roundabout");return v;}
switch(t){case 0x0f:case 0x13:case 0x16:tag(v,"highway","path");break;
case 0x14:tag(v,"railway","rail");break;case 0x15:tag(v,"natural","coastline");break;
case 0x18:case 0x26:tag(v,"waterway","stream");if(t==0x26)tag(v,"intermittent","yes");break;
case 0x1f:tag(v,"waterway","river");break;case 0x1a:case 0x1b:tag(v,"route","ferry");break;
case 0x1c:case 0x1d:case 0x1e:tag(v,"boundary","administrative");break;
case 0x20:case 0x21:case 0x22:case 0x23:case 0x24:case 0x25:tag(v,"contour","elevation");break;
case 0x27:tag(v,"aeroway","runway");break;case 0x29:tag(v,"power","line");break;
default:break;}return v;
}
Tags areaTags(int t,const std::string&name){Tags v;tag(v,"garmin:type",code(t));tag(v,"name",name);
switch(t){case 0x01:case 0x02:case 0x03:tag(v,"landuse","residential");break;
case 0x05:tag(v,"amenity","parking");break;case 0x07:tag(v,"aeroway","aerodrome");break;
case 0x0b:tag(v,"amenity","hospital");break;case 0x0c:tag(v,"landuse","industrial");break;
case 0x13:tag(v,"building","yes");break;case 0x17:tag(v,"leisure","park");break;
case 0x18:tag(v,"leisure","golf_course");break;case 0x09:tag(v,"leisure","marina");break;
case 0x14:case 0x15:case 0x16:tag(v,"boundary","national_park");break;
case 0x28:case 0x32:tag(v,"natural","water");tag(v,"water","sea");break;
case 0x3c:case 0x3d:case 0x40:case 0x41:tag(v,"natural","water");break;
case 0x4c:tag(v,"natural","water");tag(v,"intermittent","yes");break;
case 0x4d:tag(v,"natural","glacier");break;case 0x4e:tag(v,"landuse","orchard");break;
case 0x4f:tag(v,"natural","scrub");break;case 0x50:tag(v,"natural","wood");break;
case 0x51:tag(v,"natural","wetland");break;case 0x52:tag(v,"natural","grassland");break;
default:break;}return v;
}
Tags poiTags(int t,const std::string&name){Tags v;tag(v,"garmin:type",code(t));tag(v,"garmin:feature","poi");tag(v,"name",name);
int category=(t>>8)&255,subtype=t&255;
if(t==0x6616){tag(v,"natural","peak");}
else if(t==0x6412||t==0x6503){tag(v,"tourism","information");tag(v,"information","guidepost");}
else if(t==0x650b||t==0x660b){tag(v,"tourism","information");tag(v,"information","board");}
else if(t==0x6511||t==0x6414){tag(v,"amenity","drinking_water");}
else if(t==0x6617){tag(v,"natural","peak");}
else if(t==0x6609||t==0x660a||t==0x6405){tag(v,"tourism",t==0x660a?"wilderness_hut":"alpine_hut");}
else if(t==0x6408){tag(v,"emergency","mountain_rescue");}
else if(t==0x661e||t==0x6415){tag(v,"amenity","shelter");}
else if(t==0x660c){tag(v,"natural","saddle");}
else if(t==0x6613){tag(v,"waterway","waterfall");}
else if(t==0x6407){tag(v,"tourism","picnic_site");}
else if(t==0x640d){tag(v,"aerialway","station");}
else if(t==0x6404||t==0x640b||t==0x641a||t==0x2c0b){tag(v,"amenity","place_of_worship");}
else if(t==0x6602||t==0x6608){tag(v,"tourism","viewpoint");}
else if(t==0x2800){tag(v,"place","locality");}
else if(t==0x6600){ // Geographic spot heights; don't misclassify elevations as villages.
try{size_t parsed=0;int n=std::stoi(name,&parsed);if(parsed==name.size()&&n>=0&&n<=8848)tag(v,"ele",std::to_string(n));}catch(...){}
}
else if(t==0x6614){tag(v,"garmin:marker","distance_or_index");}
else if(t==0x6500){tag(v,"man_made","water_works");}
else if(t==0x6402&&name.find("Посетителски")!=std::string::npos){tag(v,"tourism","information");tag(v,"information","office");}
else if(t==0x6411){tag(v,"man_made","tower");}
else if(t==0x6414){tag(v,"man_made","water_well");}
else if(category==0x2b){tag(v,"tourism",subtype==5?"camp_site":"hotel");}
else if(category==0x2f&&subtype==0x05){tag(v,"amenity","post_office");}
else if(category==0x2d&&subtype==0x09){tag(v,"leisure","swimming_pool");}
else if(t==0x6501){tag(v,"amenity",name.find("Ресторант")!=std::string::npos?"restaurant":"cafe");}
// Other type 0x65/0x66 map symbols are custom to this Bulgarian TYP.
// Preserve their Garmin type without asserting a false OSM POI category.
// Some Bulgarian peak labels contain elevation in metres: "Мальовица (2729)".
if(t==0x6616||t==0x6617){
const auto a=name.rfind('('),b=name.rfind(')');
if(a!=std::string::npos&&b==name.size()-1&&b>a+1){
auto digits=name.substr(a+1,b-a-1);
if(digits.size()>=2&&digits.size()<=4&&std::all_of(digits.begin(),digits.end(),[](unsigned char c){return std::isdigit(c)!=0;}))tag(v,"ele",digits);
}
}
// Unknown Garmin categories retain original code, not falsely assigned to an OSM POI class.
return v;
}
struct Store{
sqlite3*db=nullptr;sqlite3_stmt*insNode=nullptr,*getNode=nullptr,*insPoi=nullptr,*insWay=nullptr;int64_t nodes=0,ways=0,poi=0;
explicit Store(const std::string&path){if(sqlite3_open(path.c_str(),&db)!=SQLITE_OK)fail("Unable to open staging database");
sql("PRAGMA journal_mode=DELETE; PRAGMA synchronous=NORMAL; PRAGMA temp_store=FILE; PRAGMA cache_size=-16000;");
sql("CREATE TABLE nodes(id INTEGER PRIMARY KEY,lon INTEGER NOT NULL,lat INTEGER NOT NULL,tags TEXT NOT NULL DEFAULT '',UNIQUE(lon,lat));");
sql("CREATE TABLE ways(id INTEGER PRIMARY KEY,refs TEXT NOT NULL,tags TEXT NOT NULL);");
sql("CREATE TABLE pois(id INTEGER PRIMARY KEY,lon INTEGER NOT NULL,lat INTEGER NOT NULL,tags TEXT NOT NULL);");
auto prepare=[&](sqlite3_stmt**st,const char*q){if(sqlite3_prepare_v2(db,q,-1,st,nullptr)!=SQLITE_OK)fail(sqlite3_errmsg(db));};
prepare(&insNode,"INSERT OR IGNORE INTO nodes(lon,lat) VALUES(?1,?2)");
prepare(&getNode,"SELECT id FROM nodes WHERE lon=?1 AND lat=?2");
prepare(&insPoi,"INSERT INTO pois(id,lon,lat,tags) VALUES(?1,?2,?3,?4)");
prepare(&insWay,"INSERT INTO ways(refs,tags) VALUES(?1,?2)");sql("BEGIN");}
~Store(){if(db){sqlite3_finalize(insNode);sqlite3_finalize(getNode);sqlite3_finalize(insPoi);sqlite3_finalize(insWay);sqlite3_close(db);}}
void sql(const char*q){char*err=nullptr;int res=sqlite3_exec(db,q,nullptr,nullptr,&err);if(res!=SQLITE_OK){std::string message=err?err:"SQLite error";sqlite3_free(err);fail(message);}}
static int32_t quant(double v){return int32_t(std::llround(v*10000000.));}
int64_t node(double lon,double lat){if(!std::isfinite(lon)||!std::isfinite(lat)||lon< -180||lon>180||lat< -90||lat>90)return 0;
int32_t x=quant(lon),y=quant(lat);sqlite3_reset(insNode);sqlite3_clear_bindings(insNode);sqlite3_bind_int(insNode,1,x);sqlite3_bind_int(insNode,2,y);if(sqlite3_step(insNode)!=SQLITE_DONE)fail(sqlite3_errmsg(db));
sqlite3_reset(getNode);sqlite3_clear_bindings(getNode);sqlite3_bind_int(getNode,1,x);sqlite3_bind_int(getNode,2,y);
if(sqlite3_step(getNode)!=SQLITE_ROW)fail("Failed to fetch OSM node");int64_t id=sqlite3_column_int64(getNode,0);sqlite3_reset(getNode);return id;
}
void addPoi(double lon,double lat,const Tags&t){
if(!std::isfinite(lon)||!std::isfinite(lat)||std::abs(lon)>180||std::abs(lat)>90)return;
// POIs are separate OSM nodes, even when co-located with a road vertex or another POI.
// This avoids merging distinct POI identities into an intersection node.
const auto text=makeTags(t);sqlite3_reset(insPoi);sqlite3_clear_bindings(insPoi);
sqlite3_bind_int64(insPoi,1,1000000000000LL+(++poi));
sqlite3_bind_int(insPoi,2,quant(lon));sqlite3_bind_int(insPoi,3,quant(lat));
sqlite3_bind_text(insPoi,4,text.c_str(),-1,SQLITE_TRANSIENT);
if(sqlite3_step(insPoi)!=SQLITE_DONE)fail(sqlite3_errmsg(db));
}
void way(std::vector<std::pair<double,double>>&pts,bool closed,const Tags&tags){if(pts.size()<(closed?3u:2u)||tags.size()<2)return;
// Suppress malformed geographic coordinates rather than silently connecting disjoint valid vertices.
for(const auto&p:pts)if(!std::isfinite(p.first)||!std::isfinite(p.second)||std::abs(p.first)>180||std::abs(p.second)>90)return;
// Ignore consecutive coordinate duplicates, but retain all true Garmin vertices.
std::vector<int64_t>ids;ids.reserve(pts.size()+1);for(const auto&p:pts){auto id=node(p.first,p.second);if(id && (ids.empty()||ids.back()!=id))ids.push_back(id);}
if(closed&&ids.size()>=3&&ids.front()!=ids.back())ids.push_back(ids.front());
if(ids.size()<(closed?4u:2u))return;
std::ostringstream ss;for(auto i:ids){ss<<"<nd ref=\""<<i<<"\"/>";}
auto refs=ss.str(),txt=makeTags(tags);
sqlite3_reset(insWay);sqlite3_clear_bindings(insWay);sqlite3_bind_text(insWay,1,refs.c_str(),-1,SQLITE_TRANSIENT);sqlite3_bind_text(insWay,2,txt.c_str(),-1,SQLITE_TRANSIENT);
if(sqlite3_step(insWay)!=SQLITE_DONE)fail(sqlite3_errmsg(db));ways++;
}
void commit(){sql("COMMIT");sql("BEGIN");}
void output(const std::string&file){sql("COMMIT");std::ofstream out(file,std::ios::binary);if(!out)fail("Cannot write "+file);
out<<"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<osm version=\"0.6\" generator=\"garmin2osm-cpp-0.4\" upload=\"never\">\n";
sqlite3_stmt*st=nullptr;
if(sqlite3_prepare_v2(db,"SELECT id,lat,lon,tags FROM nodes ORDER BY id",-1,&st,nullptr)!=SQLITE_OK)fail(sqlite3_errmsg(db));
while(sqlite3_step(st)==SQLITE_ROW){auto id=sqlite3_column_int64(st,0);double lat=sqlite3_column_int(st,1)/10000000.,lon=sqlite3_column_int(st,2)/10000000.;const char*tags=(const char*)sqlite3_column_text(st,3);
out<<"<node id=\""<<id<<"\" version=\"1\" lat=\""<<std::fixed<<std::setprecision(7)<<lat<<"\" lon=\""<<lon<<"\">"<<(tags?tags:"")<<"</node>\n";}
sqlite3_finalize(st);st=nullptr;
if(sqlite3_prepare_v2(db,"SELECT id,lat,lon,tags FROM pois ORDER BY id",-1,&st,nullptr)!=SQLITE_OK)fail(sqlite3_errmsg(db));
while(sqlite3_step(st)==SQLITE_ROW){
out<<"<node id=\""<<sqlite3_column_int64(st,0)<<"\" version=\"1\" lat=\""<<std::fixed<<std::setprecision(7)
<<sqlite3_column_int(st,1)/10000000.<<"\" lon=\""<<sqlite3_column_int(st,2)/10000000.<<"\">"
<<(const char*)sqlite3_column_text(st,3)<<"</node>\n";
}
sqlite3_finalize(st);st=nullptr;
if(sqlite3_prepare_v2(db,"SELECT id,refs,tags FROM ways ORDER BY id",-1,&st,nullptr)!=SQLITE_OK)fail(sqlite3_errmsg(db));
while(sqlite3_step(st)==SQLITE_ROW){out<<"<way id=\""<<sqlite3_column_int64(st,0)<<"\" version=\"1\">"<<(const char*)sqlite3_column_text(st,1)<<(const char*)sqlite3_column_text(st,2)<<"</way>\n";}
sqlite3_finalize(st);out<<"</osm>\n";out.close();if(!out)fail("Output write failed");
}
};
struct Stats{std::map<std::pair<int,int>,uint64_t> byType;uint64_t lines=0,areas=0,points=0,skipped=0;};
void processMap(const Map&m,Store*db,Stats&stats,const Options&o){
const auto&r=m.sections.at("RGN");
int finest=-1,routeBpc=-1;uint64_t largest=0;std::map<int,uint64_t> extBytes;
for(const auto&lev:m.levels)finest=std::max(finest,lev.bits);
for(const auto&s:m.subs)extBytes[s.bits]+=s.extLen[1];
for(auto [b,n]:extBytes)if(n>largest){largest=n;routeBpc=b;}
if(routeBpc<0)routeBpc=finest;
std::cerr<<" map "<<m.name<<" finest="<<finest<<" extended-route-bpc="<<routeBpc<<" ";
for(auto [b,n]:extBytes)if(n)std::cerr<<b<<":"<<n/1024<<"KiB ";std::cerr<<"\n";
for(size_t index=0;index<m.subs.size();++index){const auto&s=m.subs[index];if(o.clip&&!s.bounds.overlaps(o.bbox))continue;
const bool classic=(o.allLevels||s.bits==finest),extended=(o.allLevels||s.bits==routeBpc);
if(!classic&&!extended)continue;
auto record=[&](bool line,bool ext, bool polygon, int ty, std::vector<std::pair<double,double>>&ps,const std::string&name){
if(line&&!o.contours&&ty>=0x20&&ty<=0x25&&!ext)return;
stats.byType[{ext?2:(polygon?1:0),ty}]++;
if(polygon){stats.areas++;if(db)db->way(ps,true,areaTags(ty,name));}
else{stats.lines++;if(db)db->way(ps,false,lineTags(ty,ext,name));}
};
auto parsePoly=[&](const std::vector<U8>&buf,size_t from,size_t to,bool line,bool ext){
if(from>=to||to>buf.size())return;size_t off=from;int guard=0;
while(off<to&&guard++<100000){int ty=0;size_t used=0;const U8*p=buf.data()+off;
auto coords=decodePoly(p,to-off,s.cx,s.cy,s.shift,line,ext,ty,used);
if(!used){stats.skipped++;break;}off+=used;
if(coords.size()<(line?2u:3u))continue;
std::string name;
if(!ext&&used>=4){U32 lbl=u24(p+1);name=(lbl&0x800000)?m.netLabel(lbl&0x3fffff):m.label(lbl&0x3fffff);}
if(ext){ // Garmin RGN2 V2 label resides at end of bitstream when subtype bit 0x20 is set.
if((p[1]&0x20)&&used>=3){U32 lbl=u24(p+used-3);name=m.label(lbl&0x3fffff);}
}
record(line,ext,!line,ty,coords,name);
}
};
if(classic&&s.to>=s.from&&s.to-s.from<=8*1024*1024){
auto buf=r.get(s.from,s.to-s.from);int n=bool(s.flags&0x10)+bool(s.flags&0x20)+bool(s.flags&0x40)+bool(s.flags&0x80);
if(n&&buf.size()>=size_t((n-1)*2)){
std::array<size_t,4> start{};size_t p=0,last=std::max(0,(n-1)*2);
for(int k=0;k<4;k++)if(s.flags&(0x10<<k)){size_t at=(p==0?last:u16(buf.data()+2*(p-1)));start[size_t(k)]=at;p++;}
bool valid=true;size_t previous=0;for(int k=0;k<4;k++)if(s.flags&(0x10<<k)){if(start[size_t(k)]<previous||start[size_t(k)]>buf.size())valid=false;previous=start[size_t(k)];}
if(valid){
for(int k=0;k<2;k++)if(s.flags&(0x10<<k)){
size_t begin=start[k],end=buf.size();for(int kk=k+1;kk<4;kk++)if(s.flags&(0x10<<kk)){end=start[kk];break;}
for(size_t j=begin;j+8<=end;){const U8*q=buf.data()+j;U32 inf=u24(q+1);size_t len=(inf&0x800000)?9:8;if(j+len>end)break;
int typ=(int(q[0])<<8)|((inf&0x800000)?q[8]:0);
double lon=geo(s.cx+s16(q+4)*(1<<s.shift)),lat=geo(s.cy+s16(q+6)*(1<<s.shift));
if(!o.clip || (lon>=o.bbox.w&&lon<=o.bbox.e&&lat>=o.bbox.s&&lat<=o.bbox.n)){
std::string name=(inf&0x400000)?m.poiLabel(inf&0x3fffff):m.label(inf&0x3fffff);stats.byType[{3,typ}]++;stats.points++;
if(db)db->addPoi(lon,lat,poiTags(typ,name));}
j+=len;
}
}
if(s.flags&0x40)parsePoly(buf,start[2],(s.flags&0x80)?start[3]:buf.size(),true,false);
if(s.flags&0x80)parsePoly(buf,start[3],buf.size(),false,false);
}
}
}
if(extended){for(int k=0;k<3;k++){
if(!s.extLen[k]||s.extLen[k]>8*1024*1024)continue;
auto ext=r.get(s.extFrom[k],s.extLen[k]);
if(k<2)parsePoly(ext,0,ext.size(),k==1,true);
else for(size_t at=0;at+6<=ext.size();){const U8*p=ext.data()+at;int sub=p[1];size_t len=6+bool(sub&0x80)+3*bool(sub&0x20);if(at+len>ext.size())break;
int typ=0x10000+(int(p[0])<<8)+(sub&31);
double lon=geo(s.cx+s16(p+2)*(1<<s.shift)),lat=geo(s.cy+s16(p+4)*(1<<s.shift));
if(!o.clip || (lon>=o.bbox.w&&lon<=o.bbox.e&&lat>=o.bbox.s&&lat<=o.bbox.n)){
std::string name; if(sub&0x20){U32 inf=u24(p+len-3);name=(inf&0x400000)?m.poiLabel(inf&0x3fffff):m.label(inf&0x3fffff);}
stats.byType[{3,typ}]++;stats.points++;if(db)db->addPoi(lon,lat,poiTags(typ,name));}
at+=len;}
}}
if(db&&(index%60==0))db->commit();
}
if(db)db->commit();
}
int run(int argc,char**argv){auto o=parse(argc,argv);MapSet set(o.input);
for(const auto&[n,parts]:set.parts){auto it=parts.find("TYP");if(it!=parts.end()){gStyles.load(it->second);break;}}
std::cerr<<"Maps="<<set.maps.size()<<" TYP line="<<gStyles.parsed<<" patterns="<<gStyles.patterns<<" icons="<<gStyles.pointStyles<<"\n";
std::string temp=o.temp.empty()?(o.output+".stage.sqlite"):o.temp;
if(!o.inspect&&fs::exists(temp))fail("Staging database exists: remove old file, or choose --temp newfile");
if(!o.inspect&&fs::exists(o.output))fail("Output already exists; refuse to overwrite");
std::unique_ptr<Store>store;if(!o.inspect)store=std::make_unique<Store>(temp);
Stats total;int k=0;for(const auto&m:set.maps){if(o.clip&&!m.bounds.overlaps(o.bbox))continue;if(o.limitMaps>0&&k>=o.limitMaps)break;
processMap(m,store.get(),total,o);k++;if(k%10==0)std::cerr<<"Processed "<<k<<" maps, ways="<<total.lines+total.areas<<" points="<<total.points<<"\n";}
std::cerr<<"Finished scan maps="<<k<<" lines="<<total.lines<<" polygons="<<total.areas<<" points="<<total.points<<" parseStops="<<total.skipped<<"\n";
std::vector<std::pair<std::pair<int,int>,uint64_t>>hist(total.byType.begin(),total.byType.end());std::sort(hist.begin(),hist.end(),[](const auto&a,const auto&b){return a.second>b.second;});
std::cerr<<"Top feature types (category 0=classic lines, 1=areas, 2=ext lines, 3=POIs):\n";
for(size_t i=0;i<std::min<size_t>(60,hist.size());i++)std::cerr<<hist[i].first.first<<":"<<code(hist[i].first.second)<<"="<<hist[i].second<<" ";std::cerr<<"\n";
std::cerr<<"Extended trail styles observed:\n";
for(const auto&[key,cnt]:hist){if(key.first!=2)continue;auto it=gStyles.lines.find(key.second);
std::cerr<<" "<<code(key.second)<<" count="<<cnt;
if(it!=gStyles.lines.end())std::cerr<<" colour="<<hexColor(it->second.color)<<" pattern="<<(it->second.hasPattern()?"yes":"no");
std::cerr<<"\n";
}
if(store){store->output(o.output);std::cerr<<"XML done: nodes="<<sqlite3_last_insert_rowid(store->db)<<" ways="<<store->ways<<" POIs="<<store->poi<<" => "<<o.output<<"\n";store.reset();if(!o.keepTemp)fs::remove(temp);}
return 0;
}
} // namespace vector_export
int main(int argc,char**argv){try{return vector_export::run(argc,argv);}catch(const std::exception&e){std::cerr<<"ERROR: "<<e.what()<<"\n";return 1;}}
Binary file not shown.
+56
View File
@@ -0,0 +1,56 @@
"""Generate a tiny unlocked classic Garmin IMG with one RGN vector feature.
Only for exercising the converter's control flow, NOT a real-world compatibility test.
"""
from pathlib import Path
import struct
import sys
def u24(n): return (n & 0xffffff).to_bytes(3,'little')
def coord(deg):return round(deg*(1<<24)/360)
def bitstream(values):
bits = [1,0,1,0] # x same-sign+, y same-sign+
for x,y in values:
for value in (x,y):
bits += [(value >> i)&1 for i in range(11)]
return bytes(sum(bits[i+j]<<j for j in range(min(8,len(bits)-i))) for i in range(0,len(bits),8))
def gen(dest):
blocksize=512
blob=bytearray(512*20)
blob[0x10:0x17]=b'DSKIMG\0'
blob[0x41:0x48]=b'GARMIN\0'
blob[0x61]=9;blob[0x62]=0
blob[0x40c:0x410]=(512*8).to_bytes(4,'little')
for j,(ext,block,length) in enumerate([('TRE',8,0xe0),('RGN',9,0xd0)]):
at=0x600+j*512
blob[at]=1;blob[at+1:at+9]=b'TESTMAP '
blob[at+9:at+12]=ext.encode()
struct.pack_into('<IHH',blob,at+12,length,0,0)
struct.pack_into('<H',blob,at+32,block)
struct.pack_into('<H',blob,at+34,0xffff)
tre=bytearray(0xe0)
struct.pack_into('<H',tre,0,0xc0)
tre[2:12]=b'GARMIN TRE'
for at,value in [(0x15,42.35),(0x18,25.05),(0x1b,41.85),(0x1e,24.45)]:
tre[at:at+3]=u24(coord(value))
struct.pack_into('<IIII',tre,0x21,0xc0,4,0xc4,14)
# level with bits=20 and 1 subdivision
tre[0xc0:0xc4]=bytes([0,20,1,0])
sub=bytearray(14)
sub[0:3]=u24(0);sub[3]=0x40
sub[4:7]=u24(coord(24.75))
sub[7:10]=u24(coord(42.1))
struct.pack_into('<HH',sub,10,1200,1200)
tre[0xc4:0xd2]=sub
blob[8*512:8*512+len(tre)]=tre
rgn=bytearray(0xd0)
struct.pack_into('<H',rgn,0,0x7d)
rgn[2:12]=b'GARMIN RGN'
path=bitstream([(2000,2000)]*4)
geom=bytes([0x03,0,0,0])+struct.pack('<hh',0,0)+bytes([len(path),0x99])+path
struct.pack_into('<II',rgn,0x15,0x7d,len(geom))
rgn[0x7d:0x7d+len(geom)]=geom
blob[9*512:9*512+len(rgn)]=rgn
Path(dest).write_bytes(blob)
if __name__=='__main__':gen(sys.argv[1])
+88
View File
@@ -0,0 +1,88 @@
"""Synthetic native IMG regression tests; does not assert real Garmin compatibility."""
import sqlite3
import struct
import subprocess
import sys
import tempfile
from pathlib import Path
from make_fixture import gen,coord,u24
binary=Path(sys.argv[1]); work=Path(tempfile.mkdtemp(prefix='garmin2osmand-'))
try:
classic=work/'classic.img';gen(classic)
gmp=work/'gmp.img'
original=classic.read_bytes()
b=bytearray(len(original))
b[0:0x600]=original[:0x600]
# Garmin FAT record for one GMP file, backed by four 512-byte blocks.
b[0x600]=1;b[0x601:0x609]=b'TESTMAP '
b[0x609:0x60c]=b'GMP'
struct.pack_into('<IH',b,0x60c,2048,0)
for k in range(4):struct.pack_into('<H',b,0x620+2*k,8+k)
struct.pack_into('<H',b,0x628,0xffff)
g=bytearray(2048)
struct.pack_into('<H',g,0,0x35);g[2:12]=b'GARMIN GMP'
struct.pack_into('<II',g,0x19,0x100,0x400)
tre=bytearray(original[8*512:9*512]);rgn=bytearray(original[9*512:10*512])
struct.pack_into('<II',tre,0x21,0x1c0,4)
struct.pack_into('<II',tre,0x29,0x1c4,14)
struct.pack_into('<II',rgn,0x15,0x47d,struct.unpack_from('<I',rgn,0x19)[0])
g[0x100:0x100+0xd2]=tre[:0xd2]
g[0x400:0x400+0x8b]=rgn[:0x8b]
# RGN1 data has to live at its new absolute GMP offset.
g[0x47d:0x47d+20]=rgn[0x7d:0x7d+20]
b[8*512:12*512]=g
gmp.write_bytes(b)
for kind,img in [('classic',classic),('gmp',gmp)]:
info=subprocess.run([binary,'--input',img,'--info'],capture_output=True,text=True)
assert info.returncode==0,(kind,info.stderr)
out=work/f'{kind}.sqlitedb'
cmd=[binary,'--input',img,'--output',out,'--bbox','24.5,41.85,25.05,42.35','--min-zoom','12','--max-zoom','12']
p=subprocess.run(cmd,capture_output=True,text=True)
assert p.returncode==0,(kind,p.stdout,p.stderr)
db=sqlite3.connect(out)
count=db.execute('select count(*) from tiles').fetchone()[0]
assert count>0,kind
assert db.execute('pragma integrity_check').fetchone()[0]=='ok'
assert db.execute('select hex(substr(image,1,8)) from tiles limit 1').fetchone()[0]=='89504E470D0A1A0A'
assert db.execute('select tilenumbering from info').fetchone()[0]=='simple'
db.close()
resumed=subprocess.run(cmd+['--resume'],capture_output=True,text=True)
assert resumed.returncode==0,(kind,resumed.stderr)
capped=subprocess.run(cmd[:-0]+['--max-tiles','1'] if False else
[binary,'--input',img,'--output',work/f'{kind}-cap.sqlitedb','--max-tiles','1'],capture_output=True,text=True)
assert capped.returncode!=0 and not (work/f'{kind}-cap.sqlitedb').exists()
# Plan mode must not create a DB, and --whole-map bypasses 100k budget automatically.
plan=subprocess.run([binary,'--input',img,'--whole-map','--min-zoom','12','--max-zoom','12','--plan'],capture_output=True,text=True)
assert plan.returncode==0,(kind,plan.stdout,plan.stderr)
assert 'Tile candidates:' in plan.stdout
whole=work/f'{kind}-whole.sqlitedb'
full_cmd=[binary,'--input',img,'--output',whole,'--whole-map','--min-zoom','12','--max-zoom','12']
p=subprocess.run(full_cmd,capture_output=True,text=True)
assert p.returncode==0,(kind,p.stdout,p.stderr)
with sqlite3.connect(whole) as db:
assert db.execute('pragma integrity_check').fetchone()[0]=='ok'
assert db.execute('select count(*) from tiles').fetchone()[0]>0
assert db.execute('select count(*) from progress').fetchone()[0]>0
assert db.execute('select count(*) from converter_settings').fetchone()[0]==1
original=db.execute('select count(*) from tiles').fetchone()[0]
resumed=subprocess.run(full_cmd+['--resume'],capture_output=True,text=True)
assert resumed.returncode==0 and 'candidate tiles visited=0' in resumed.stdout,(kind,resumed.stdout,resumed.stderr)
with sqlite3.connect(whole) as db:
assert db.execute('select count(*) from tiles').fetchone()[0]==original
changed=subprocess.run(full_cmd+['--resume','--aa','1'],capture_output=True,text=True)
assert changed.returncode!=0 and 'Resume settings do not match' in changed.stderr
# Force a small byte budget to exercise persistent scanline checkpoints.
limited=work/f'{kind}-limited.sqlitedb'
lim_cmd=[binary,'--input',img,'--output',limited,'--whole-map','--min-zoom','12','--max-zoom','12']
failrun=subprocess.run(lim_cmd+['--max-bytes','1'],capture_output=True,text=True)
assert failrun.returncode!=0 and limited.is_file()
recovery=subprocess.run(lim_cmd+['--max-bytes','100000000','--resume'],capture_output=True,text=True)
assert recovery.returncode==0,(kind,recovery.stdout,recovery.stderr)
with sqlite3.connect(limited) as db:
assert db.execute('pragma integrity_check').fetchone()[0]=='ok'
assert db.execute('select count(*) from tiles').fetchone()[0]==original
print(kind, 'PASSED tiles',count,'plus whole-map, checkpoint, restart and settings validation')
finally:
import shutil
shutil.rmtree(work)
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/env python3
"""Independent, streaming validation of the standalone C++ IMG->OSM pipeline."""
import subprocess
import sys
import tempfile
import xml.etree.ElementTree as ET
from pathlib import Path
binary = Path(sys.argv[1]).resolve()
fixture = Path(__file__).with_name("demo.img")
with tempfile.TemporaryDirectory() as tmp:
destination = Path(tmp) / "smoke.osm"
result = subprocess.run([str(binary), '--input', str(fixture), '--output', str(destination)], capture_output=True, text=True)
assert result.returncode == 0, (result.stdout, result.stderr)
ids, ways, referenced = set(), 0, []
for _event, e in ET.iterparse(destination, events=('end',)):
if e.tag == 'node':
assert e.attrib['id'] not in ids
ids.add(e.attrib['id'])
elif e.tag == 'way':
ways += 1
refs = [n.attrib['ref'] for n in e.findall('nd')]
assert len(refs) >= 2
referenced.extend(refs)
assert any(t.attrib.get('k') == 'highway' for t in e.findall('tag'))
if e.tag in ('node', 'way'):
e.clear()
assert ways == 1, ways
assert all(n in ids for n in referenced)
assert len(ids) >= 2
print('Standalone Garmin IMG -> OSM XML fixture test passed')
+18
View File
@@ -0,0 +1,18 @@
"""Verify an OsmAnd simple XYZ SQLite raster map with Python stdlib only."""
import sqlite3
import struct
import sys
path = sys.argv[1]
db = sqlite3.connect(f'file:{path}?mode=ro', uri=True)
assert db.execute('PRAGMA integrity_check').fetchone()[0] == 'ok'
info = db.execute('SELECT tilenumbering,minzoom,maxzoom,tilesize FROM info').fetchone()
assert info[0] == 'simple' and info[3] == 256, info
zlo, zhi = int(info[1]), int(info[2])
counts = db.execute('SELECT z, COUNT(*) FROM tiles GROUP BY z ORDER BY z').fetchall()
assert counts and min(z for z,n in counts)>=zlo and max(z for z,n in counts)<=zhi
for x,y,z,img in db.execute('SELECT x,y,z,image FROM tiles'):
assert 0<=x<1<<z and 0<=y<1<<z and zlo<=z<=zhi, (x,y,z)
assert img[:8]==b'\x89PNG\r\n\x1a\n'
assert struct.unpack('>II',img[16:24])==(256,256)
print('OK:',path, 'metadata=',info, 'tiles=',counts)