Compiling vgui controls.lib: Difference between revisions
Jump to navigation
Jump to search
Note:The client project requires a rebuild once the new vgui_controls.lib is made to relink it.
mNo edit summary |
(Say which file needs changed.) |
||
Line 2: | Line 2: | ||
The following is a short guide to successfully compiling your vgui2 modifications to <code>lib\public\vgui_controls.lib</code>. | The following is a short guide to successfully compiling your vgui2 modifications to <code>lib\public\vgui_controls.lib</code>. | ||
Change this line in AnimationController.cpp | |||
:{|style="background:transparent;" | :{|style="background:transparent;" | ||
|<pre style="margin:0px 0px 0px 0px;">return AnimationController::RelativeAlignment::a_northwest;</pre> | |<pre style="margin:0px 0px 0px 0px;">return AnimationController::RelativeAlignment::a_northwest;</pre> |
Revision as of 17:46, 30 April 2016
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.
