Skip to content

Problem using example FBO #10

@ghost

Description

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions