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

Game fails to start when compiled using msys2 (windows 10) #2

Open
futuramafan4 opened this issue Jan 9, 2024 · 2 comments
Open

Game fails to start when compiled using msys2 (windows 10) #2

futuramafan4 opened this issue Jan 9, 2024 · 2 comments

Comments

@futuramafan4
Copy link

futuramafan4 commented Jan 9, 2024

I compiled the game on msys2 for windows and while the game did compile into an exe file it was unable to launch. When executing, a black window will appear for a split second and then immediately close. No errors showed up when using power shell to start the program and it does not have any dialogue about missing dll files. I used the latest code from github along with the latest assets from the asset page. I found that I am able to successfully compile the game using the code and assets from around July 12th 2023.

I used ucrt64 to compile the game, and used the command from the c1k3 readme to install the dependencies. I was able to successfully build the game for linux and have it execute properly.

The only error during the compiling process was that is could not make the zip file when executing "make release package OS=windows" but it did put the exe in a folder with all the dll files that it should have needed.

Let me know if you need any more information or the exe file.

The code from Sep 13, 2023 "adding ideas" fine on windows. "Swap y and z for entts" (sept 17th) has render issues on windows (didn't test on linux). Sept 23rd "names -> frames works, almost memory-clean, still need params" was the last version that I tested that would compile and start on windows (logo worked, but game itself did not render).

@computermouth
Copy link
Owner

Hmm, it does seem to fail to build for me as well. Sorry I'm so late to respond, this was mostly just a weekend project that I'd taken a break from.

Ultimately, the main branch is my working branch. If you want a playable version of the game that's the least buggy and has the nicest levels, you'll want to build the v0.1 tag, with the command make release or make package, package is the same as release, just also makes a zip file which has all the .dll's etc for windows, so you can run it outside of msys2.

I do plan to come back to this project soon though, if you're still interested. I can update here when I've figured out what's wrong with the windows builds

@futuramafan4
Copy link
Author

I would be interested if you are able to fix the issue. I have been using this project to try and learn more about C by experimenting and trying to add some basic features like menus and attempting to make a save system.

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