nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.13k stars 175 forks source link

Unable to Build on Windows 11, libpng not found #256

Closed TylerJaacks closed 6 months ago

TylerJaacks commented 1 year ago
> git clone --recurse-submodules -j32 https://github.com/nillerusr/source-engine.git
Cloning into 'source-engine'...
remote: Enumerating objects: 32663, done.
remote: Counting objects: 100% (5404/5404), done.
remote: Compressing objects: 100% (2252/2252), done.
remote: Total 32663 (delta 3504), reused 3152 (delta 3152), pack-reused 27259
Receiving objects: 100% (32663/32663), 205.00 MiB | 34.45 MiB/s, done.
Resolving deltas: 100% (13373/13373), done.
Updating files: 100% (12381/12381), done.
Submodule 'ivp' (https://github.com/nillerusr/source-physics) registered for path 'ivp'
Submodule 'lib' (https://github.com/nillerusr/source-engine-libs.git) registered for path 'lib'
Submodule 'thirdparty' (https://github.com/nillerusr/source-thirdparty) registered for path 'thirdparty'
Cloning into 'D:/Desktop/source-engine/ivp'...
remote: Enumerating objects: 1815, done.
remote: Counting objects: 100% (347/347), done.
remote: Compressing objects: 100% (186/186), done.
remote: Total 1815 (delta 177), reused 304 (delta 161), pack-reused 1468
Receiving objects: 100% (1815/1815), 1.89 MiB | 9.59 MiB/s, done.
Resolving deltas: 100% (932/932), done.
Cloning into 'D:/Desktop/source-engine/lib'...
remote: Enumerating objects: 78, done.
remote: Counting objects: 100% (28/28), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 78 (delta 4), reused 19 (delta 4), pack-reused 50
Receiving objects: 100% (78/78), 22.69 MiB | 30.06 MiB/s, done.
Resolving deltas: 100% (4/4), done.
Cloning into 'D:/Desktop/source-engine/thirdparty'...
remote: Enumerating objects: 10489, done.
remote: Counting objects: 100% (10489/10489), done.
remote: Compressing objects: 100% (7326/7326), done.
remote: Total 10489 (delta 3526), reused 9809 (delta 2850), pack-reused 0
Receiving objects: 100% (10489/10489), 30.48 MiB | 25.42 MiB/s, done.
Resolving deltas: 100% (3526/3526), done.
Submodule path 'ivp': checked out '4098acbbe3bc48320496f7533851640cc40cbb89'
Submodule path 'lib': checked out '86a66ee92d9fda0a09f54a435e850faa7ab5d0fa'
Submodule path 'thirdparty': checked out 'aac07c72058aea6267ea60b70a25602b41469d28'
> cd .\source-engine\
> .\waf configure -T debug --64bits
Active code page: 1252
Using python
Setting top to                                          : D:\Desktop\source-engine
Setting out to                                          : D:\Desktop\source-engine\build
Build type                                              : debug
LTO build                                               : no
PolyOpt build                                           : no
Checking for 'msvc' (C compiler)                        : C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\CL.exe
Target OS                                               : win32
Target CPU                                              : amd64
Target binfmt                                           : pe
Checking for 'msvc' (C++ compiler)                      : C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.33.31629\bin\HostX64\x64\CL.exe
Target OS                                               : win32
Target CPU                                              : amd64
Target binfmt                                           : pe
Checking for program 'git'                              : C:\Program Files\Git\cmd\git.exe
Checking git hash                                       : 523f4e9e
Checking for library libz                               : yes
Checking for library SDL2                               : yes
Checking for library libjpeg                            : yes
Checking for library libpng                             : not found
The configuration failed
(complete log in D:\Desktop\source-engine\build\config.log)
> ls .\lib\win32\amd64\
                                                                                                                                                                                                                                                    Directory: D:\Desktop\source-engine\lib\win32\amd64

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----         5/14/2023   3:13 AM        4484370 libjpeg.lib
-a----         5/14/2023   3:13 AM        1739174 libpng.lib
-a----         5/14/2023   3:13 AM         728366 libz.lib
-a----         5/14/2023   3:13 AM         936914 opus.lib
-a----         5/14/2023   3:13 AM        1270272 SDL2.dll
-a----         5/14/2023   3:13 AM         165938 SDL2.lib
-a----         5/14/2023   3:13 AM        5181440 SDL2.pdb
SanyaSho commented 1 year ago

send 'build/config.log'

IOleg-crypto commented 1 year ago

Same here. All complied,however exe don`t loading(Windows 11) error

IOleg-crypto commented 1 year ago

Same here. All complied,however exe don`t loading(Windows 11) error

submodules all installed!!

Siomek101 commented 1 year ago

well, this is a common problem, im having it too #262

Siomek101 commented 1 year ago

Same here. All complied,however exe don`t loading(Windows 11) error

its not same issue. this issue is about waf not seeing libs

IOleg-crypto commented 1 year ago

Same here. All complied,however exe don`t loading(Windows 11) error

its not same issue. this issue is about waf not seeing libs

Maybe 😉

nillerusr commented 6 months ago

stale