Hi all.
I believe this project was working in v0.10. Now it compiles correctly but it bombs with the above message :/
Putting pcre.dll from the bin folder alongside the .exe doesn't help. The PATH includes the bin folder.
This is (obviously) on W8.1.
Must be something very basic I missed.
First off, what project? As far as I know, the Nim compiler doesn't depend on pcre.
Your problem is likely due to mixing a 32- or 64-bit pcre dll with a 64- or 32- bit program. A 64-bit program cannot normally load 32-bit dll's, and vice-versa.
Thanks. Possibly that's it..
So, I tried uninstalling then reinstalling, 0.11.2, with both the 32b and 64b versions.
Aporia now bombs (in both) with an "unhandled exception: the system could not find the file specified".
I checked all install options (MingW, Aporia, etc) and clicked through to the end.
I uninstalled then reinstalled 0.10.2 (by modifying the 11.2 download link), now it all works again.
Thanks.
I just installed the Nim port of docopt ( https://github.com/docopt/docopt.nim ) with the same install as you, and it triggers the same error:
could not load: pcre.dll
when I import it. Otherwise it's fine.
Any ideas ?
I just had that problem on amd64 win7 machine trying to run an exe that previously worked (was compiled and ran OK before updating Nim to 0.11.2)
I downloaded a new pcre binary (pcre3.dll) from the internet, copied it to the nim\bin directory, renamed as pcre.dll and now the compiled nim exe runs.
OS: windows server 2008
code: import jester, asyncdispatch, htmlgen
runForever()
error: Hint: operation successful (35714 lines compiled; 18.751 sec total; 60.619MB; Debug Build) [SuccessX] d:nimwebwebweb.exe could not load: pcre.dll Error: execution of an external program failed
I tried 32bit64bit nim、32bit64bit MingW。
Who can help me?
Thank you
The issue from MSVCR100.DLL, It's not about pcre.dll
Just now, liulun has solved issue.