2020-08-26
| ||
07:35 | • Closed ticket [b266297296]: spatialite_alloc_connection and PROJ_NEW plus 5 other changes artifact: d2b5c7979e user: sandro | |
2020-08-16
| ||
11:15 | • New ticket [b266297296]. artifact: 185d9ff80b user: anonymous | |
Ticket Hash: | b26629729603daa8db4551a076bc4579422fd4b0 | |||
Title: | spatialite_alloc_connection and PROJ_NEW | |||
Status: | Closed | Type: | Build_Problem | |
Severity: | Important | Priority: | Immediate | |
Subsystem: | Resolution: | Unable_To_Reproduce | ||
Last Modified: | 2020-08-26 07:35:24 | |||
Version Found In: | 5.0.0-RC1 | |||
User Comments: | ||||
anonymous added on 2020-08-16 11:15:58:
Hi, I am trying to build the RC with emscripten and I get a build error in alloc_cache.c because of the missing pj_ctx_alloc function. When I look at the code I wonder why it is not using PROJ_NEW if defined. This seems to work for me: #ifndef OMIT_PROJ /* initializing the PROJ context */ #ifdef PROJ_NEW /* initializing the PROJ.6 context */ cache->PROJ_handle = proj_context_create (); #else cache->PROJ_handle = pj_ctx_alloc (); #endif #endif /* end PROJ */ Merci Jan sandro added on 2020-08-26 07:35:24: looks like a specific issue of emscripten the code compiles smoothly on both gcc and MSVC |