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

Can't understand the sentences in the readme #541

Open
wushu037 opened this issue Oct 17, 2022 · 3 comments
Open

Can't understand the sentences in the readme #541

wushu037 opened this issue Oct 17, 2022 · 3 comments

Comments

@wushu037
Copy link

wushu037 commented Oct 17, 2022

I wrote a program on macos, probably affected by sdl2 so it can not be compiled cross-platform. So I tried to compile the windows exe on windows. when compiling it reported an error
image

I tried to find the answer in the readme, but I couldn't understand it

The passage:

Install SDL2 http://libsdl.org/download-2.0.php
- Extract the SDL2 folder from the archive using a tool like [7zip](http://7-zip.org/)
- Inside the folder, copy the i686-w64-mingw32 and/or x86_64-w64-mingw32 depending on the architecture you chose into your mingw-w64 folder e.g. C:\Program Files\mingw-w64\x86_64-6.3.0-win32-seh-rt_v5-rev1\mingw64

I downloaded sdl2 and only one dll file was available after decompression
image

Which folder does Inside the folder refer to? Where do I copy i686-w64-mingw32 and/or x86_64-w64-mingw32 to mingw-w64?

@wushu037
Copy link
Author

wushu037 commented Oct 17, 2022

I downloaded SDL2-xx-win32-x64.zip before, should I download SDL2-devel... ?
I found the file described in the readme here
image

But a problem also happened, I think a new issue should be created: #542

@veeableful
Copy link
Contributor

Hi @wushu037, yes you should download the development version. Inside the folder refers to the inside of the extracted SDL2 package directory. Afterwards, you can copy the said directories (i686-w64-mingw32 and/or x86_64-w64-mingw32) to a directory inside your MinGW installation at something like C:\Program Files\mingw-w64\x86_64-6.3.0-win32-seh-rt_v5-rev1\mingw64. Your version is most likely different from the one in the README but you should be able to judge where to put them based on the structure.

Let me know if you still have difficulty installing it! I have also replied on the other issue that you created.

@wushu037
Copy link
Author

Hi @veeableful ,thank you very much, I should be able to use it now!

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

2 participants