xiangjuntang / onering-desktop

Automatically exported from code.google.com/p/onering-desktop
0 stars 0 forks source link

Dependency dlls should be list in Wiki page. #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Following the instruction to setup onering-desktop.
(http://code.google.com/p/onering-desktop/wiki/RunDemo)
Copy the following files into demo folder:
#IEShims.dll
#msvcm90.dll
#msvcp90.dll
#msvcr90.dll
#OneRing1.dll
#phonon4.dll
#QtCore4.dll
#QtGui4.dll
#QtNetwork4.dll
#QtScript4.dll
#QtWebKit4.dll

2. Run 'python demo.py' on Windows, shows that some dlls still missing:
Traceback (most recent call last):
  File "demo.py", line 16, in <module>
    import onering
  File "C:\Program Files\Python27\lib\site-packages\onering-0.1-py2.7-win32.egg\
onering.py", line 8, in <module>
    import _onering
ImportError: DLL load failed: The specified procedure could not be found.

What is the expected output?
demo shows up.

What do you see instead?
error shows in console.

What version of the product are you using? On what operating system?
Win7 32bit, python2.7.1, QT 2010.05

Please provide any additional information below.
I believe that I still miss some neceesary files; I would like to write a 
'*.bat' or '*.sh' to automate this step after this issue fixed :)

Original issue reported on code.google.com by KevinXi.CN@gmail.com on 30 Dec 2010 at 4:04

GoogleCodeExporter commented 9 years ago
用 [http://www.dependencywalker.com/ depends.exe] 
看一下OneRing1.dll的依赖关系,看看还缺什么。比如如果你用��
�是 mingw32 版的 Qt 的话,会还需要 mingwm10.dll

Original comment by hongqn on 30 Dec 2010 at 6:29

GoogleCodeExporter commented 9 years ago
我上面列出来的那些文件都是通过depends.exe看出来的,然后我
把mingwm10.dll在内的MinGW的dlls都也放了进去,可惜还是缺失文��
�。
depends.exe也有提示说有错误,可能是我对depends.exe用的并不是�
��熟练,并看不出来具体缺失了哪一个,我截一张图在附件里
。我看不出来有啥问题咯,或许我该好好看看Dependency 
Walker的说明文档!

Original comment by KevinXi.CN@gmail.com on 30 Dec 2010 at 9:01

Attachments:

GoogleCodeExporter commented 9 years ago
对了,我是用MinGW编译的,谢谢!

Original comment by KevinXi.CN@gmail.com on 30 Dec 2010 at 9:02

GoogleCodeExporter commented 9 years ago
你把中间那个列表往下拉,看看有没有标红的dll?

Original comment by hongqn on 30 Dec 2010 at 9:18

GoogleCodeExporter commented 9 years ago
问题解决了!我认为是我使用的dll的版本问题!在Windows版本Q
T的安装目录里,有两份dll文件,分别是:
1. #C:\Qt\2010.05\qt\bin,自己编译的版本?
2. #C:\Qt\2010.05\bin

注:按照hongqn的安装说明,最后一步使用#1#目录下的以下六��
�dll文件,拷贝到demo目录,就可以了:
#phonon4.dll
#QtCore4.dll
#QtGui4.dll
#QtNetwork4.dll
#QtScript4.dll
#QtWebKit4.dll

附件是demo运行的截图,感谢hongqn的细心指导!!

Original comment by KevinXi.CN@gmail.com on 31 Dec 2010 at 1:28

Attachments:

GoogleCodeExporter commented 9 years ago
已经更新wiki http://code.google.com/p/onering-desktop/wiki/RunDemo

感谢 KevinXi.CN 反馈 :)

Original comment by hongqn on 31 Dec 2010 at 8:30