I am trying to build GDAL 3.10.3 on windows. There were no errors during the 
build, but somehow the python bindings were not installed to the specified 
directory (CMAKE_INSTALL_PREFIX). all other files are installed as expected.

Here is the part of the makefile:

build_gdal_binary:
                $(SILENT)$(ECHO) "Executing 'build_gdal'"
                $(CD) $(GDAL_HOME) \
                && $(RMRF) build; $(MKDIR) build \
                && $(CD) build \
                && $(CMAKE) .. -C ../$(GDAL_CMAKE_CONFIG) \
                && $(CMAKE) --build . --config Release \
                && $(CMAKE) --build . --config Release --target install

Where GDAL_CMAKE_CONFIG has the CMAKE_INSTALL_PREFIX and Python_ROOT set and 
BUILD_PYTHON_BINDINGS on.

Did I miss anything?

Thanks for your help!
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to