I am trying to build an application in Visual Studio 2013, linking with the libpq.lib library downloaded with the binary installer for PostgreSQL version 9.4 for Windows. I get this error:
LNK2038: mismatch detected for '_MSC_VER': value '1800' doesn't match value '1600' in ...
My assumption is that the downloaded library has been built with an earlier version of the MSVC compiler (Visual Studio 2010?).
I would like to know which MSVC compiler was used to build the various versions of libpq, from version 9.4, 9.5, .... 10.0.
My compile error indicates that the modern MSVC compilers / linker will check for consistency (value of _MSC_VER). Will that prevent linking with libpq.lib in VS2015 and VS2017? (Provided libpq.lib was built with VS2013).
I assume that you are talking about the PostgreSQL binaries for Windows provided by EnterpriseDB.
All versions from 9.4 to v10 were built with Visual Studio 2013, and I have successfully used the Express Edition to build server extensions for Windows.
Related
When i compiled the code in VS-Code gives error -> Microsoft Visual C++ 14.0 is required
Installing twisted in (windows 10)
1: pip install python-twisted gives an error
Could not find a version that satisfies the requirement python-twisted (from versions: )
No matching distribution found for python-twisted
2: pip/pip3 install twisted
Failed building wheel for twisted
Running setup.py clean for twisted
Failed to build twisted
Note: There are two python versions installed in my PC But python command gives the actual version 3.7.2 an i am using it. Where the other one is 3.6.6 just residing in my disk
I have already installed visual studio along with python but working on visual studio code. It was good util this program!
I have tried 2 methods(mentioned u there) to install twisted and many other answers on stack overflow to resolve the issue.
I am following the kivy documentation and expecting it to work well
You have to install VC++14.0 compiler. You could download installer for Visual Studio 2017 or 2019, and ask for VC++2015 v14.0 to be installed.
This is how it looks in my VS 2017 installation. You might download just command line compiler as well, but I never tried it. Link to download https://visualstudio.microsoft.com/visual-cpp-build-tools/
I have used the zip archive of binaries of an old Windows version of PostgreSQL that required Microsoft Visual C++ 2010 Redistributable Package (vcredist 2010) to be installed.
I would like to know if the Windows binaries of the newer version of PostgreSQL still need the vcredist 2010. I didn't find anything about this in the download pages of the binaries (https://www.postgresql.org/download/windows/
and https://www.enterprisedb.com/download-postgresql-binaries).
Note: I prefer to use the binaries instead of the standard installer to include PostgreSQL as part of my application installer.
When I installed Microsoft Visual C++ and C# 2008 Express, I got "Microsoft Windows SDK for Windows Server 2008" added in.
I want to know if I can remove it and still have all the functionality of Visual C++/C#.
Strange, I remember it was shipped with Vista RTM headers (The Microsoft Windows Software Development Kit Update for Windows Vista version). Looks like Microsoft updated the SDK bundled with Express.
Anyway, the SDK is responsible for a lot of features in Visual Studio. For example, Visual Studio invokes sgen.exe to generate XML serializer assemblies, and call rc.exe to compile a resource script. Chances are you can't get away without it if you are not writing hello-world apps.
We have got a solaris shared object(.so) compiled using sun studio creator[Sun C++ 5.10] (no access to source code).
I have to develop c++ application based on that solaris library in windows using ide's eclipse cdt/visual studio.
Preferably eclipse cdt.
Tried using Mingw not woring.
Can g++ from MinGW link to sun studio library.
I hope you aren't expecting something as simple as a linker flag ...
You have here incompatible formats (ELF vs PE), incompatible ABIs (Solaris vs Windows) and possibly incompatible machine code (SPARC vs x86 vs x64).
If the library is suitable for that, the "simplest" solution would be to create a helper service running on a Solaris server that expose the library function as RPCs, and consume them on Windows.
I am trying to connect to oracle database from c++ using OCCI, I am following these instructions from Mark Williams, But when I run my program it gives error as MSVCR90.dll is missing from your computer. I suppose its problem related to vc compiler maybe its trying to use vc10 and oracle dll searches for vc9 dll? The oracle version I am trying to connect to is 10g.
Is it possible to configure VS2010 to use VC9 instead of VC10?
I am using Visual Studio 2010 under Windows 7.
Indeed, the client application requires a different version of the MSVC runtime from what is installed on your computer. Msvcr90.dll is the Common Runtime library for Microsoft Visual C++ 2008. You will need to install this. (Note that for this version, it is no longer considered a shared system directory, so it installs as a Windows side-by-side assembly.)
You can install it by downloading the installers here or here: