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

add stub for GetClipboardImage() when building with drm tag #483

Closed
wants to merge 1 commit into from

Conversation

dspasibenko
Copy link

@dspasibenko dspasibenko commented Jan 9, 2025

The PR suggests to add the GetClipboardImage() stub to make the raylib-go code compilable with the "drm" tag. Without the change I got the linker error that the function GetClipboardImage() is not found.

Tested on Rapberry PI with the drm tag:

go build -ldflags=$(LDFLAGS) -tags "drm noaudio" -o ${BUILD_DIR}/ ./cmd/...

@gen2brain
Copy link
Owner

That should be added in rcore_drm.c, not in the Go file. Similar to #477.

@gen2brain
Copy link
Owner

Is that function already in raylib git? I cannot check at the moment.

@JupiterRider
Copy link
Contributor

Is that function already in raylib git? I cannot check at the moment.

@gen2brain Yes, raysan added it after the 5.5 release:
raysan5/raylib@c78757a#diff-757f4c9c5f0be7473e385fa72b35d509c5af4ee2dc8204d2dbe2418bb9b98922

But geo-stark created a correct PR for this: #484

@gen2brain
Copy link
Owner

Thanks, closing this one.

@gen2brain gen2brain closed this Jan 9, 2025
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

Successfully merging this pull request may close these issues.

3 participants