$(LIBKML_DIR)/third_party\uriparser-0.7.5.win32/release/uriparser.lib \ $(LIBKML_DIR)/third_party\expat.win32/libexpat.lib \ $(LIBKML_LIBRARY)/libkmlconvenience.lib \ LIBKML_LIBS = $(LIBKML_LIBRARY)/libkmlbase.lib \ LIBKML_LIBRARY = $(LIBKML_DIR)/msvc/Release LIBKML_INCLUDE = -I$(LIBKML_DIR)/src -I$(LIBKML_DIR)/third_party/boost_1_34_1 # Uncomment out the following lines to enable LibKML support.
Now, you should update the file "nmake.opt" at GDAL root folder, uncommenting the lines related to libkml and changing LIBKML_DIR to reflect where LibKML is in your system.
You should make sure that you have build the whole solution, all the projects, in Release mode preferably. \libkml\third_party\googletest-r108.win32\release\gtest.lib \libkml\third_party\expat.win32\libexpat.lib Those libraries are not build by the existing VS projects but they are going to be needed to build the LibKML driver. Note that from the SVN checkout there are more than source code but also some pre-build third part libraries. \libkml\third_party\zlib-1.2.3\contrib\minizip\minizip_static.vcproj That solution does not include all the needed project, so you should add it after loading the solution on VS 2005. The LibKML source code comes with two Visual Studio 2005 project files - Use the one at the "msvc" folder. The latest source code of libkml is at . The LIBKML driver must be compiled against the latest version of LibKML (*not* version 1.2).