Sie sind auf Seite 1von 1

Using C++

Programming the Windows Desktop

UNCATEGORIZED

Creating wxWidgets Programs with Visual


Studio 2015 Part 1

Date: January 26, 2016 Author: usingcpp 14 Comments


Theinformationprovidedinthispostisactuallyavailableelsewhere;Ihaveincludedithere
sothatIcanfinditquicklywithoutsearchingforit.(Hey,thesepostsareatleastasmuchfor
meastheyareforyou!)

ThepreviouspostonthissitediscussedbuildingthewxWidgetslibrariesusingVisual
Studio2015.Nowthatwehavethelibrariesavailable,howdowegoaboutusingwxWidgets
inaprogrambuiltusingVisualStudio?

Prior to the First Program

Note:Thissectiondiscussessettingupanenvironmentvariablethatpointstothe
wxWidgetsdirectory.Analternative,andprobablybetter,methodtothatgiveninthis
sectionisprovidedintheUserWideSettingsinVisualStudio2015 post.

PriortothefirsttimethatyoucreateawxWidgetsbasedproject,youmustsetuptwo
environmentvariables.Forthis,youneedtohaveAdministratorrightsonyourPC.The
fastestwaytocreateanenvironmentvariableinWindows10istorightclicktheStartmenu
andselect System .Nowclickon Advanced system settings .ThisopenstheSystem
PropertiesdialogintheAdvancedtab.Clickonthe Environment Variables... buttonto
opentheEnvironmentVariablesdialog.Clickthe New... buttonintheUservariables
paneltosetupanenvironmentvariablefortheloggedinuser,orintheSystemvariables

Das könnte Ihnen auch gefallen