Comments (6)
I have included the source for reference only. So I have included a VS2012 project file and re-ordered the folders so that it should build.
You need to set up folders as on Github with the first SpoutPanel folder at the same level as the Spout SDK files. You only need SpoutSenderNames.cpp/h and SpoutSharedMemory.cpp/h.
I doubt that it will work with MingW due to the use of std::unordered_map and std::set.
Why do you need to rebuild it? I would like to hear of any modifcations that should be made.
from spout2.
Thanks for your reply
I was trying to see if I could make a version of the exe that was runnable from commandline and select a Spout Sender on the fly for different receivers that I have in a Processing app. No major modif, just a tweaking to test something locally. If it should work, would you like a stable version of it? thanks for adding the Sln and proj files.
Added later: maybe things don't just build at once cause I have VS2012 express? having some trouble with #include path of SpoutSenderNames.h
Error C1083 Cannot open source file: '....\SpoutSharedMemory.cpp': No such file or directory C:\Spout2\SPOUTPANEL\SpoutPanel\c1xx 1
Update: nevermind. Achieved.
from spout2.
It was probably relative folder locations. I am using VS2012 express.
Sure please send me whatever you end up with. SpoutPanel uses the command line so maybe you can add arguments like "- dothis" and "- dothat".
I am not sure how you want it to work, but you might not need to rebuild SpoutPanel. Look at SpoutSDK.cpp - SelectSenderPanel.
Then the trick is to know what the user has selected. SpoutPanel writes the selected sender to the registry and you can get it from there. You will find that in CheckSpoutPanel(). In fact this is used every time ReceiveTexture is called, so you just have to call SelectSenderPanel and it is all done for you.
Anyway I am not sure how you want it to work but there are plenty of ideas to start with.
from spout2.
Thanks.
Basically I want it to work like SpoutPanel.exe -sender=mysender1
arguments with name and value. I guess I'll have to tweak it a bit? and also can I call SelectSenderPanel() from main.cpp ?
from spout2.
Nevermind. Achieved. Thanks!!! It looks pretty horrible but as soon as I clean up the code I'll send it back.
from spout2.
Good luck with this. You know where to contact me.
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
- It seems that Directx 12 support is not included in pre-built binaries of the libraries by default? HOT 2
- Questions about SpoutDX and SPoutDX12 HOT 5
- Release 2.007.014 seems incorrectly tagged as v2.005 HOT 1
- Spout2 suddenly not working in obs 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.