Compiling vgui controls.lib: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:


The library should be copied and overwrite <code>lib\public\vgui_controls.lib</code> once the compilation is complete.
The library should be copied and overwrite <code>lib\public\vgui_controls.lib</code> once the compilation is complete.
{{note|The client project requires a rebuild once the new vgui_controls.lib is made to relink it.}}
[[Category:Programming]] [[Category:Tutorials]]
[[Category:Programming]] [[Category:Tutorials]]

Revision as of 21:32, 12 January 2006

Template:Wrongtitle

The following is a short guide to successfully compiling your vgui2 modifications to lib\public\vgui_controls.lib.

On line 171 in AnimationController
Replace
return AnimationController::RelativeAlignment::a_northwest;
With
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.