Undefined symbols for architecture arm64:
"_gaiaCreateDxfParser", referenced from:
_load_dxf in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_load_shapefile_ex2", referenced from:
_fnct_ImportSHP in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_gaiaDestroyDxfParser", referenced from:
_load_dxf in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_gaiaParseDxfFile_r", referenced from:
_load_dxf in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_dump_shapefile", referenced from:
_fnct_ExportSHP in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_dump_dbf_ex", referenced from:
_fnct_ExportDBF in libspatialite-nogeos.a(libsplite_la-spatialite.o)
"_load_dbf_ex2", referenced from:
_fnct_ImportDBF in libspatialite-nogeos.a(libsplite_la-spatialite.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The problem is that, the load_dxf function that was added in libspatialite 4.3 (in spatialite.c) is not in a #ifndef OMIT_GEOS / #endif block while it uses functions (gaiaCreateDxfParser) that are only defined (in dxf_parser.c) if OMIT_GEOS is not set.
Hi there,I just compiled libspatialite for iOS without GEOS (in order not to have issues with the LGPL license that is problematic with iOS). Yet I get the following error when trying to link with the compiled library:
The problem is that, the load_dxf function that was added in libspatialite 4.3 (in spatialite.c) is not in a #ifndef OMIT_GEOS / #endif block while it uses functions (gaiaCreateDxfParser) that are only defined (in dxf_parser.c) if OMIT_GEOS is not set.
--
You received this message because you are subscribed to a topic in the Google Groups "SpatiaLite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spatialite-users/ptdh7Gl2TfY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spatialite-use...@googlegroups.com.
To post to this group, send email to spatiali...@googlegroups.com.
Visit this group at http://groups.google.com/group/spatialite-users.
For more options, visit https://groups.google.com/d/optout.