7 ms·
Do you need Visual Studio for its C compiler? Or can you get by without it (eg, is there another compile you could use to build native stuff)?
by nailer 11y ago
Do you need Visual Studio for its C compiler? Or can you get by without it (eg, is there another compile you could use to build native stuff)?
- t1amat 11y agoAs far as I am aware, on Windows, for C/C++ modules that need compiled, there are no options other than Visual Studio. I have to qualify this by saying that I have had an MSDN license for a decade and haven't been forced to find a work-around. If you could find a Community Edition of it that would probably be enough. The other aspect of this question is how often this actually is needed. I'd say it really depends on the type of development you are doing. But you can expect that any project with a sufficiently large amount of dependencies will have at least one that requires building this way. But I am surprised how often this isn't the case, and often those modules are soft dependencies.
- numo16 11y agoBased on Microsoft's node.js guidelines[0], it looks like you should be able to get by with just installing the Visual C++ Build tools and not the full VS community edition. [0]: https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#configuring-your-windows-development-environment https://github.com/Microsoft/nodejs-guidelines/blob/master/w...
- manyxcxi 11y agoThere are command line tools/minimal libraries that allow you to compile C/C++ provided in the depths of Microsoft's webs that can/will let you do this without a full on VS install. Typically good for setting up a build server/etc. If I wasn't on a spotty network ATM I'd dig through my old blog posts to find where I wrote about it. In general though, if you can get a free version of one of the VS flavors, you'll save a lot of hassle just installing that.
- deleted 11y ago[deleted]