在 Windows(Vista 和 XP)上安装 Exuberant Ctags [英] Installing Exuberant Ctags on Windows (Vista and XP)

查看:27
本文介绍了在 Windows(Vista 和 XP)上安装 Exuberant Ctags的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在工作时在 Vista(可能还有 XP 笔记本电脑)上使用 Exuberant Ctags;操作系统别无选择.我使用 GVim 而不是我的同事推荐的 Flex Builder,因为 FB 有问题,并且不会做 GVim 所做的事情.我在此处获得了 zip 文件.Ctags 安装文件包括:

<前>mk_bc3.mak 用于使用 Borland C/C++ 3.x 的 MSDOSmk_bc5.mak 对于使用 Borland C++ 5.5 的 Win32mk_djg.mak 对于使用 DJGPP Gnu GCC 的 MSDOS(最好遵循 Unix 安装)mk_ming.mak 对于使用 Mingw32 的 Win32mk_mvc.mak 对于使用 Microsoft Visual C++ 的 Win32

我真的不明白这意味着什么(我对每个想法都有一些了解,但没有像这样组合在一起),但我选择了最后一个选项,因为听起来最有可能成功.我以管理员身份打开命令提示符,cd 到解压的 ec57w32 文件夹,然后输入 mk_mvc.mak.

Visual Studio 欢迎我使用转换向导,并提出在我同意的继续之前进行备份,但转换失败.转换日志显示,由于项目文件损坏,无法加载项目.再次下载,再次解压,没有做备份文件,也出现同样的情况;以及当我尝试其他每个 mk 命令时.一路上没有其他选择.

我还能尝试什么?

解决方案

windows zip 文件已经包含一个已编译的 ctags.exe,因此您不需要自己进行构建.打开 CMD 并从那里查看 ctags.

I want to use Exuberant Ctags on Vista (and probably the XP laptop) at work; no choice about the OS. I'm use GVim instead of the Flex Builder recommended by my co-worker, because the FB is buggy and doesn't do what GVim does, anyway. I got the zip file here. The Ctags install file says, among other things:

    mk_bc3.mak    For MSDOS using Borland C/C++ 3.x
    mk_bc5.mak    For Win32 using Borland C++ 5.5
    mk_djg.mak    For MSDOS using DJGPP Gnu GCC (better to follow Unix install)
    mk_ming.mak   For Win32 using Mingw32
    mk_mvc.mak    For Win32 using Microsoft Visual C++

I don't really understand what all that means (I have some grasp of each idea individually, but not put together like this), but I chose the last option as sounding Most Likely to Succeed. I opened the command prompt as Administrator, cd'd to the unzipped ec57w32 folder, and typed mk_mvc.mak.

Visual Studio welcomed me to the conversion wizard, offered to make a backup before proceeding to which I assented, and conversion failed. The conversion log says, Cannot load the project due to a corrupt project file. Same thing happened when I downloaded again, unzipped again, and did not make backup files; and also when I tried each of the other mk commands. There weren't any other choices along the way.

What else can I try?

解决方案

The windows zip file already contains a compiled ctags.exe, so you should not need to do a build yourself. Open CMD and have a look at ctags from there.

这篇关于在 Windows(Vista 和 XP)上安装 Exuberant Ctags的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆