Giter Club home page Giter Club logo

Comments (6)

leadedge avatar leadedge commented on August 12, 2024

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.

ignaciosw avatar ignaciosw commented on August 12, 2024

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.

leadedge avatar leadedge commented on August 12, 2024

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.

ignaciosw avatar ignaciosw commented on August 12, 2024

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.

ignaciosw avatar ignaciosw commented on August 12, 2024

Nevermind. Achieved. Thanks!!! It looks pretty horrible but as soon as I clean up the code I'll send it back.

from spout2.

leadedge avatar leadedge commented on August 12, 2024

Good luck with this. You know where to contact me.

from spout2.

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.