newbie questions

Milan Babuskov milanb at panonnet.net
Fri Aug 18 09:44:18 PDT 2006


steven woody wrote:
> 1) in my country, i can not get the book 'cross-platform gui
> programming with wxWidgets', so how should i start to learn the
> library?

I learned everything from samples + reading the wx docs available on the 
website. You can always ask here if you get stuck.

> 2)  on linux, if i want to use autoconf/automake, is there an easy way
> to let me specify those includes and libraries?

Use Bakefile.

> 3) even the simplest helloworld program gets too big ( about 14M ).
> why? i use the following command to compile/link:
> 
> g++ 'wx-config --libs'  'wx-cxxflags' helloworld.cpp -o helloworld

Perhaps you build debug version of wx library. Try changing that or do:

strip helloworld

to remove debug information. I have a really complex application 
(FlameRobin) and it only takes about 6MB.

> i think i might linked too many libraries, but how should i know what
> libraries i should pick up and what i should not? is there a easy way?

Linker picks only what you use so I don't think that is the problem.

-- 
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org





More information about the wx-users mailing list