Giter VIP home page Giter VIP logo

Comments (4)

liuyaxin avatar liuyaxin commented on July 29, 2024 2

here is a command for Release

cmake --build . --config Release

from obs-studio-node.

RodrigoHolztrattner avatar RodrigoHolztrattner commented on July 29, 2024 1

I believe you are missing the yarn install command before doing these other commands.
This instruction was missing from our readme file, thanks for pointing, it will be updated soon.

from obs-studio-node.

xiaoyongcheng avatar xiaoyongcheng commented on July 29, 2024

first appreciate your reply, sorry I didn't see it in time. I am a fresh, sorry to bother you.

  • yarn install is helpful, it's solve something dep.

  • but in the commend cmake .. -G"Visual Studio 15 2017" -A x64 I always seen some messy code(some Chinese messy word) in my terminal (At other times the display is normal), I can't know what the error is. Executing the command again later is successful. but cmake build . can't create Release folder, only Debug in client,server and _dep/stackwalker-build.This affect cpack find folder.

Which configuration did I have a problem with. It's the issue of Release?or use.Thanks a lot.


Please ignore the following, I just want to update electron and node to extend the application.

I tryed copy all of file in Debug to Release, it seem worked. but when i use it ,terminal reported 'obs_studio_client.node' was compiled against a different Node.js version using. Same as the one reported by the package you provided directly. this package also report same problem, so that I chose to compile the project myself. I use the same node version12.0.0 , the part electron ver 5.0.0.The NODE_MODULE_VERSION must be 70, but why compiled version is 69.
https://nodejs.org/zh-cn/download/releases/#ref-1

Here is the whole report:
Error: The module '\?\C:\Users\73665\Desktop\mxc-obs\node_modules\obs-studio-node\obs_studio_client.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 69. This version of Node.js requires
NODE_MODULE_VERSION 70. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
at Module.load (internal/modules/cjs/loader.js:602:32)
at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
at Function.Module._load (internal/modules/cjs/loader.js:533:3)
at Module.require (internal/modules/cjs/loader.js:640:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (C:\Users\73665\Desktop\mxc-obs\node_modules\obs-studio-node\module.js:3:13)
at Object. (C:\Users\73665\Desktop\mxc-obs\node_modules\obs-studio-node\module.js:95:3)

from obs-studio-node.

EddyGharbi avatar EddyGharbi commented on July 29, 2024

Let me know if this is still an issue, also make sure to correctly set CMAKE_INSTALL_PREFIX when configuring cmake.

from obs-studio-node.

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.