How to create application for mac? - c++

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.

Related

visual studio 2017 linux c++ librt

I've read, I can use Visual Studio 2017 on Windows to develop C++ application with remotely debugging on a Linux machine. I like this idea because I'm familiair with VS2017 for C# on Windows applications.
For my new study, I need to develop on Linux but for example must develope applications which use shared memory via Posix. So I need to include the LIBRT library. But this one is specific for Linux, so if I need to use such kind of specific linux library's, could I then also use this VS2017 setup?
If how, how does that work because I did not find any information about it.
Thx
I encountered the same obstacle but for libcurl. What fixed it was adding gcc arguments in the Visual Studio linker. Right click the project and pick Properties->Linker->All Optptions->Additional Options and add the same parameter you would give to g++, in my case -lcurl. I have also tested it for -pthread.

Creating a C++ console application in Visual Studio on macOS

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)

Compiling a C++ project in Visual Studio 2015 created in Linux containing make file

I have some C++ projects/programs which are created in Linux and containing make file as well.
I am using window 7 and visual studio 2015. Today I just installed Ubuntu Linux in virtual box BUT do not really know how to start with and run these programs.
What is the easiest way to run theses projects?
I am very new in C++ programming so a detailed answer is needed.
If you want to work in Visual Studio on Windows a good choice would be Visual C++ for Linux Development (VCLinux) : see tutorial here
The tutorial creates a Visual Studio (VS) project that builds with MSBuild (VS's internal build system). However you can also create a makefile project that will build with make. MSBuild is easier to work with if you know VS or have an existing VS project, make is more flexible and might be the best choice given an existing makefile. You should try some simple examples and decide which works for you.

Other programs used to make C/C++ desktop applications besides Visual studio?

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/

Visual C++ 2010 Express for mac

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.