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

Build instructions for macOS #189

Open
elsurudo opened this issue Jan 8, 2018 · 5 comments
Open

Build instructions for macOS #189

elsurudo opened this issue Jan 8, 2018 · 5 comments

Comments

@elsurudo
Copy link

elsurudo commented Jan 8, 2018

I'm sure I'm in the minority trying to use this on macOS, but it would be nice!

@elsurudo
Copy link
Author

elsurudo commented Jan 8, 2018

Also, a pre-built binary as well

@illwieckz
Copy link
Member

If you have a mac, you're by far the best one to find these instructions and to share them ;-)

@elsurudo
Copy link
Author

elsurudo commented Jan 9, 2018

Fair enough. Actually I have tried and gotten past the cmake step by installing all the dependencies. Now, the issue I have is that when I run make, the games.c file is not found – where does this file come from?

@illwieckz
Copy link
Member

It's expected to be generated at build time (and yes it's ugly, the code compiles a code to run a binary to produces a source that will be compiled after that, that's the kind of weird stuff you can find in a 20 years old project 😱 ).

Do you have a gamesxml2c binary in your build/ dir after having done the cmake .. ; make dance?

@elsurudo
Copy link
Author

I had to do a make gamesxml2c between cmake and make, and I eventually got the binary to build. Still haven't gotten it to run successfully though – it can't find some dependencies. I think it's looking in the wrong places, and I will need to recompile with some flags set.

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