我正在设置一台 Linux 开发机器(Ubuntu 9.0.x)。
我想知道 Ubuntu 上 C++ 开发人员的最佳开发环境 - 给出我的背景(见下文)。
- 5 年以上 C++
- 5 年 Visual Studio
- 没有太多使用 GNU 工具的经验 (GCC、GDB, make 等)
- 使用 Emacs< 大约 6 个月/a> 在大学时(大约 8 年前!) - 但我什么都不记得了 ;)
我有 Windows 背景,所以使用 GUI 比 CLI,尽管我希望随着时间的推移学习 CLI 命令。在 Linux 上的开发方面,我希望能够高效并“立即投入使用”。
我对能够让我的生活更轻松的工具特别感兴趣:
1)。项目管理
2)。通过 GUI 构建配置(而不是 makefile 编辑 - 至少现在是这样)。
3)。调试 IDE,允许我设置断点和单步执行/退出/跳过
如果建议的 IDE 有一个 GUI 来简化我向 Linux 的过渡,那么将会非常有用,而且还可以自定义(例如,可以接受手工编辑的 make 文件等 - 当我已经学会了如何创建它们)。这将使我以后能够更好地控制构建过程。
为了让我在 Ubuntu 桌面上以最短的时间实现最大的工作效率,您会推荐哪组工具?
所以:
哪个应用程序 (IDE) 提供:
(我)。从 Visual Studio 进行最简单的转换(最好可以使用手动制作的 make 文件)
(二).类似于适用
于最新 Ubuntu (9.0.x) 桌面操作系统的 Visual Studio 的广泛调试功能?
I am setting up a Linux development machine (Ubuntu 9.0.x).
I want to know the best development environment for a C++ developer on Ubuntu - giving my background (see below).
- 5 years+ C++
- 5 years Visual Studio
- Not much experience using GNU tools (GCC, GDB, make, etc.)
- 6 months or so of using Emacs at university (about 8 years ago!) - I don't remember anything though ;)
I come from a Windows background so am more at ease with GUI than CLI, although I expect to learn the CLI commands over time. I want to be effective and "hit the ground running" as it were, in terms of developing on Linux.
I am particular interested in tools that will make my life easier for:
1). project management
2). build configuration via GUI (rather than makefile editing - at least for now).
3). debugging IDE that allows me to set breakpoints and step in/out/over
It would be useful if the IDE suggested has a GUI to ease my transition to Linux, but is also customisable (e.g. can accept hand crafted edited make files etc. - when I have learnt how to create them). This will allow me to have more control over the build process later on.
Which set of tools would you recommend in order for me to achieve the maximum productivity in the minimum amount of time on my Ubuntu desktop?
So:
Which application (IDE) offers:
(i). easiest transition from Visual Studio (and ideally can use manully crafted make files)
(ii). extensive debugging capability akin to Visual Studio
for the latest Ubuntu (9.0.x) desktop OS?
发布评论
评论(5)
至于 C++ 开发,我会选择 Qt Creator IDE,以便最轻松地从 Visual Studio 迁移。我相信它可以满足您的所有需求。
As for C++ developing I'd choose Qt Creator IDE for easiest migrating from Visual Studio. I believe it can cover all your needs.
您需要的最佳工具是:
对于 Ubuntu 我建议你使用 Glade,因为 Ubuntu 使用 Gnome(GTK)。
关于 IDE:
The best tools that you need are:
For Ubuntu I suggest you to use Glade, because Ubuntu uses Gnome(GTK).
About IDEs:
我认为你应该硬着头皮学习足够的 make、gcc 和 gdb 来完成你需要在命令行执行的操作。如果你解决了这个问题,你就可以使用任何你喜欢的编辑器来编写代码——甚至是 Visual Studio 的编辑器。
I think you should just bite the bullet and learn enough make, gcc, and gdb to accomplish what you need to do at the command line. If you get that taken care of, you can use whatever editor you like to write the code -- even Visual Studio's editor.
看看Code::Blocks。它是一个用于执行 C/C++ 的不错的 IDE,并且带有自己的构建系统。但请确保不要获取官方 ubuntu 存储库中的版本,而是前往 CB 论坛并查找最新的夜间构建。有人用 ubuntu 软件包维护存储库。我认为 CB 值得安装最新版本的麻烦。
链接到 Code::Blocks 论坛
顺便说一句。我几天前安装了。有两个人维护 64 位 Ubuntu 软件包。但只有一个有效。就是这个。
Have a look at Code::Blocks. It's a nice IDE for doing C/C++ and comes with an own build-system. But be sure not to grab the version inside the official ubuntu repository but go to the CB forum and look for the latest nightly build. There are people maintaining repositories with ubuntu packages. I think CB is worth the hassle of installing the latest version.
Link to Code::Blocks Forum
Btw. I did an install some days ago. There are two people maintaining 64-Bit Ubuntu packages. Only one did work, though. It was this one.
您可以使用 Glade 界面设计器 (glade.gnome.org) 进行界面设计。
用于 UML 建模和建模的 BOUML项目管理
您始终可以使用 eclipse 或 netbeans 在 Linux 上进行 C++ 开发。
虽然我推荐Eclipse,它会自动生成makefile,调试非常容易&您可以在 IDE 中配置代码存储库。
You can use Glade Interface designer (glade.gnome.org) for interface design.
BOUML for UML modelling & project management
You can always use eclipse or netbeans for c++ development on linux.
Though I recommend Eclipse, it would automatically generate makefiles, debugging is very easy & you can configure your code repositories within the IDE.