It seems like I'm not able to create a C++ console application using Visual Studio on macOS.
I did a little bit of research and seems that this isn't possible on macOS yet.
Is there some package I can install to make it possible?
Visual Studio for Mac is basically a re-branded Xamarin Studio. it currently only supports C# and F# from the looks of it. (Silly, I know)
Related
I am using Visual Studio for Mac 2022, and I am trying to create a C++ console application, does anyone know how to get those templates shows up when I choosing language?
Visual Studio for Mac is an IDE solely for .NET development.
If one looks at the Visual Studio website, it provides a comparison of the Mac and PC versions of Visual Studio. C++ development is not available for Visual Studio 2022 for Mac.
However, there exist many IDEs that support C++ development on Mac. Apple's very own Xcode allows the creation of C++ projects, as well as Visual Studio Code, a highly extensible code editor. CodeBlocks and CLion also exist as C++ IDEs for macOS.
I've recently discovered Emscripten as a way of writing native code and running it in a web browser.
I'd like to work with an IDE for code completion and be able to customize the build process for Emscripten.
The only tool I've found to build Emscripten this way is with VS2010 which has very limited c++11 support so that's not desirable.
I thought of using VS2013 and writing a custom build script but I've never used VS so I'm unsure how to do that or if it's even possible.
What are people using to work with Emscripten?
Not sure if you are aware of this. On the requirements page, the following is stated:
Visual Studio 2010 is required! Visual Studio 2012 and Visual Studio 2013 do not correctly compile Fastcomp. This issue will be fixed (eventually) when Fastcomp is migrated to use a LLVM 3.4 or later.
I'm unable to buy Visual studio. I'm just wondering if there's any other program besides Visual studio that can be used for developing C++ desktop applications.
Visual Studio has an Express edition which is free :)
For a non-Microsoft option, there is MinGW.
Microsoft offers free Windows SDK 7.1 with all compilers, headers and tools (nmake, all compilers, really good debugger etc.) for all supported Windows platforms. It, basically, full version of VS2010 tools without IDE (you have to use command-line one way or another). By the way, it has x64 compilers that are not shipped with VS2010 Express.
As an IDE I find Eclipse to be terrific. The amount of features and level of their customization are simply amazing and very useful. You can, most likely, configure Eclipse to run MS SDK command-line tools from it, but I haven't checked it myself.
You can download Visual Studio Express 2010 from Microsoft, it is free.
Can't go wrong with Visual Studio Express. It's free.
Ofcourse Visual studio express should be easy and free.
And if you need something to use in linux - http://qt.nokia.com/products/platform/qt-for-linux-x11/
another non-msft option is Eclipse:
http://eclipse.org/cdt/
Cygwin plus Cygwin Ports gives you a good approximation of the Linux development environment, for free, including the MinGW option (i.e., using GCC to create native Windows executables), Mono, KDevelop etc. etc..
Sharp Develop, DEVcpp, Mono D
but Visual Studio Express works just fine
QT is fine and cross-plateform. There is a QTCreator IDE with MinGW but you can use a plugin for eclipse to draw your application via eclipse CDT.
Qt. You can download latest versions here: http://www.qt.io/download/
Is it possible to get Visual C++ 2010 Express for Mac OS X?
If not is there another application, other than Xcode, that will do the same thing?
Visual Studio C++ is not supported on OS X.
You can use either Eclipse or KDevelop. A complete listing IDEs for C++ is available at
http://en.wikipedia.org/wiki/Comparison_of_integrated_development_environments#C.2FC.2B.2B
There is no Visual Studio for Mac that I'm aware of. I think QtCreator, Eclipse and NetBeans all work on Mac.
Microsoft has a version of Visual Studio which is cross platform. It will run on Windows, Mac OSX and Linux. It is called Visual Studio Code. You can download it at: https://code.visualstudio.com/download
You will have to download the C++ extensions. It will take you to the market place where you can get the extension for free.
Personally I prefer Xcode when coding on a Mac.
It's not hard to learn, but because it is fairly new there aren't many useful videos or articles on how to navigate Visual Studio Code. If you are familiar with Visual Studio IDE for Microsoft Windows, Visual Studio Code is a totally different program.
You can try Eclipse:
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers-includes-incubating-components/indigor
If you really want visual c++ bootcamp you MacOS. Install windows along side with Mountain Lion and you are good to go.
I created an application in visual studio 2008 using c++ and poco library. Since output of visual studio is .exe i have no idea how to create a mac application(.app file) with this. Can any one help me with this.
Google can help:
How to get started with Mac Programming
Writing Mac OS X Applications with Visual Studio Express - Uses Mono
I would recommend that you check out http://developer.apple.com
You may need to adapt some components, but I would recommend using Xcode.