Talk:Hello World

From WxWiki
Jump to navigation Jump to search

Individual Compiler Guides

Perhaps some information here would be helpful on how to compile/link with some different compilers. There was information on how to compiled wxWidgets, but not even the first tutorial. I'd do it, but I'm still having problems.

I concur to this. After trying to compile my program with mingw (under WinXP), I ended up having to grep the undefined symbols to guess which Windows libraries had to be linked for wxWidgets to work (gdi32, comdlg32, ole32, oleaut32, uuid, comctl32). If someone really masters the subject, it would be greatly appreciated if he/she could explain compilation/linking under various compilers and platforms.

  • For the most part, much of that has been explained in the other various guides found here. --Tierra 16:28, 6 February 2007 (PST)

_T() String Wrappers

I'm new to this thing but this program would compile OK without the "_T" before the titlebar and statusbar things.... Are they compiler dependent or do they serve a purpose?

  • That usually means you're compiling it against ANSI libraries. Unicode builds require the string literal wrappers for conversion. See the official documentation for a description of what these functions do, and why they are needed. --Tierra 16:28, 6 February 2007 (PST)