无法在我的Mac或PC上运行stanford CS107分配文件,帮助〜 [英] Failed to run stanford CS107 assignment files on my Mac or PC, help~

查看:203
本文介绍了无法在我的Mac或PC上运行stanford CS107分配文件,帮助〜的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在审核Stanford cs107,无法取得指派档案(可在这里找到 http://see.stanford.edu/see/materials/icsppcs107/assignments.aspx )在我的Mac或PC上工作。我试图在Ubuntu上通过VM运行它,它也没有工作。



在分配1中,文件rsg-sample-linux显示不可执行,与分配PDF文件不同。在我使用chmod将其更改为可执行文件后,我的Mac上的终端说不能执行二进制文件,Ubuntu说没有这样的文件目录这样的东西。

$ p

谢谢!

解决方案

由于这些是二进制文件,不能保证它们在您的系统上运行。 rsg-sample-linux 是用于32位系统,因此如果您有一个64位系统并缺少一些兼容性库,它将无法工作。



因此,您不能避免键入 make 并自行构建 rsg


I was auditing Stanford cs107 and unable to get the assignment files (which could be found here http://see.stanford.edu/see/materials/icsppcs107/assignments.aspx) working on my Mac or PC. I tried to run it on Ubuntu through VM, it didn't work either.

In assignment 1, the file rsg-sample-linux shows not executable, unlike it is on the assignment PDF file. After I used chmod to change it to be executable, the terminal on my Mac says "cannot execute binary file", and Ubuntu says "no such file directory" something like that.

I really want to go through all the assignments while auditing this class

Thanks!

解决方案

Since these are binary files there is no guarantee that they run on your system. rsg-sample-linux is for 32 Bit systems, so if you have a 64 Bit system and missing some compatibility library, it won't work.

Therefore you cannot avoid typing in make and built the rsg on your own.

这篇关于无法在我的Mac或PC上运行stanford CS107分配文件,帮助〜的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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