如何在 Windows 上安装 JudyArrays(C 库)
我知道这听起来是一个相当愚蠢的问题,但我在安装下载的库方面没有很好的经验...
无论如何,我下载了 JudyArrays 的源代码(对于那些不这样做的人来说,这是一个用于 256-trie 的 C 库)我不知道)来自sourceforge,安装说明指的是make 命令。我尝试下载此实用程序,但无法正常工作。哪个是正确的目标 makefile?我设法得到的是:
"..path\Makefile.in":15: *** missing separator. Stop.
我尝试在谷歌上搜索一些帮助,但没有找到任何东西,要么我使用错误的查询字符串进行搜索,要么我是整个星球上唯一无法安装它的愚蠢的人... 有什么帮助吗?有没有更简单的方法呢? 谢谢大家
I know it can sound as a pretty dumb question, but I do not have a great experience with installing downloaded libraries...
Anyhow I downloaded the source code of JudyArrays (which is a C library for a 256-trie for those who doesn't know it) from sourceforge and the installation instructions refers to the make command. I tried to download this utility, but I can't get it work. Which is the correct target makefile? All I managed to get was:
"..path\Makefile.in":15: *** missing separator. Stop.
I tried googling for some help but didn't find anything, either I'm searching with the wrong query string or I'm the only dumb person in the whole planet that can't manage to install it...
Any help? Is there any simpler method?
Thanks everyone
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
运行 Visual Studio 命令提示符以获取具有正确路径集的 cmd.exe。 cd 进入 JudyArrays 源代码的 src 目录并运行 build.bat。这将编译 Judy 并生成一个 .lib 和一个 .dll 以及一个 Judy.h 头文件文件,您必须像任何其他第 3 方库一样在项目中使用。
Run your Visual Studio Command Prompt to get a cmd.exe with the proper paths set. cd into the
src
directory of the JudyArrays source code and run build.bat. This'll compile Judy and produce a .lib and a .dll and a Judy.h header file file you'll have to use in your projects as any other 3. party library.