If I add PtHtml widget to PhAB application I get
the following error on compiling:
“_PxImageFunc is undefined reference”…
It happens even for newly created application
having only two widgets: base window with PtHtml
inside.
What to do? I need PtHtml!!
Thanks,
Gen
PS
I tried PhAB1.13. The same result.
Gennadiy Gladchun <gen@a-teleport.com> wrote:
: If I add PtHtml widget to PhAB application I get
: the following error on compiling:
: “_PxImageFunc is undefined reference”…
: It happens even for newly created application
: having only two widgets: base window with PtHtml
: inside.
: What to do? I need PtHtml!!
The Px* functions are in a separate library. Here’s what the docs say:
These functions are supplied only in static form in the Photon
library phexlib3r.lib. You’ll need to link with this library
explicitly.
\
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
Steve Reid <stever@qnx.com> wrote:
: The Px* functions are in a separate library. Here’s what the docs say:
: These functions are supplied only in static form in the Photon
: library phexlib3r.lib. You’ll need to link with this library
: explicitly.
Wojtek very politely told me that I gave the wrong answer. Your problem is
that you need to define the types of images you want to load. Take a look
the section “Supporting images” in the docs for PtHtml.
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems