Git Product home page Git Product logo

Comments (8)

dom96 avatar dom96 commented on August 29, 2024

You can grab this DLL here: https://nim-lang.org/download/dlls.zip

from neverwinter.nim.

jsknnr avatar jsknnr commented on August 29, 2024

That seems to fix the issue.

from neverwinter.nim.

niv avatar niv commented on August 29, 2024

For the record, new download should include all the needed dlls on Windows.

from neverwinter.nim.

Mingun avatar Mingun commented on August 29, 2024

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

  1. Ruby: https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.3-1/rubyinstaller-2.5.3-1-x64.exe
  2. 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
  3. Install this package
    nimble install neverwinter
    
  4. Install nwn-devbase
    git clone https://github.com/jakkn/nwn-devbase.git
    cd nwn-devbase
    gem install bundler
    bundle install
  5. Download NWN Script Compiler: https://neverwintervault.org/sites/neverwintervault.org/files/project/29016/files/nwnsc-windows-1.0.0.zip
  6. 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/
  7. 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.

Mingun avatar Mingun commented on August 29, 2024

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.

jakkn avatar jakkn commented on August 29, 2024

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.

Mingun avatar Mingun commented on August 29, 2024

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.

Mingun avatar Mingun commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.