On May 8, 2007, at 8:02 PM, Anton wrote:

>>>     then compilation test like this
>>>
>>> [EMAIL PROTECTED]:~/src/fltk-2.0.x-r5528>
>>> /usr/ppc/arm-wince-mingw32ce/bin/gcc -I/usr/local/include
>>> -I/usr/X11/include -Wno-non-virtual-dtor -o arc test/arc.cxx
>>> -L/usr/local/lib /usr/local/lib/libfltk2.a -L/usr/X11/lib   -lsupc++
>>
>>
>> Hmm, don't like the look of that compile command much at all.
>> The include paths look all wrong for a cross-compile target, as do  
>> the
>> library paths.
>
>       Because this string is constructed by '/usr/local/bin/fltk2-config  
> --compile test/arc.cxx'
>       I've expanded it, to show full libraries list (includes and libs).
>       FYI, running like mentioned below, gives the same effect, i.e.
>
> /usr/local/lib/libfltk2.a(Window.o):Window.cxx:(.text+0x33c):  
> undefined reference to `OpenIcon'

Hmm, first of all, you should not b linking with X11 at all if you  
try to create a WindowsCE executable. Secondly, you should ost  
definetly not link with the *native* X11 (or any other native  
libraries).

-I in your command line should have some argument similar to -I/usr/ 
ppc/arm/include ...

----
http://robowerk.com/


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to