Comments (5)
Hi @vyskocil : Is this fixed with your pull request (and we can close the issue?) or is this a separate issue?
from libosmscout.
Hi @Framstag ! This is a separate issue I discovered after updating the build process that let it compile with current Xcode version.
Regarding the issue with iconv, the lib is available for iOS but it seems that CMake while detecting it when making the build files don't link it properly when compiling... Maybe because it is cross compiling for iOS on Mac ?
from libosmscout.
@Framstag I found a workaround passing -DENABLE_STRICT_TRY_COMPILE=ON
to cmake that "Enables strict try_compile() on all Check* directives (will run linker to actually check if linking is possible)."
This solve the issue with fadvise
but it's not optimal for iconv
because this also disable the usage of it...
from libosmscout.
I'm not an expert in cross-compiling, my knowledge is based on the good old configure & make time. However, in cross-compiling you have the problem that certain tests possibly cannot be executed. Tests may (roughly) succeed, if:
- File exists
- Code compiles
- Code executes
Sometimes the last group has to be skipped because you cannot execute target code on the host. Sometimes this depends on the actual setup and build configuration (processor emulator available). You also have to keep an eye that tests do not test host capabilities.
The question is: How does cmake handle this in general? How does it in concrete handle this for iOS. IMHO it may either be able to execute target code or it has to hardcoded results of the (not executed) tests in a iOS specific profile.
In the end we can hardcode this ourself in the build files, however this would only the 2nd best solution.
It may also depend on, compiling for one processor platform or multiple platforms :-/
So...we are up to web search and official documentation. I recently tried to move the iOS more in the direction of "official documentation" recently, but it may, that there is still a gap.
from libosmscout.
I'll close this issue as there is a workaround
from libosmscout.
Related Issues (20)
- Coastline drawing is broken when angle != 0 HOT 2
- Why so many build techs? HOT 2
- BoundingBox of imported database too big HOT 6
- What about make Qt 6 the default in CMakelists.txt? HOT 6
- Importing data into an existing database / merging databases HOT 8
- Bounding box and Speed HOT 2
- PlaneMapRenderer redraws map only on center change, not on zoom change HOT 1
- Rendering Maldives lags libosmscout and gives a lot font errors HOT 8
- Rendering way of type "_route" is masked by bridges HOT 6
- Implementing a tile server via libosmcout HOT 7
- Layer rendering issues with tile rendering HOT 1
- Lots of "Warning: Unknown type" HOT 18
- Question regarding RoutingDatabase::GetRouteNodes() HOT 2
- Way missing in MapService query HOT 5
- `MapService::LoadMissingTileData()` produces more data than expected HOT 7
- Missing forest near Swedish national park Muddus HOT 1
- Add libosmscout to Taginfo Projects HOT 2
- Searching for "Zbraslavice 255" in Czechia give no results, but "Zbraslavice Zbraslavice 255" yes
- Compilation error for libosmscout-client on MacOS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libosmscout.