Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当我运行时,提示Error无法定位程序输入点与动态链接库 #1

Open
Xiwen-Lu opened this issue May 25, 2020 · 3 comments

Comments

@Xiwen-Lu
Copy link

image

如上图所示.

我只是下载了源代码文件,然后CMD进入目录,执行命令 ecc demo.ec demo 111111,系统便提示如上错误。
我的运行平台是:Windows10 64位 。

@Fierygit
Copy link
Owner

这个程序是在我电脑上编译的, 你需要先make, 生成一个在你的平台上的ecc 程序, 然后再执行这条命令,然后用生成汇编用在 x86 平台上链接然后执行。

@Xiwen-Lu
Copy link
Author

谢谢。当我尝试使用make 命令时,又一次返回了如下的错误,这是为什么。
image

@Fierygit
Copy link
Owner

emm, 我忘记写make clean了, 这个应该是依赖的 .o 文件没有重新编译, 可以在makefile加一段:

clean:
rm ./*.o
---------------------(powershell)
如果还不行就应该是gcc 的原因了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants