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

Windows build instructions #2

Open
MagicD3VIL opened this issue Aug 20, 2024 · 1 comment
Open

Windows build instructions #2

MagicD3VIL opened this issue Aug 20, 2024 · 1 comment

Comments

@MagicD3VIL
Copy link

Hello,
could you please share the Windows build project file or at least some build instructions? I tried cross-building using mingw64 from Linux to Windows but to no avail (loading the lua DLL through the resource file does not seem to work correctly for me on MinGW). I also have no idea how to set the project up correctly using Visual Studio's GUI in a Windows VM. Any help would be appreciated!

Cheers and thank you for the project.

@MagicD3VIL
Copy link
Author

After much trial and error, I finally managed to build dogfood on Windows under Visual Studio. There was so much trial and error, however, that I could not write down the procedure on how to build it myself. I'll leave this issue open as a possible feature request for future documentation.

I'll just note down what I learned on the way, which is that by using the /SUBSYSTEM:WINDOWS /ENTRY:"mainCRTStartup" linker options you can get rid of the ugly black system window showing up on Windows when your Lua program uses some GUI library like wxLua, which is nice.

Cheers

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

1 participant