在没有 Visual Studio 的 Windows 上编译 ODE(适用于 PyODE)
我是编译别人编写的程序的新手,所以我希望我没有遗漏任何明显的东西。
我真正想做的是安装 PyODE,我认为我做得很好,但是在运行 PyODE 示例时我收到错误:
Traceback (most recent call last):
File "C:\Python26\pyode-examples\tutorial3.py", line 12, in <module>
import ode
ImportError: DLL load failed: The specified module could not be found.
这假设意味着它找不到已安装的 ODE。我以为 PyODE 与 ODE 捆绑在一起,但我想不是..所以现在我尝试根据以下说明编译 ODE: http://opende.sourceforge.net/wiki/index.php/ Manual_%28Install_and_Use%29
但它们似乎都围绕着为 Visual Studio 创建配置文件,而我没有。
有人可以告诉我这里的正确程序吗? 谢谢! :) -离开
I'm new to compiling programs written by someone else, so I hope I'm not missing anything obvious.
What I am really trying to do is install PyODE, and I think I managed that just fine, but when running the PyODE examples I get an error:
Traceback (most recent call last):
File "C:\Python26\pyode-examples\tutorial3.py", line 12, in <module>
import ode
ImportError: DLL load failed: The specified module could not be found.
which assume means that it can't find ODE installed. I thought PyODE came bundled with ODE but I guess not.. so now I'm trying to compile ODE according to these instructions:
http://opende.sourceforge.net/wiki/index.php/Manual_%28Install_and_Use%29
but they all seem to revolve around creating configuration files for visual studio which I don't have.
Could someone please clue me in on the proper procedure here?
Thanks! :)
-Leav
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的问题与是否可以在没有 Visual Studio 的情况下编译 ODE 完全无关。
只需将 python 目录中的 ODE.dll 复制到示例目录中即可。
谢谢托马斯! :)
My Problem was completley unrelated to whether or not you could compile ODE without visual studio.
Simply copied ODE.dll which was in the python directory into the example's directory.
Thanks Thomas! :)