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

32 bit SDL in 64 bit Nim #24748

Open
Zectbumo opened this issue Mar 4, 2025 · 0 comments
Open

32 bit SDL in 64 bit Nim #24748

Zectbumo opened this issue Mar 4, 2025 · 0 comments

Comments

@Zectbumo
Copy link
Contributor

Zectbumo commented Mar 4, 2025

Nim Version

nim --version
Nim Compiler Version 2.2.2 [Windows: amd64]
Compiled at 2025-02-06
Copyright (c) 2006-2025 by Andreas Rumpf

active boot switches: -d:release

Description

I downloaded the x64 https://nim-lang.org/download/nim-2.2.2_x64.zip version of nim and tried to run this.

testsdl:
import sdl2
discard init(INIT_EVERYTHING)

nim r testsdl
could not load: SDL2.dll
(bad format; library may be wrong architecture)

dumpbin /headers nim-2.2.2\bin\SDL2.dll
14C machine (x86)
32 bit word machine

Current Output

could not load: SDL2.dll
(bad format; library may be wrong architecture)

Expected Output

no dll errors

Known Workarounds

Download sdl2 x64 from somewhere else

Additional Information

No response

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

No branches or pull requests

2 participants