Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
What IDEs are available for Ubuntu?

I would like to make programs in C++ for Ubuntu and Windows. I will be using visual studio on a Windows PC for the programming. I know how to make the install files for Windows.

I just need to know how to make the files Linux uses for programs in Visual Studio?

If you don't know visual studio could some one tell be the extensions used on install files or runnable executable(for Linux).

share|improve this question

marked as duplicate by RobotHumans, Amith KK, gertvdijk, Luis Alvarado, Jorge Castro Jan 6 '13 at 20:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Visual Studio is a Windows thing. Don't bother setting that up on Ubuntu. You might be interested in cross-platform programming using Qt C++ or other options... – gertvdijk Jan 6 '13 at 16:24
It's not exactly the same question, but recent VS is a no-go on linux. Use VS proper in VBox for Windows only apps or any number of cross-platform toolkits listed in the What IDEs are available question. Notably: Qt, Code::blocks, and Eclipse CDT. – RobotHumans Jan 6 '13 at 16:30
@AbrahamVanHelpsing Re-read the q; I think his issue is broader than just an IDE. – gertvdijk Jan 6 '13 at 16:33
@gertvdijk Agreed. I thought it was the most helpful response to "cross-platform C++" as far as variety in answers. – RobotHumans Jan 6 '13 at 16:35
@WorkAround: I think you are missing an important point. With Visual Studio you won't be programming in C++, but in Visual C++. If you want to make your applications cross-platform (i.e. without using Wine or virtualization technologies), you will need a Visual C++ compiler. Before looking for an IDE, you should first look for the compiler (if exists). – Andrea Corbellini Jan 6 '13 at 17:01

I have had some experience in cross platform programming. To begin with Visual Studio, code built on visual studio will not run inherently as the binaries compiled from Visual Studio wont be supported. You might try to develop in C# using Visual studio and then can use mono libraries to run that code on linux but wont recommend it at all. Another way would be to use gcc and compile ur code using mingw of cygwin on windows and use that compiled code on windows and use gcc compiler to get binaries in linux. As for ide which is available for both the operating systems I would suggest Eclipse.

But if you want a good suggestion for cross platform development, then you should focus on all the operating systems independently as each have major differences.

Further with respect to qt, they again use mingw/cygwin (for windows) and generic linux libraries so you can consider them too (they give some good functional libraries too). Its just depends on what you are building!

share|improve this answer

Visual c++ is not cross platform, If you prefer cross platform application creation from visual studio try qt plugin for visual studio

share|improve this answer

Or look at the Eclipse IDE for C/C++ Developers.

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – hhlp Jan 6 '13 at 17:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.