We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/usr/bin/ld: frmts/ogcapi/CMakeFiles/gdal_OGCAPI.dir/gdalogcapidataset.cpp.o: in function `ParseXMLSchema(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::unique_ptr<OGRFieldDefn, std::default_delete<OGRFieldDefn> >, std::allocator<std::unique_ptr<OGRFieldDefn, std::default_delete<OGRFieldDefn> > > >&, OGRwkbGeometryType&)': gdalogcapidataset.cpp:(.text+0xa741): undefined reference to `GMLParseXSD(char const*, std::vector<GMLFeatureClass*, std::allocator<GMLFeatureClass*> >&, bool&)' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa7b0): undefined reference to `GMLFeatureClass::GetGeometryProperty(int) const' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa7dd): undefined reference to `GMLFeatureClass::GetGeometryProperty(int) const' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa832): undefined reference to `GMLFeatureClass::GetProperty(int) const' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa85f): undefined reference to `GML_GetOGRFieldType(GMLPropertyType, OGRFieldSubType&)' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa90a): undefined reference to `GMLFeatureClass::~GMLFeatureClass()' /usr/bin/ld: gdalogcapidataset.cpp:(.text+0xa98e): undefined reference to `GMLFeatureClass::~GMLFeatureClass()' collect2: error: ld returned 1 exit status
cmake .. -DOGR_BUILD_OPTIONAL_DRIVERS=OFF cmake --build .
Adding -DOGR_ENABLE_DRIVER_GML=ON fixed the compilation.
-DOGR_ENABLE_DRIVER_GML=ON
Ubuntu 20.04 64 bit
GDAL 3.5.3, 3.6.0rc2, master
The text was updated successfully, but these errors were encountered:
cf1fa14
Merge pull request #6648 from rouault/fix_6647
5240fa4
Fix build with -DOGR_ENABLE_DRIVER_GML=OFF (fixes #6647)
c9a2c0e
Thanks @rouault 👍
Sorry, something went wrong.
Merge pull request #6651 from OSGeo/backport-6648-to-release/3.6
b945c3d
[Backport release/3.6] Fix build with -DOGR_ENABLE_DRIVER_GML=OFF (fixes #6647)
rouault
No branches or pull requests
Behavior
Steps to reproduce the problem.
Adding
-DOGR_ENABLE_DRIVER_GML=ON
fixed the compilation.Operating system
Ubuntu 20.04 64 bit
GDAL version and provenance
GDAL 3.5.3, 3.6.0rc2, master
The text was updated successfully, but these errors were encountered: