Comments (4)
from memory you need to change your project to use multi code, either that or to not use multicode
from spout2.
Yes I came across this recently with another project and fixed it by casting. For this particular project it was due to to the "Configuration properties -> character set" not being set to anything. Other Spout projects are set to Unicode. In this project the rest of the code causes errors for Unicode so it has to be left not set, but your project might work OK with Unicode.
For some reason wcstombs_s does not like "DisplayDevice.DeviceKey" which is WCHAR but it works OK with "adapterinfo.Description" which is also WCHAR.
In fact for your project you could try to leave out the "GetAdapterInfo" function. I am working on a release that removes the auto-detection of Intel graphics because this does not seem to work as expected and is causing problems. The new release will have an installer with options for DirectX 9 or DirectX 11.
Then in "OpenDirectX" make the following change :
---
// Open DX11
if(OpenDirectX11()) {
bUseDX9 = false; // Set to indicate intialized as DX11
// Return here if OK - Intel auto detection removed 21.04.15
return true;
}
return false;
/*
// Get adapter info using both DirectX and Windows functions
comment out the rest
----
After that you should specifically set to use DirectX 9 or DirectX 11 with SetDX9() because DirectX 9 will be the default for the next release. At the moment the default is DirectX 11. Everything except the Unity plugin should work with DirectX9.
from spout2.
Thx guys!
from spout2.
Changes implemented for 2.005
from spout2.
Related Issues (20)
- I found 1-2 frame delay fluctuation when I used spout for texture transmission. How can I eliminate this delay? HOT 7
- Windows on ARM binaries missing HOT 8
- Exclude binaries from repo HOT 1
- Recommended API and method HOT 4
- A way to build Demo/SpoutSender.exe and Demo/SpoutReceiver.exe HOT 1
- Getting nullptr textures with spout receiver HOT 5
- Spout with WebGPU HOT 6
- Receiver的图像翻转了,如何把他摆正方位 HOT 2
- SpoutSender/Receiver sourcecode HOT 5
- SpoutLibrary : unable to setup multiple named Spout Receivers HOT 11
- Unused #include <d3d9.h> in SpoutLibrary.h makes compilation with JUCE fail. HOT 2
- GL-Spout-NDI-DX ? HOT 3
- Global registry settings HOT 3
- Multiple Senders in SpoutDX HOT 4
- CPU sharing flag is always false in OpenSpout HOT 7
- Small code issue in SpoutGL.cpp HOT 3
- Use SendImage without using OF, Cinder, etc. HOT 2
- flickering because receiver sometimes can't access the shared texture. HOT 5
- Add ossia to the list of Spout-compatible software :) HOT 3
- Should the solutions be removed from the repo? 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 spout2.