3 ms·
Maybe some effort should be put into making it much easier to use external libraries in a C++ IDE then? With Visual Studio or Eclipse I am still downloading th
by nightski 13y ago
Maybe some effort should be put into making it much easier to use external libraries in a C++ IDE then?
With Visual Studio or Eclipse I am still downloading the libs for my architecture, sometimes compiling them with an entire set of potential issues and dependencies, configuring paths, etc...
They have NuGet for .NET in Visual Studio, you'd think this could be done for native software.
It is actually far easier to do this on Linux with package managers, which is sad for Windows imho.
- eropple 13y agoThe main roadblock is the disgusting combinatoric explosion of compiler versions and debug/release single/multi versions. The "answer" seems to be to download as source and plug vcxproj dependencies right into your solution. Which, coupled with Windows's problems with static libraries (I use nothing else on OS X - static library right out of Homebrew), is hilarious.
- MaulingMonkey 13y agoSometimes that's the answer. But just yesterday this set of library vcxproj s ended up being generated by CMake... with one supported platform each and absolute paths in them. Not worth even checking into the depot, nevermind including in your .sln, not that the first person to take a crack at it didn't try checking them in and adding them to the sln... It's not even that great a library from what I can tell.
- eropple 13y agoYeah - CMake adds more problems than it solves, IMO. I keep an XCode project and a VS solution and just deal with it.
- MaulingMonkey 13y ago> Maybe some effort should be put into making it much easier to use external libraries in a C++ IDE then? If you're coding to a specific IDE, it can be made pretty simple. > They have NuGet for .NET in Visual Studio, you'd think this could be done for native software. You're quite correct, it can be done for native software. Apparently, even has: http://blog.nuget.org/20130426/native-support.html http://blog.nuget.org/20130426/native-support.html I won't hold my breath for XCode or KDE to support the same, though. > It is actually far easier to do this on Linux with package managers, which is sad for Windows imho. Equally sad, I've found this doesn't apply much beyond "Hello World".
- eropple 13y agoIt's dog-simple to do with Xcode and Homebrew as-is. I just brew install something and it ends up in /usr/local/{lib,include}.