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

Question: linux build process? #1

Open
ghost opened this issue Mar 28, 2018 · 4 comments
Open

Question: linux build process? #1

ghost opened this issue Mar 28, 2018 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 28, 2018

I'm really impressed that you've ported NS to Linux. I'm maintaining a different classic HL mod from the same era, and I eventually want to do the same thing.

Were there any particular resources you used to help guide that work? Anything you can point me toward (other than your commits)?

@Bacsu
Copy link
Owner

Bacsu commented Mar 29, 2018

The most work at the Linux port has been done by @fmoraw . You may take a look at http://twhl.info/index.php . It's a active community with a lot of restored tutorials to the goldsrc engine. Also take a look at @SamVanheer 's HLEnhanced.

@Bacsu Bacsu added the question label Mar 29, 2018
@fmoraw
Copy link

fmoraw commented Mar 29, 2018

The first thing I had to figure out was which files were compiled on windows which later are assembled into the dll file. Then I build a makefile for Linux according to what I found out what was compiled on windows. You may want to look at the makefile Valve is providing for hl or my makefile for ns. Once you make it to the point at which it compiles with erros you can start to fix things like non case sensitive file names or "include windows.h".

@SamVanheer
Copy link

I switched over to CMake, which makes cross-platform development a lot easier. It also makes changing between IDEs and compiler versions trivially easy.

@ghost
Copy link
Author

ghost commented Mar 29, 2018

Cool, thanks for all this info.

I guess I'm more concerned with porting things to use SDL and that end of it. Our codebase is from before the 2013 updates, so I may try to get in sync with what's on Valve's github repo to make this easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants