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

Issue while building #377

Open
GuestSneezeOSDev opened this issue Sep 20, 2024 · 1 comment
Open

Issue while building #377

GuestSneezeOSDev opened this issue Sep 20, 2024 · 1 comment

Comments

@GuestSneezeOSDev
Copy link

gsosdev@debian:/Source$ ./waf configure -T release --prefix=build/bin --build-games=hl2mp
Setting top to                                          : /XenSource
Setting out to                                          : /XenSource/build
Checking for 'gcc' (C compiler)                         : /usr/bin/gcc
Target OS                                               : linux
Target CPU                                              : x86_64
Target binfmt                                           : elf
Checking for 'g++' (C++ compiler)                       : /usr/bin/g++
Target OS                                               : linux
Target CPU                                              : x86_64
Target binfmt                                           : elf
Checking for program 'git'                              : /usr/bin/git
Checking git hash                                       : beafcd0e-dirty
Checking for program 'strip'                            : /usr/bin/strip
Checking for program 'objcopy'                          : /usr/bin/objcopy
WARNING: will build engine for 32-bit target
Checking if 'gcc' can target 32-bit                     : no
...trying with additional flags                         : no
Compiler can't create 32-bit code!
(complete log in /XenSource/build/config.log)

I installed all dependencies
I also do want to note i was using WSL

@FoxbitDreamtail
Copy link

FoxbitDreamtail commented Sep 24, 2024

So the first thing you're going to want to notice is that you're trying to compile for Linux on Windows. If you intend to use the Windows version, don't do it this way, Second off, you're going to want a version of Visual Studio to compile the actual project. You can create the Visual Studio files using waf, WSL is completely unnecessary for this project as waf can and does run natively using the windows version of python.

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