构建 tangobos 以与 DMDScript 配合使用 / 让 ECMA 脚本与 D1-Tango 配合使用

发布于 2024-11-17 14:52:31 字数 1594 浏览 3 评论 0原文

我正在尝试在我的 win32 D1-Tango 设置上安装 DMDScript-tango 。我使用的版本是 0.99.9 Kai 捆绑包

当我尝试构建它时,我收到以下错误(以及其他错误)

C:\DMD\sources\dmdscript>dsss build
Creating imports for dmdscript_tango

dmdscript_tango => dmdscript_tango
dmdscript_tango\script.d(24): module ctype cannot read file 'std\ctype.d'
Command c:\dmd\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\DMD\sources\dmdscript>

它看起来仍然依赖于一些 phobos 代码 - 但由于 DMDScript 源代码提到 tangobos,我想我必须安装它才能使 DMDScript 工作。

我读过的内容来看,Tangobos 如今似乎与探戈捆绑在一起,但我似乎无法让它工作。我必须假设该页面已过时,并且 tangobos 实际上并未随 0.99.9 捆绑包一起提供。

所以,我想我应该从 svn.dsource.org 获取最新的 tangobos,但是当我尝试构建它时,我收到此错误:

C:\DMD\sources\tangobos>dsss build
Creating imports for crc32

Creating imports for tangobos

Creating imports for tangobos-etc

crc32.d => crc32
Error: no object files to link
Command c:\dmd\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\DMD\sources\tangobos>

我对这些链接器错误一无所知。所以我不知道该怎么做才能解决这个问题。 您可以在此处查看 dsss.conf

所以,我的问题是:

  1. 有谁知道如何处理该链接器错误?
  2. 我是否以错误的方式解决这个问题?有没有更简单的方法在 D1 中安装 ECMA/JavaScript 脚本引擎?

提前致谢!

I'm trying to install DMDScript-tango on my win32 D1-Tango setup. The version I'm using is the 0.99.9 Kai bundle .

When I try building it, I get the following error (among others)

C:\DMD\sources\dmdscript>dsss build
Creating imports for dmdscript_tango

dmdscript_tango => dmdscript_tango
dmdscript_tango\script.d(24): module ctype cannot read file 'std\ctype.d'
Command c:\dmd\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\DMD\sources\dmdscript>

It looks like it still depends on some phobos code - But since the DMDScript source mentions tangobos, I figured I'd have to install it to make DMDScript work.

Judging from what I've read, Tangobos seems to come bundled wih tango these days, but I can't seem to get it working. I'll have to assume that the page is outdated and tangobos does not in fact come with the 0.99.9 bundle.

So, I figured I'd grab the latest tangobos from svn.dsource.org, but when I try building it, I get this error:

C:\DMD\sources\tangobos>dsss build
Creating imports for crc32

Creating imports for tangobos

Creating imports for tangobos-etc

crc32.d => crc32
Error: no object files to link
Command c:\dmd\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\DMD\sources\tangobos>

I'm pretty clueless with those linker errors. So I can't figure out what to do to fix that one. You can see the dsss.conf here.

So, my questions are:

  1. Does anyone know what to do about that linker error?
  2. Am I going around this the wrong way? Is there an easier way to install an ECMA/JavaScript scripting engine in D1?

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

二智少女猫性小仙女 2024-11-24 14:52:31

简短回答:使用 D2。

长答案:使用D2。 D1 现在已经正式过时了,我不确定它什么时候会被完全放弃,但他们不久前冻结了它的开发,并且任何新代码(尤其是在 Phobos 中)都是针对 D2 编写的。

Tango-D1 目前几乎已经死了,所有的努力都集中在 SiegeLord 的 D2 端口上:http:// /github.com/SiegeLord/Tango-D2。几个月来 Tango-D1 没有任何有意义的更新。

这里有 DMDScript 到 D2 的端口: http://dsource.org/projects/dmdscript-2/ 。它说它已完成,最后一次提交是 5 个月 agi,所以它看起来合法,尝试一下。

就我个人而言,我暂时会坚持使用 D2 和 Phobos,Tango-D2 即将完成,并且目标是能够与 Phobos 一起安装(因此不会出现奇怪的运行时间冲突)。在 D2 上尝试 DMDScript-2 库,并在邮件列表/论坛中寻求帮助 ( http://forum.dlang .org/)。

顺便说一句,大多数人都觉得 Windows 上的 D 体验……缺乏。这是一个已知问题,希望能够得到纠正。

Short answer: Use D2.

Long answer: Use D2. D1 is now officially out of date, I'm not sure when it gets completely dropped, but they froze the development on it a while ago, and any new code (especially in Phobos) is being written against D2.

Tango-D1 is pretty much dead at the moment, with all the effort going towards SiegeLord's D2 port here: http://github.com/SiegeLord/Tango-D2. There have been no meaningful updates to Tango-D1 in months.

There is a port of DMDScript to D2 here: http://dsource.org/projects/dmdscript-2/. It says its complete, and the last commit was 5 months agi, so it seems legit, try it out.

Personally, I'd stick to D2 and Phobos for the time being, Tango-D2 is getting closer to done, and is aiming to be able to be installed alongside Phobos (so no weird conflicting druntimes). Try out the DMDScript-2 library on D2, and ask around the mailing list/forums for help ( http://forum.dlang.org/ ).

As a quick aside, D on windows is an experience most people find... lacking. This is a known problem, and hopefully will be rectified.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文