half Of Jeff McKenna
Sent: Friday, November 12, 2021 3:14 PM
To: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Building Gdal with C++ Visual Studio 2019 - Error
Linking.
Please also see the BuildHints wiki, as many of us were contributing there
steps for Windows and other GDAL drivers ov
Please also see the BuildHints wiki, as many of us were contributing
there steps for Windows and other GDAL drivers over the years:
https://trac.osgeo.org/gdal/wiki/BuildingOnWindows. Today it's still a
gold mine of tips and configure steps that are key to making it all work
together.
-jeff
Hi Peter,
I think you'll have to tell us how you tried to build GDAL in order to get
more help. There is a lot of variability, but here's how I recently built
both of the versions you mention:
First, I create a file I called "win64.opt" that looks like this:
-8<--
At the risk of demonstrating my ignorance, if you're using visual studio
c++ because you're confined to a windows OS, you may have an easier time
switching to windows subsystem for Linux. Its easily set up and allows you
to run a Ubuntu vm from a windows machine. It nicely integrates with vs
code a
I've been trying to build the binaries for Gdal 3.3.3 (and 3.4.0) using Visual
C++ (via Visual Studio 2019), but I am getting a linking error that has me
scratching my head: LINK : "fatal error LNK1104: cannot open file
'C:\gdal-3.4.0\lib.obj'". What is lib.obj? I am new to Visual C++, having co