hello everyone, help needed.<br><br>1. <br>I tried to run the sample
code:<br>#include <stdlib.h><br>#include <iup.h><br><br>int
main(int argc, char **argv)<br>{<br> IupOpen(&argc,
&argv);<br><br> IupMessage("Hello World 1", "Hello world from
IUP.");<br><br> IupClose();<br> return
EXIT_SUCCESS;<br>}<br><br>2.<br>$gcc -I/usr/include/iup -liup
main.c<br>/tmp/ccjjoTBI.o: In function `main':<br>main.c:(.text+0x17):
undefined reference to `IupOpen'<br>main.c:(.text+0x2b): undefined reference to
`IupMessage'<br>main.c:(.text+0x30): undefined reference to
`IupClose'<br>collect2: ld returned 1 exit status<br><br>but the IupOpen is
just there, I checked it by nm command.<br><br>3.<br>$ nm /usr/lib/libiup.a |
grep -C5 IupOpen<br>00000050 t load_image_arrowup<br>00000750 t
load_image_arrowup_highlight<br><br>iup_open.o:<br>000001f0 T
IupClose<br>00000010 T
IupOpen<br> U
IupSetGlobal<br>
U
IupSetLanguage<br> U
IupStoreGlobal<br> U
IupVersion<br> U
__printf_chk<br><br>--<br>ubuntu 12.04<br>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users