problem with PtNumericFloat widget

I’am a newbie in photon programming. I make some form with ph AB and all
work good. But when I put a PtNumericFloat on my form and buid it I received
this error:

abmain.o(.rodata+0xa0): undefined reference to ‘PtNumericFloat’
cc: /usr/ntox86/bin/ld error 1
make[1]: *** [shr] Error 1

I tried to place only the PtNumericFloat on form with no code and compile
and I received this error again.
I have QNX 6.1

Sorry for my poor english and thank you for your help.
frederic.filion@genisys.qc.ca

Hello Frederic,

This is a known issue and should be fixed in the future. For now you can
compile using the PtNumericFloat by setting it to make static.

Regards,
Dave B.



Frederic Filion wrote:

I’am a newbie in photon programming. I make some form with ph AB and all
work good. But when I put a PtNumericFloat on my form and buid it I received
this error:

abmain.o(.rodata+0xa0): undefined reference to ‘PtNumericFloat’
cc: /usr/ntox86/bin/ld error 1
make[1]: *** [shr] Error 1

I tried to place only the PtNumericFloat on form with no code and compile
and I received this error again.
I have QNX 6.1

Sorry for my poor english and thank you for your help.
frederic.filion@genisys.qc.ca
\

I experienced the same prob. I’m not sure, but I think you have to include a
header file that defines the PtNumericFloat or somathing like that…

Frederic Filion a écrit :

I’am a newbie in photon programming. I make some form with ph AB and all
work good. But when I put a PtNumericFloat on my form and buid it I received
this error:

abmain.o(.rodata+0xa0): undefined reference to ‘PtNumericFloat’
cc: /usr/ntox86/bin/ld error 1
make[1]: *** [shr] Error 1

I tried to place only the PtNumericFloat on form with no code and compile
and I received this error again.
I have QNX 6.1

Sorry for my poor english and thank you for your help.
frederic.filion@genisys.qc.ca

Take a look there:

http://groups.google.com/groups?q=PtNumericFloat&hl=en&rnum=2&selm=96bplg%24
cuc%241%40nntp.qnx.com

The widget PtNumericFloat is in the shared libs. You have to link with the
static libs.

Bye Sascha( sascha@bitctrl.de )

Sascha Morgenstern
BitCtrl Systems GmbH
Weißenfelser Straße 67
Germany - 04229 Leipzig
Phon. +49 341 490 670
FAX. +49 341 490 67 15
eMail: sascha@bitctrl.de
WWW: http://www.bitctrl.de


“Christophe Guerber” <guerber_christophe@stna.dgac.fr> schrieb im
Newsbeitrag news:3C0B4E30.4B619FB9@stna.dgac.fr

I experienced the same prob. I’m not sure, but I think you have to include
a
header file that defines the PtNumericFloat or somathing like that…

Frederic Filion a écrit :

I’am a newbie in photon programming. I make some form with ph AB and
all
work good. But when I put a PtNumericFloat on my form and buid it I
received
this error:

abmain.o(.rodata+0xa0): undefined reference to ‘PtNumericFloat’
cc: /usr/ntox86/bin/ld error 1
make[1]: *** [shr] Error 1

I tried to place only the PtNumericFloat on form with no code and
compile
and I received this error again.
I have QNX 6.1

Sorry for my poor english and thank you for your help.
frederic.filion@genisys.qc.ca

Sascha Morgenstern <sascha@bitctrl.de> wrote:
: Take a look there:

: http://groups.google.com/groups?q=PtNumericFloat&hl=en&rnum=2&selm=96bplg%24
: cuc%241%40nntp.qnx.com

: The widget PtNumericFloat is in the shared libs. You have to link with the
: static libs.

Why look so far? The docs mention it.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems