Giter Site home page Giter Site logo

require dll module about autorun-rs HOT 3 CLOSED

vurv78 avatar vurv78 commented on May 21, 2024
require dll module

from autorun-rs.

Comments (3)

Vurv78 avatar Vurv78 commented on May 21, 2024

Make sure they are properly named:
e.g. gmcl_enginepred_win32.dll

Autorun just runs in an environment that inherits from _G, so there's nothing changed with require. Unless you mean sautorun.require, which is not meant to be used for binary modules

https://wiki.facepunch.com/gmod/Creating_Binary_Modules

from autorun-rs.

YohSambre avatar YohSambre commented on May 21, 2024

Make sure they are properly named: e.g. gmcl_enginepred_win32.dll

Autorun just runs in an environment that inherits from _G, so there's nothing changed with require. Unless you mean sautorun.require, which is not meant to be used for binary modules

https://wiki.facepunch.com/gmod/Creating_Binary_Modules

I'm afraid that's not enough, I still get the error that the module cannot be found

from autorun-rs.

Vurv78 avatar Vurv78 commented on May 21, 2024

IIRC this also happens if the module you are trying to load has missing dependencies / that gmod can't access. Like in the case of my https://github.com/Vurv78/gfluid, you need to include Nvidia Flex's .dll's in your Garrysmod/Bin folder.

from autorun-rs.

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.