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

Is it possible to build a windows executable from linux? #19

Closed
ffdiego opened this issue May 9, 2020 · 1 comment
Closed

Is it possible to build a windows executable from linux? #19

ffdiego opened this issue May 9, 2020 · 1 comment

Comments

@ffdiego
Copy link

ffdiego commented May 9, 2020

Using Ubuntu 18.04 I can build no problem, however by typing
make WINDOWS_BUILD=1 i get the following error:

/usr/bin/ld: cannot find -lglew32
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libSDL2.a(SDL_dynapi.o): In function `SDL_InitDynamicAPI':
(.text+0x2282): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lasound
collect2: error: ld returned 1 exit status
Makefile:892: recipe for target 'build/us_pc/sm64.us.f3dex2e.exe' failed
make: *** [build/us_pc/sm64.us.f3dex2e.exe] Error 1

I've tried installing some mingw-w64 packages but they didnt do any good.

@vrmiguel
Copy link
Member

vrmiguel commented May 9, 2020

Your best bet at the moment is MXE. :/

WINDOWS_BUILD=1 is only supposed to work with within MSYS or with MXE.

@vrmiguel vrmiguel closed this as completed May 9, 2020
TheGag96 pushed a commit to TheGag96/sm64ex that referenced this issue Jul 3, 2022
* Refresh 13

Co-authored-by: n64 <n64>
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