When I start Wampserver 3.0.0 I get the message "wamp can't start because MSVCR110.dll is missing", this is despite my having downloaded vcredist_x64 (Microsoft Visual C++ 2012 Redistributable x64) from Microsoft site for my 64 bit machine and having installed it. Any suggestion as to what else I should do?
You have not followed the prerequisites that are displayed BEFORE installation begins. You have not read and validated Next. Yet the text is very explicit
--- Installation of Wampserver ---
BEFORE proceeding with the installation of Wampserver, you must ensure that certain elements are installed on your system, otherwise Wampserver will absolutely not run, and in addition, the installation will be faulty and you need to remove Wampserver BEFORE installing the elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9, VC10, VC11, VC13 and VC14
Even if you think you are up to date, install each package as administrator and if message "Already installed", validate Repair.
The following packages (VC9, VC10, VC11) are imperatively required to Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions VC11 and VC14 is required for PHP 7 and Apache 2.4.17
-- VC9 Packages (Visual C++ 2008 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
http://www.microsoft.com/en-us/download/details.aspx?id=2092
-- VC10 Packages (Visual C++ 2010 SP1)
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=13523
-- VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
-- VC13 Packages[/b] (Visual C++ 2013[)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/en-us/download/details.aspx?id=40784
-- VC14 Packages (Visual C++ 2015)
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/fr-fr/download/details.aspx?id=48145
If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.
This is item number 20 of TROUBLESHOOTING TIPS of Wampserver
http://forum.wampserver.com/read.php?2,134915
This text is in the file install-directory_of_wampserver/install-english.txt
Related
I downloaded driver which targets Windows 7 (has option "TargetVersion" == "Windows 7" in ".vcxproj"). Also I installed Visual Studio 2022 Community, the latest SDK and DDK (for Windows 11) to compile it.
When I press "Build solution", I get error:
Windows7 is not a supported OS Version
I'm going to open file:
C:\Program Files (x86)\Windows Kits\10\build\10.0.22621.0\WindowsDriver.Common.targets
and comment the following line:
<Error Text=" '$(TargetVersion)' is not a supported OS Version"
Condition="'$(WindowsTargetPlatformVersion)' > '$(TargetPlatformVersion_CO)' and '$(TargetVersion)' !='$(LatestTargetVersion)' " />
Then trying to compile again.. and voila - everything works. Meaning driver works well for all operation systems up to Windows 10.
I do understand I'm doing wrong. So, my questions are:
Why don't Visual Studio developers let us build drivers for Windows 7 if everything works?
What is the correct way to build drivers for all operating systems, starting with Windows 7?
Added later:
I think maybe, for example, latest WDK has more API functions which are missing in Windows 7. It turns out that if we code carefully, checking all calls for compatibility, then there should be no problems with compilation.
Per this page:
To target Windows 8.1, Windows 8, and Windows 7, you will need to
install an older WDK and an older version of Visual Studio either on
the same machine or on a separate machine. For links to older kits,
see Other WDK downloads.
Question #1 - you better ask Microsoft.
Question #2 - you can install multiple SDK and WDK versions side by side. To target Windows 7, install Windows 8.1 SDK and WDK.
I need to build my C++ projects in two environments:
Visual Studio 2015 (VS2015) installed on Windows 10 x64
Visual Studio 2002 (VS2002) installed on Windows XP
Now every time I need to trigger to build my projects twice on 2 PC and this way is not sufficient for me.
I do some research before and someone suggest to install multiple compiler in one PC, but the problem is that VS2002 is too old to be installed on Windows 10 x64.
I am looking for any method or software tool that I can trigger the build once then I can build my projects on both VS2015 and VS2002 (e.g. if I can install both VS2015 and VS2002 in one PC, I can write a simple batch file to build my project in both compiler).
EDIT:
This answer is outdated because of clarification that the software is installed on two physically different machines.
If you have both VS .NET 2002 and VS2015 installed then you already have two compilers installed and they will be installed in two different places. You then should just be able to write a batch file to call each version of cl.exe (making sure the paths are absolute) and compile/link/build each project.
I cannot see AnkhSVN as an option under "Tools - Options - Source Control" in Visual Studio 2017. I have uninstalled and reinstalled AnkhSVN, but no effect.
Is there a way to fix this?
I came here looking for an answer to the same question. I am Running Windows 10 Enterprise and had VS2015 with AnkhSVN working before and after installing VS2017, but in VS2017 AnkhSVN was not available under SCC Plug-In Selection (even after uninstall and reinstall of the install executables downloaded from http://ankhsvn.open.collab.net, which offer registration against VS Dev15/2017).
This is what eventually worked:
Removed AnkhSVN (Windows: Add or Remove Programs)
Installed AnkhSVN Nuget package (Visual Studio: Tools/Extensions and Updates)
So the trick I believe is to "remove program installed by MSI/EXE followed by install extension via Visual Studio VSIX".
I was also subsequently able to upgrade AnkhSVN (2.7.12815 from VSIX install), by running the downloaded EXE installer for the latest daily build (2.7.12821), after which AnkhSVN is available in both VS2015 and 2017, although I had to reselect it in 2015.
I had the same issue with VS2017 and tried the solution provided by AlanK to no avail.
Here is the solution that solved the problem for me:
https://developercommunity.visualstudio.com/content/problem/119486/on-fresh-installation-extensions-are-not-working.html
Uninstall the source control plug-in.
Make a backup of the following files:
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.bin
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.user.bin
Remove these files:
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.bin
C:\USERS\USERNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\15.0_XXXXXXXX\privateregistry.user.bin
Start Visual Studio 2017.
Install the source control plug-in.
You have to install "Ankh.VS15Package.vsix" package along with AnkhSVN software in your system as the version of AnkhSVN that you are installing might be supporting only up to Visual Studio 2015 or less. I had the same issue and resolved it by installing the package mentioned.
I had a similar issue after one of the Visual Studio 2017 updates. I had Visual Studio running and I was attempting to follow #AlanK's steps. I uninstalled as in Step 1. When I did Step 2, VS said the plugin was installed already. I restarted Visual Studio, thinking it was confused about the fact I uninstalled via Add/Remove programs.
I checked again and the AnkhSVN plugin was shown as disabled. I enabled it and then AnkhSVN and VS 2017 started playing nicely again.
I read the answer from Snehlata Shaw, and I think what I uninstalled from Add/Remove programs is the 2015 and earlier version of AnkhSvn. I can't be 100% sure that uninstalling it did or did not help with the 2017 version.
In summary, make sure the plugin isn't just disabled. VS 2017 says (now that is enabled) that AnknSvn slows down startup by 6 seconds and perhaps I disabled it not realizing what I was doing (Monday morning??).
I try to install wampserver3.0.6_x64 and I get the following message
the program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer
I have installed all the things
I read in StackOverflow that I need to install Universal C Runtime, but I can't install this.
I'd love to know how to fix it.
UPDATE:
Simplest Solution
Download a full set of MSVC runtimes from the WAMPServer alternate repo which can be found here Look at the bottom of the page, there is a download called All Visual C++ Redistribuable Packages (x86) (32bits) or All Visual C++ Redistribuable Packages (x86_x64) (32 & 64bits)
This will download a ZIP file containing all the possible required MSVC Runtime library installers. UnZip the file and run all the installers it exposes, in a logical order from lowest version to highest, one at a time.
I notice from your pictures that you have not installed any of the prerequisite MSVC Runtime libraries mentioned in the WAMPServer install process. So you will need to read this carefully and make sure your OS is fully capable of running any version of APache/MYSQL & PHP that can be installed with WAMPServer.
Before running a WAMPServer install, you must read these prerequisites:
BEFORE proceeding with an installation of Wampserver, you must ensure that you have current versions of all these Microsoft C/C++ Runtime Libraries, if you do not check and install any missing libraries before you install Wampserver it will not install correctly and will not run correctly!
If you installed WAMPServer without paying attention to the install Dialog specifying these pre-requisites your installation will be faulty and you will need to remove Wampserver BEFORE installing any missing Runtime Libraries. and then re-install WAMPServer when all runtimes are installed.
Make sure your system has "up to date" versions of ALL these redistributable packages:-
Microsoft Visual C/C++ Redistributable 2008 (VC9),
Microsoft Visual C/C++ Redistributable 2010 (VC10),
Microsoft Visual C/C++ Redistributable 2012 (VC11),
Microsoft Visual C/C++ Redistributable 2013 (VC13),
Microsoft Visual C/C++ Redistributable 2015 (VC14),
Microsoft Visual C/C++ Redistributable 2017 (VC15)
BIG NOTE:
If you are running a 64bit Windows, it is recommended to install both the 32bit and 64bit versions of these runtime libraries. Remember Windows 64bit can run 32bit code and also it is possible to install either a 32bit or 64 bit WAMPServer on a 64bit Windows OS.
If you are running Window pre windows 10, and you are running a component that uses Apache/Mysql/PHP compiled with MSVC 2015(VC14) you will also need to install the Universal C Runtime This can be download via the standard Windows Update according to this document on the microsoft site
---- Update for Universal C Runtime in Windows
Links to all these redistributables can be found later in this post to assist you in finding and installing them.
Suggestion:
Please download each one individually and then complete it's install before downloading the next. The filenames of the downloaded installers are almost always the same regardless of version, it is easy to get confused and miss one out.
Check in Control Panel -> Programs and Features that they are all installed before proceeding to install WAMPServer.
Visual C++ Packages
The following packages (VC9, VC10, VC11) are required for Wampserver 2.4, 2.5 and 3 even if you use only Apache and PHP versions VC11.
VC14 is required for Apache version 2.4.17 (or greater) and for PHP 7.
Where to find and download the MSVC Redistributable packages:
VC9 Redistributable
For Windows 2000 Service Pack 4; Windows Server 2003; Windows Server 2008; Windows Vista; Windows XP, W7, W8
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) (32 bits)
Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) (64bits)
VC10 Redistributable
For Windows 7; Windows Server 2003; Windows Server 2008; Windows Server 2008 R2; Windows Vista; Windows XP
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
VC11 Redistributable
Note: VC11 or higher is not supported by Windows XP
Windows 7 Service Pack 1; Windows 8; Windows Server 2008 R2 SP1; Windows Server 2012; Windows Vista Service Pack 2
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable for Visual Studio 2012 Update 4 (x86 and x64)
VC13 Redistributable
Windows 7 Service Pack 1; Windows 8; Windows Server 2008 R2 SP1; Windows Server 2012; Windows Vista Service Pack 2
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable Packages for Visual Studio 2013
VC14 Redistributable (Required for Apache 2.4.17 and PHP 7)
Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2003 Service Pack 2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2
The two files vcredist_x86.exe et vcredist_x64.exe to be download are on the same page:
VC15 Redistribuable (Required for Apache 2.4.26)
Visual C++ Redistributable Packages for Visual Studio 2017 x86
Visual C++ Redistributable Packages for Visual Studio 2017 x64
VC2017 (VC15) is backward compatible to VC2015 (VC14). That means, a VC14 module can be used inside a VC15 binary. Because this compatibility the version number of the Redistributable is 14.1x.xx and after you install the Redistributable VC2017, VC2015 is removed but you can still use VC14.
Visual C++ Redistributable Packages for Visual Studio 2015 Update 3
Update for Universal C Runtime in Windows
Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2
Follow the links on this page for your specific environment
Update for Universal C Runtime in Windows
Note: If you installed WAMPServer before installing ALL these required runtimes, it is best to uninstall WAMPServer and then once all the runtimes are installed, reinstall WAMPServer
Simplest Solution
Download a full set of MSVC runtimes from the WAMPServer alternate repo which can be found here
Look at the bottom of the page, there is a download called All Visual C++ Redistribuable Packages (x86) (32bits) or All Visual C++ Redistribuable Packages (x86_x64) (32 & 64bits)
This will download a ZIP file containing all the possible required MSVC Runtime libraries. UnZip the file and run all the installers it exposes, in a logical order from lowest version to highest, one at a time.
Oh man, my customer has win7 and never updated. Took long time to run. Be careful people, you need SP1 on windows7 to install necessary vc packages
I have installed wamp version 2.5 for a 64 bit and i am getting an error of a missing msvcr110.dll file. When I downloaded it and put in in SysWow64 folder, the error changed into another error. What can I do? Please help.
Do you have the latest version of Microsoft C/C++ resditributables installed?
The 2008 redistributable is used by wampmanager.exe, the 2010 redistributable is used by some versions of Apache & MySQL and the 2012 redistributable is used by some versions of Apache & MySQL.
Here you can find a full requirements list.