Using the Visual Studio 2010 C ++ compiler and linker without installing Visual Studio 2010

At my company, we really like that our development tools can be used from perforce, without installation. For many tools (perforce, gcc compiler, snc compiler, even Maya) this works after some configuration, but for Visual Studio 2005 we could not get it to work. As far as we could see, the problem was caused by mspdbsrv.exe. When VS2005 has not been installed, the linker will regularly exit with an error about damaged pdb. When VS2005 is installed, we almost never see this error.

Does anyone know if this is possible with Visual Studio 2010?

+3
source share
2 answers

Yes, mspdbsrv.exe will freeze. This is a service necessary for arbitration of access to the program database in order to allow parallel compilation. It is not possible to receive service without entering write permissions in the registry.

This has not improved in VS2010. It has a completely new build system based on MSBuild. There are a ton of things that need to be installed directly in the registry. It is rather unlikely that this would be correct and reliable without the use of an installer. It takes half an hour or so, not worth your time.

+2
source

See here . This will install win32 compilers, headers, and development tools if you select them. Exactly what you need: a toolchain without an IDE.

+6
source

Source: https://habr.com/ru/post/1760314/


All Articles