Compiling vgui_controls.lib

From Valve Developer Community
Revision as of 08:50, 21 January 2024 by Thunder4ik (talk | contribs) (→‎top: clean up, added deadend tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024


The following is a short guide to successfully compiling your vgui2 modifications to lib\public\vgui_controls.lib. Change this line in AnimationController.cpp

return AnimationController::RelativeAlignment::a_northwest;
return a_northwest;

Open src\vgui2\controls\vgui_controls.vcproj in your MSVC++ .NET and compile it with the Release configuration.

The library should be copied and overwrite lib\public\vgui_controls.lib once the compilation is complete.

Note.pngNote:The client project requires a rebuild once the new vgui_controls.lib is made to relink it.