-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build SpoutPanel.exe #20
Comments
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. |
Thanks for your reply 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. |
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. |
Thanks. arguments with name and value. I guess I'll have to tweak it a bit? and also can I call SelectSenderPanel() from main.cpp ? |
Nevermind. Achieved. Thanks!!! It looks pretty horrible but as soon as I clean up the code I'll send it back. |
Good luck with this. You know where to contact me. |
Hi, I was trying to compile and build a new executable with the source code of SpoutPanel.
Not quite reaching anything with visual studio or Mingw
Any suggestion on how to re build it? thanks
The text was updated successfully, but these errors were encountered: