Comments (8)
You can grab this DLL here: https://nim-lang.org/download/dlls.zip
from neverwinter.nim.
That seems to fix the issue.
from neverwinter.nim.
For the record, new download should include all the needed dlls on Windows.
from neverwinter.nim.
Unfortunately, the problem still is present. The solution according to the link is higher too unclear -- where to place the downloaded dll?
I use Windows 10 x64 and try setup NWN dev environment as described in https://github.com/jakkn/nwn-devbase. I install
- Ruby: https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.3-1/rubyinstaller-2.5.3-1-x64.exe
- Nim (strange, but for windows only x86 prebuilt): https://github.com/dom96/choosenim/releases/download/v0.3.2/choosenim-0.3.2_windows_i386.exe
- Install this package
nimble install neverwinter
- Install nwn-devbase
git clone https://github.com/jakkn/nwn-devbase.git cd nwn-devbase gem install bundler bundle install
- Download NWN Script Compiler: https://neverwintervault.org/sites/neverwintervault.org/files/project/29016/files/nwnsc-windows-1.0.0.zip
- Create my NWN module devel folder:
mkdir module && cd module git init ..\..\nwn-devbase\build.rb init cp path-to-my/module.mod server/modules/
- Try to extract my
.mod
and get this error:D:\Projects\NWN\modules\module>..\..\nwn-devbase\build.rb -v extract [DEBUG] Current environment: FLAT_LAYOUT: false START_TIME: 2018-12-30 20:31:31 +0500 ARGV: ["extract"] EXECUTION_DIR: D:/Projects/NWN/nwn-devbase WORKING_DIR: D:/Projects/NWN/modules/module NWNPROJECT: D:\Projects\NWN\modules\module\.nwnproject PROJECT_ROOT: D:\Projects\NWN\modules\module PROJECT_USER_CONFIG: PROJECT_DEFAULT_CONFIG: D:\Projects\NWN\modules\module\.nwnproject\config.rb.in GLOBAL_USER_CONFIG: GLOBAL_DEFAULT_CONFIG: D:\Projects\NWN\nwn-devbase\config.rb.in HOME_DIR: D:\Projects\NWN\modules\module\server INSTALL_DIR: MODULE_DIR: D:\Projects\NWN\modules\module\server\modules MODULE_FILENAME: module MODULE_FILE_EXT: .mod MODULE_FILE: D:/Projects/NWN/modules/module/server/modules/module.mod CACHE_DIR: D:\Projects\NWN\modules\module\.nwnproject\cache TMP_CACHE_DIR: D:\Projects\NWN\modules\module\.nwnproject\cache\tmp GFF_CACHE_DIR: D:\Projects\NWN\modules\module\.nwnproject\cache\gff SRC_DIR: D:\Projects\NWN\modules\module\src NUMBER_OF_SOURCES: 0 NSS_DIR: D:\Projects\NWN\modules\module\src\nss NSS_BATCHOUTDIR: D:\Projects\NWN\modules\module\.nwnproject\cache\gff NSS_COMPILER: nwnsc COMPILER_ARGS: ["-qo", "-n", "", "-y", "-b", "D:\\Projects\\NWN\\modules\\module\\.nwnproject\\cache\\gff"] ERF_UTIL: nwn_erf GFF_UTIL: nwn-gff RESMAN_DIR: D:\Projects\NWN\modules\module\resman EXTRACT_RAKE: D:\Projects\NWN\nwn-devbase\extract.rake PACK_RAKE: D:\Projects\NWN\nwn-devbase\pack.rake SYMLINK_RAKE: D:\Projects\NWN\nwn-devbase\symlink.rake SCRIPTS_DIR: D:\Projects\NWN\nwn-devbase\scripts [INFO] Extracting D:/Projects/NWN/modules/module/server/modules/module.mod. could not load: pcre32.dll [ERROR] Something went wrong while extracting D:/Projects/NWN/modules/module/server/modules/module.mod. [ERROR] Aborting.
Can @niv or @jakkn tell me what I'm doing wrong and how to fix this?
from neverwinter.nim.
Ok, I finded place to where put downloaded dlls:
D:\Projects\NWN\modules\module>where nim
C:\Users\Mingun\.nimble\bin\nim.exe
and place it to C:\Users\Mingun\.nimble\bin
and after that everything work. However I want to find the correct way of fix error
from neverwinter.nim.
I'll chime in here since I was mentioned and I have time to help out, @Mingun, but I have to say that this report is very confusing and I feel a need to start by saying why.
First, you are currently commenting on a closed issue about missing DLLs in the neverwinter.nim project whereas you're probably better off starting a new one. Second, the context is expanded to include nwn-devbase, which, although a consumer of neverwinter.nim, is a different project and not related to the topic. Third, by including all the instructions from the devbase readme, which has really nothing to do with the error, it's even harder to get a clear picture.
Now, from what I understand you are looking for the correct way to install the neverwinter.nim binaries on your Windows system - is that correct? If yes, then this is already documented in the README.
Binary releases are available on the Github Releases page of this project. You do not need to install anything else.
So grab the latest release and put the binaries on your PATH environment variable. If you wish to build the binaries from sources you'll have to follow the documentation and put the contents of the /bin folder on your PATH environment variable.
I hope that clears things up.
from neverwinter.nim.
First, you are currently commenting on a closed issue about missing DLLs in the neverwinter.nim project whereas you're probably better off starting a new one.
In the presence of an opportunity I always try to reopen old problems, than to get new, especially if old were not resolved in any specific way. In this case the task is simply closed without explanation that was changed that suggests me an idea that the author just could not reproduce it in their environment. In this case it seemed to me that the problem is not solved and there is a sense to open it and to continue work on its solution. Just GitHub does not give me of technical capability to reopen issue, otherwise I would make it.
Second, the context is expanded to include nwn-devbase, which, although a consumer of neverwinter.nim, is a different project and not related to the topic.
The context is expanded for a demonstration of process in which the problem is reproduced. As I already wrote above, it seems, that the author just could not reproduce it and thought that the problem is solved. I show that it not so
Third, by including all the instructions from the devbase readme, which has really nothing to do with the error, it's even harder to get a clear picture.
As I already stated above, these are full instructions for reproduction of an error. Perhaps, some of them excessive, but it is difficult to me to define it as neither Ruby, nor Nim are my main tools and are necessary to me only so far as they are required for nwn-devbase
Now, from what I understand you are looking for the correct way to install the neverwinter.nim binaries on your Windows system - is that correct?
Yes, everything is correct
If yes, then this is already documented in the README.
Hm. On me, this line does not look binding. More likely, as ONE of options:
-- Hey, I do not want to potter with any installers, do you have just binaries?
-- Yes, they here
And further there is the second option:
-- And if I want to make everything correctly?
-- Well, then here so
If it not that it is expected, it definitely it is worth reformulating
I hope that clears things up.
Many thanks, @jakkn. Yes, all this places on the places.
@niv, thus, perhaps there is only a problem with insufficiently accurate documentation
from neverwinter.nim.
I will a little explain why installation of binary files seems hackish made especially for those who do not want to penetrate deeply. In the description of the nwn-devbase
installation it is told that at first it is necessary to install choosenim
, and then newerwinter.nim
. If newerwinter.nim
is delivered in binary files (i.e. it is supposed that this completely packed application without third-party dependences), then why Nim is required? Therefore, if it is required, installation of binary files is hack bypassing the package manager of Nim and it should be avoided
from neverwinter.nim.
Related Issues (20)
- nwn_script_comp: Too many open files
- nwn_script_comp: Allow case-insensitive script parsing HOT 3
- Script comp fails on PRC includes HOT 1
- nwn_script_comp: v1.7.1 doesn't properly utilize threads HOT 2
- nwn_script_comp: Existing but null/empty include files trigger an "ERROR: FILE NOT FOUND" when compiling the script HOT 1
- nwn_script_comp: Mismatched data type between function declaration and implementation is not properly detected
- scriptcomp: Ability to emit warnings
- nwn_script_comp: type mismatch on assignment isn't detected in non-void-main and non-starting-conditional scripts
- nwn_script_comp: Wrong error type detected upon using an unknown identifier as an if() argument
- Error when using a positive value with the + sign HOT 1
- nwn_nwsync_write throw error about size HOT 1
- nwn_script_comp: Issues building on Windows 10 and not picking up $NWN_ROOT and $NWN_HOME environment variables on WSL2 HOT 2
- Windows releases have double ".exe.exe" extensions HOT 3
- Install Error: cannot open file: std/db_sqlite HOT 2
- NWN_GFF Assert Defects with gff output in stdout [Windows] HOT 3
- nwn_script_comp: Illegal storage access
- scriptcomp: ERROR: "for" STATEMENT CANNOT BE FOLLOWED BY A NULL STATEMENT.
- nwn_script_comp: Info level logs sent to stderr instead of stdout in node HOT 6
- nwn_script_comp: Custom directories for includes doesn't seem to be supported HOT 2
- nwn_script_comp: Cannot compile an include file on its own HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neverwinter.nim.