On Jan 14, 3:37 pm, "Yoav Weiss" <
yoav.weiss...@gmail.com> wrote:
> Now I'm encountering a linking errors when linking
> development/simulator/app. The errors are that various functions are
> undefined in the wx libraries.The functions are:
> wxImage::HasAlpha
I put some instructions here:
http://groups.google.com/group/android-porting/browse_thread/thread/ab553116dbc960da/29167c58b3b49051#29167c58b3b49051
Type "simulator" after doing all that.
The simulator relies on wxWidgets, which you must install. I think
this will do it:
# apt-get install libwxgtk2.6-dev wx2.6-headers wx-common
Something else might be required for 64-bit setups, though I think it
mostly just works in "cupcake".
The simulator is typically in a state somewhere between "broken" and
"really broken" since there's only a handful of people who use it
internally. The media server process usually fails and often the home
page doesn't appear. If you can exercise your library outside the
Android app framework your life will be much more pleasant -- you
don't need wxWidgets and you can just launch stuff with the command-
line "dalvikvm" on the desktop. Just put "valgrind" ahead of
"dalvikvm" in the sample script in the previous article.
Ditto for gdb, which is easier and more useful on the desktop, in
large part because the sim is a "debug" build and compiler
optimizations are disabled for most components.