Closed HowToDoThis closed 4 years ago
Just fixed this, thanks - I need to add a test for rc compilation so this doesn't happen again.
Updated to latest commit and tested, working now!
D:\Code\Github\TestSourceMod\sourcemod\wbuild>..\configure.py --no-mysql --enable-optimize -s none
Note: upgrading database from version 5 to 6
Checking CC compiler (vendor test msvc)... ['cl', 'test.c', '-o', 'test-c.exe', '-nologo', '-showIncludes']
found msvc version 1927, x86
Checking CXX compiler (vendor test msvc)... ['cl', 'test.cpp', '-o', 'test-cxx.exe', '-nologo', '-showIncludes']
found msvc version 1927, x86
Warning: hl2sdk-episode1 was not found, and will not be included in build.
Warning: hl2sdk-ep2 was not found, and will not be included in build.
Warning: hl2sdk-css was not found, and will not be included in build.
Warning: hl2sdk-hl2dm was not found, and will not be included in build.
Warning: hl2sdk-dods was not found, and will not be included in build.
Warning: hl2sdk-sdk2013 was not found, and will not be included in build.
Warning: hl2sdk-tf2 was not found, and will not be included in build.
Warning: hl2sdk-l4d was not found, and will not be included in build.
Warning: hl2sdk-nucleardawn was not found, and will not be included in build.
Warning: hl2sdk-l4d2 was not found, and will not be included in build.
Warning: hl2sdk-darkm was not found, and will not be included in build.
Warning: hl2sdk-swarm was not found, and will not be included in build.
Warning: hl2sdk-bgt was not found, and will not be included in build.
Warning: hl2sdk-eye was not found, and will not be included in build.
Warning: hl2sdk-csgo was not found, and will not be included in build.
Warning: hl2sdk-blade was not found, and will not be included in build.
Warning: hl2sdk-insurgency was not found, and will not be included in build.
Warning: hl2sdk-contagion was not found, and will not be included in build.
Warning: hl2sdk-bms was not found, and will not be included in build.
Warning: hl2sdk-doi was not found, and will not be included in build.
D:\Code\Github\TestSourceMod\sourcemod\wbuild>
Not sure did I missed some steps. I was trying to build SourceMod with the Tutorial from Here. But Windows can't generate configs for ambuild.
On Windows, ambuild or configure.py not working and thrown to this error.
On Windows WSL Ubuntu(Same machine, Same Code Path), it works and build successfully.
So, I think there is some bugs on building with MSVC?