Comments (4)
here is a command for Release
cmake --build . --config Release
from obs-studio-node.
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.
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. butcmake build .
can't create Release folder, only Debug in client,server and _dep/stackwalker-build.This affectcpack
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.
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)
- SceneFactory.fromName return exception on duplicate scene HOT 1
- Cannot build with custom libobs (missing files in the OBS.app) in Mac HOT 5
- slobs-virtual-cam doesn't support Mac arm (m1/m2) chips
- amd_amf_h264 not configured in simple recording mode HOT 9
- audio often sounds robotic HOT 2
- [nodeobs_display.cpp] should WS_POPUP be removed for SetParent() ? HOT 1
- Is it possible to get the volume of the audio devices and change them? HOT 6
- how to adding SEI data to every frame
- Setting bitrate and name on audio tracks seems broken
- Overlay issues with preview display and HTML CANVAS HOT 1
- Question: Is obs-studio-node actually communiating with a running OBS instance? HOT 2
- Question: Which version should I use ? HOT 8
- mac(x86_64) compilation failed, "https://obsstudios3.streamlabs.com/libobs-osx-release-29.1.3sl6-x86_64.7z" non-existent HOT 3
- How to use example build in arm64 mac? HOT 2
- About " node-window-rendering" in macOS HOT 1
- Question: How to use this function? "SetWorkingDirectory"
- Cannot find module './obs_studio_client.node' or The file cannot be accessed by the system. HOT 4
- Virtual camera launch steps (Need help)
- Question: Is there a way to prevent electron exit due to obs crash HOT 2
- development documentation ?
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 obs-studio-node.