Skip to content
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

Problem using example FBO #10

Open
luisarandas opened this issue Jan 7, 2022 · 0 comments
Open

Problem using example FBO #10

luisarandas opened this issue Jan 7, 2022 · 0 comments

Comments

@luisarandas
Copy link

Hello, thanks for this code.

I am having trouble using Spout in my Windows 10 machine running an RTX3070 and trying to run the FBO example. I also tried to go simple and instantiate the spoutSender.CreateSender('Spout Python Sender', spoutSenderWidth, spoutSenderHeight, 0) but it gives me the error:

λ python35 ok.py
    loadFBOextensions fail
Spout::CreateSender - OpenSpout failed
<SpoutSDK.SpoutSender object at 0x000001CA772D6148>

So the OpenSpout thingy failed and when trying to run the FBO example I get:

λ python35 spout_FBO_sender_example.py
pygame 2.0.3 (SDL 2.0.16, Python 3.5.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "spout_FBO_sender_example.py", line 144, in <module>
    main()
  File "spout_FBO_sender_example.py", line 137, in main
    spoutSender.SendTexture(senderTextureID, GL_TEXTURE_2D, spoutSenderWidth, spoutSenderHeight, True, 0)
Boost.Python.ArgumentError: Python argument types in
    SpoutSender.SendTexture(SpoutSender, numpy.uintc, IntConstant, int, int, bool, int)
did not match C++ signature:
    SendTexture(class SpoutSender {lvalue}, unsigned int, unsigned int, unsigned int, unsigned int, bool, unsigned int)

I didn't compile this project and to be honest I don't even use Visual Studio or Windows but I really need this to work. Any help?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant