Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: nster on February 21, 2011, 08:41:17 PM



Title: Import Error : DLL + bat file quickly flashes
Post by: nster on February 21, 2011, 08:41:17 PM
Alright so I'm trying to solo-mine with the Python OpenCL thing. My bitcoin directory is C:\bitcoin\bitcoin.exe, my poclbm directory is C:\bitcoin\poclbm_py2exe_20110215\poclbm.exe

I already created a bitcoin.conf file in the users\***\AppData\Roaming\bitcoin directory (yes extensions are being shown and it is really bitcoin.conf) and put
rpcuser=nster
rpcpassword=(mypassword)

I put a shortcut on my desktop with "C:\Bitcoin\bitcoin.exe" -server in target

I try to run poclbm.exe through command prompt gives me Import Error: DLL etc etc, trying through .bat file gives me a quick DOS pop-up and disappear. I will show Screenshots soon, but please help


Title: Re: Import Error : DLL + bat file quickly flashes
Post by: nster on February 21, 2011, 09:06:00 PM
http://img.techpowerup.org/110221/Capture012.jpg

That is what pop-up with the bat file... it basically writes what is inside the bat file

http://img.techpowerup.org/110221/Capture011.jpg

(I blacked out the password here) It gives me this error through CMD


Title: Re: Import Error : DLL + bat file quickly flashes
Post by: theGECK on February 21, 2011, 09:52:08 PM
When this happened to me, it was because the device was wrong. Try running poclbm.exe without any switches and it should give you a list of all the devices on your system and their numbers. Or, try just removing the --device=0 part of it. Outside of that, I don't have anything more.


Title: Re: Import Error : DLL + bat file quickly flashes
Post by: m0mchil on February 22, 2011, 05:09:11 AM
nster, check if you have proper OpenCL support. Remove any previous VGA drivers. Most probably you switched from Nvidia to AMD and there are conflicting versions of OpenCL.dll on you machine.


Title: Re: Import Error : DLL + bat file quickly flashes
Post by: bitjet on February 24, 2011, 02:26:48 AM
You can add the word 'pause' to stop the window from closing.


Title: Re: Import Error : DLL + bat file quickly flashes
Post by: nster on February 24, 2011, 03:15:09 PM
nster, check if you have proper OpenCL support. Remove any previous VGA drivers. Most probably you switched from Nvidia to AMD and there are conflicting versions of OpenCL.dll on you machine.

It was a driver conflict between my GT240 PhysX card and my 6870 :) After uninstalling my PhysX card drivers, I was able to make my 6870 work perfectly. I cannot seem to make both work however :(