Compiling vgui controls.lib: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
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>.


On line 171 in AnimationController, replace
:{|style="background:transparent;"
return AnimationController::RelativeAlignment::a_northwest;
|colspan="2"| On line 171 in AnimationController
with
|-
return a_northwest;
| Replace || <pre>return AnimationController::RelativeAlignment::a_northwest;</pre>
|-
| With || <pre>return a_northwest;</pre>
|}


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


[[Category:Programming]] [[Category:Tutorials]]
[[Category:Programming]] [[Category:Tutorials]]

Revision as of 22:59, 11 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.