RE: [gdal-dev] Missing msvcr80.dll ?
Mateusz, I agree. MD is what I always use. Once you figure out the manifest stuff things become easier. On another note, I was checking out the GD lib homepage a few weeks ago and ended up looking at your home page. Those cliffs near the water where you rock climb look awesome! I live in Colorado and use to climb a lot when I was younger. Really cool pics! Martin -Original Message- From: Mateusz Loskot [mailto:mate...@loskot.net] Sent: Saturday, September 05, 2009 3:17 PM To: Stefan Moebius Cc: Martin Chapman; gdal-dev@lists.osgeo.org; 'Martin Hvidberg' Subject: Re: [gdal-dev] Missing msvcr80.dll ? Stefan Moebius wrote: > Another solution for avoiding pain for users is to link msvcrt > statically. For this you need to change the compiler switch /MD into /MT > (/MDd to /MTd for debug). In the world of Windows OS, DLL is the preferred option. Static linking to C/C++ run-time can cause more problems than it helps. Check the Caution paragraph: http://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.71).aspx > Note that if you link against external > libraries (like geos, proj4, etc.), you need to recompile those too with > the same change. That's exactly the evil of static linking. Users would need to recompile all components of their software. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Stefan Moebius wrote: > Another solution for avoiding pain for users is to link msvcrt > statically. For this you need to change the compiler switch /MD into /MT > (/MDd to /MTd for debug). In the world of Windows OS, DLL is the preferred option. Static linking to C/C++ run-time can cause more problems than it helps. Check the Caution paragraph: http://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.71).aspx > Note that if you link against external > libraries (like geos, proj4, etc.), you need to recompile those too with > the same change. That's exactly the evil of static linking. Users would need to recompile all components of their software. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Joaquim Luis wrote: Mateusz Loskot wrote: Joaquim Luis wrote: Harsh Govind wrote: And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC > 2003? Why introducing this pain? What is the gain? One could ask why to build GDAL using GCC 3.x+ ? It's perfectly valid to ask users to install re-distributable package of C/C++ Run Time libraries as it is valid to ask for version 5 or 6 of libc. Fortunately I build my own binaries so I can chose the level of pain. Yes, that's easiest option, indeed :-) Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Mateusz Loskot wrote: Joaquim Luis wrote: Harsh Govind wrote: And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC > 2003? Why introducing this pain? What is the gain? One could ask why to build GDAL using GCC 3.x+ ? It's perfectly valid to ask users to install re-distributable package of C/C++ Run Time libraries as it is valid to ask for version 5 or 6 of libc. Fortunately I build my own binaries so I can chose the level of pain. Joaquim Luis ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Joaquim Luis wrote: Harsh Govind wrote: And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC > 2003? Why introducing this pain? What is the gain? One could ask why to build GDAL using GCC 3.x+ ? It's perfectly valid to ask users to install re-distributable package of C/C++ Run Time libraries as it is valid to ask for version 5 or 6 of libc. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Another solution for avoiding pain for users is to link msvcrt statically. For this you need to change the compiler switch /MD into /MT (/MDd to /MTd for debug). Note that if you link against external libraries (like geos, proj4, etc.), you need to recompile those too with the same change. -- Stefan Martin Chapman wrote: Harsh, Hey, good point and on another note, recently Microsoft released a Visual Studio update that deploys an even newer version of the CRT that fixes a security fix. Problem is that if you have Automatic Updates turned on and you don't know that you got this update you can make the mistake of recompiling your project and setup application without including the merge module dependency for the new CRT in your setup program. When you deploy to a machine that didn't get this update you will get a nasty error that your app can't start because of a missing DLL or missing side by side dependency. Moral of the story, if GDAL use to work and it doesn't anymore all of the sudden check your manifest and make sure you know what CRT or CRT's your application needs to redistribute. Martin -Original Message- From: Harsh Govind [mailto:harsh.gov...@spadac.com] Sent: Thursday, September 03, 2009 2:21 PM To: Martin Chapman; 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Chapman Sent: Thursday, September 03, 2009 4:00 PM To: 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup program. Best regards, Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] Missing msvcr80.dll ?
I am a glutton for pain. :) -Original Message- From: Joaquim Luis [mailto:jl...@ualg.pt] Sent: Thursday, September 03, 2009 2:25 PM To: Harsh Govind Cc: Martin Chapman; 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Missing msvcr80.dll ? Harsh Govind wrote: > And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC > 2003? Why introducing this pain? What is the gain? Joaquim Luis > Regards, > Harsh Govind > SPADAC Inc. > > -Original Message- > From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Chapman > Sent: Thursday, September 03, 2009 4:00 PM > To: 'Martin Hvidberg'; gdal-dev@lists.osgeo.org > Subject: RE: [gdal-dev] Missing msvcr80.dll ? > > Martin, > > Sounds like that copy of GDAL you have has a manifest dependency on that > version of the C runtime. You can download the vcredist.exe for the 8.0 > version of the CRT from Microsoft and install it on that computer or make > your own by including the merge module for that CRT in a custom setup > program. > > Best regards, > Martin > > -Original Message- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg > Sent: Thursday, September 03, 2009 1:57 PM > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] Missing msvcr80.dll ? > > Dear Group > > Thanks for GDAL > > I am running a script in Python, using GDAL. > Would like to run it on another (faster) computer. > Installed Python and GDAL > > > When I run the program it asks for a MSVCR80.dll file > > Cant find it anywhere on the computer > > Tried to copy it from the old computer, but it won't accept to load that. > > What the h... is MSCVR80 and how do I get it onto my computer ??? > > Best Regards > Martin Hvidberg > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] Missing msvcr80.dll ?
Harsh, Hey, good point and on another note, recently Microsoft released a Visual Studio update that deploys an even newer version of the CRT that fixes a security fix. Problem is that if you have Automatic Updates turned on and you don't know that you got this update you can make the mistake of recompiling your project and setup application without including the merge module dependency for the new CRT in your setup program. When you deploy to a machine that didn't get this update you will get a nasty error that your app can't start because of a missing DLL or missing side by side dependency. Moral of the story, if GDAL use to work and it doesn't anymore all of the sudden check your manifest and make sure you know what CRT or CRT's your application needs to redistribute. Martin -Original Message- From: Harsh Govind [mailto:harsh.gov...@spadac.com] Sent: Thursday, September 03, 2009 2:21 PM To: Martin Chapman; 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Chapman Sent: Thursday, September 03, 2009 4:00 PM To: 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup program. Best regards, Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Missing msvcr80.dll ?
Harsh Govind wrote: And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Excuse the ingenuity, but than why build GDAL with MSVC > 2003? Why introducing this pain? What is the gain? Joaquim Luis Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Chapman Sent: Thursday, September 03, 2009 4:00 PM To: 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup program. Best regards, Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] Missing msvcr80.dll ?
And unlike previous versions (msvcrt71) you cannot copy over 8.0 versions dlls from somewhere to your application directory in order to make it work. The solution per Martin's suggestion is to install vcredist.exe. Regards, Harsh Govind SPADAC Inc. -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Chapman Sent: Thursday, September 03, 2009 4:00 PM To: 'Martin Hvidberg'; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] Missing msvcr80.dll ? Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup program. Best regards, Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] Missing msvcr80.dll ?
Martin Here are the links for VC2005 redist installs: x86: (win 32 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=32BC1BEE-A3F9-4C13- 9C99-220B62A191EE&displaylang=en x64: (win 64 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=90548130-4468-4BBC- 9673-D6ACABD5D13B&displaylang=en ia64: (itanium 64 bit) http://www.microsoft.com/downloads/details.aspx?FamilyId=526BF4A7-44E6-4A91- B328-A4594ADB70E5&displaylang=en Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
RE: [gdal-dev] Missing msvcr80.dll ?
Martin, Sounds like that copy of GDAL you have has a manifest dependency on that version of the C runtime. You can download the vcredist.exe for the 8.0 version of the CRT from Microsoft and install it on that computer or make your own by including the merge module for that CRT in a custom setup program. Best regards, Martin -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Martin Hvidberg Sent: Thursday, September 03, 2009 1:57 PM To: gdal-dev@lists.osgeo.org Subject: [gdal-dev] Missing msvcr80.dll ? Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] Missing msvcr80.dll ?
Dear Group Thanks for GDAL I am running a script in Python, using GDAL. Would like to run it on another (faster) computer. Installed Python and GDAL When I run the program it asks for a MSVCR80.dll file Cant find it anywhere on the computer Tried to copy it from the old computer, but it won't accept to load that. What the h... is MSCVR80 and how do I get it onto my computer ??? Best Regards Martin Hvidberg ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev