开发者

Which IDE for C++ software can I use for targeting Windows, Linux and OSX?

开发者 https://www.devze.com 2022-12-20 14:13 出处:网络
I was reading today question on IDEs fo C++, and there are very good ones like Netbeans. My question is 开发者_如何学运维about creating a software in C++ on Windows Environment, but let users install

I was reading today question on IDEs fo C++, and there are very good ones like Netbeans.

My question is 开发者_如何学运维about creating a software in C++ on Windows Environment, but let users install and run my software also on Linux and OSX.

Does netbeans has a compiler to do the job, or is there any good IDE which has a compiler for targeting my c++ code to these other environments?

thank you


QtCreator. It's awesome, slick and everything.

While it is not as feature rich as some competitors, it does many things just right that others don't.

I would say it is the one truly cross-platform IDE that is competitive to single-platform solutions. And it comes with tight integration of a very powerful and clean cross-platform toolkit. Something that you need for most cross-platform applications by itself.


I use Eclipse CDT and have had some degree of success. But I'm a Java programmer, so it's what I'm used to. It's worth checking out, and the extensions are quite cool.


Many people like Code::Blocks and it is cross-platform, with integrated debugging, code completion, etc. Qt Creator is also good and at least still very minimalistic.


Without a doubt VisualStudio with gnu make.


I've found Visual Studio to have the best IDE for C++. In addition, it's debugger and the way it handles multi-threaded applications is excellent.

And you can tweak the properties for your project to use different compilers and compiler flags of your choice, so it can build to any target.


You're talking about cross-compiling as GMan said, that's a compiler job, not IDE's and itu's kind of hard to make C++ software that runs well on Linux/Windows/MacOSX, C++ isn't a cross plataform language beacuse of its ABI, so you should try to use C++ standart code. If you're making a consloe application there's no much problem just be care not to use system interface, but if you're planning to do some kind of graphics app then C++ it not the better choice for your purpose. Try some design that split the view from the controller/model of the app.


You can use QtCreator or NetBeans. First on C++ secord on Java. Both use MinGW g++.


Just a thought: you don't need to use a single IDE for all platforms. It is very common, for example, to use Visual Studio on Windows and Xcode on Mac OS X for cross-platform projects. I'm not familiar with Linux IDEs thought so couldn't recommend anything there.


Write makefiles for each OS? Simple enough seems to me.


Concerning cross plattform development it doesn't make a difference which IDE you use. Just make sure you use a cross platform (and possibly IDE independent) build system like SCons or cmake.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号