Do you have a question? Post it now! No Registration Necessary
August 5, 2005, 12:19 am

Hello,
I'm trying and use "gx.dll" (WinCE DLL).
The compiler is "arm-wince-pe-gcc" (it's for a Qtech PocketPC with an
Intel XScale).
The compiler came "out of the box" from a website (VLC). I didn't compile
anything to get it run.
I got the standard WinCE library files (ws2.lib, commctrl.lib, commdlg.lib...)
I'd like to use the "gx.dll" : it's a mini-graphic lib (very minimalistic).
Microsoft provides a "gx.lib" with it. So i put "gx.lib" amongst the
others libs.
But when i try:
/tmp/arm$ arm-wince-pe-gcc gapi.c -e WinMainCRTStartup
-L/tmp/arm/cross-tools/lib -lgx
I get:
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
/tmp/cc6iCDgg.o:gapi.c:(.text+0x28): undefined reference to `GXOpenDisplay'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x4c): undefined reference to
`GXGetDisplayProperties'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x50): undefined reference to `GXOpenInput'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x60): undefined reference to `GXGetDefaultKeys'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x78): undefined reference to `GXCloseInput'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x7c): undefined reference to `GXCloseDisplay'
All the "undifined reference" are functions defined in gx.lib
I didn't get any error with my "-lgx", so it seems found and accepted by
the compiler.
What did i forget ?
Thank you!
I'm trying and use "gx.dll" (WinCE DLL).
The compiler is "arm-wince-pe-gcc" (it's for a Qtech PocketPC with an
Intel XScale).
The compiler came "out of the box" from a website (VLC). I didn't compile
anything to get it run.
I got the standard WinCE library files (ws2.lib, commctrl.lib, commdlg.lib...)
I'd like to use the "gx.dll" : it's a mini-graphic lib (very minimalistic).
Microsoft provides a "gx.lib" with it. So i put "gx.lib" amongst the
others libs.
But when i try:
/tmp/arm$ arm-wince-pe-gcc gapi.c -e WinMainCRTStartup
-L/tmp/arm/cross-tools/lib -lgx
I get:
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
/tmp/cc6iCDgg.o:gapi.c:(.text+0x28): undefined reference to `GXOpenDisplay'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x4c): undefined reference to
`GXGetDisplayProperties'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x50): undefined reference to `GXOpenInput'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x60): undefined reference to `GXGetDefaultKeys'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x78): undefined reference to `GXCloseInput'
/tmp/cc6iCDgg.o:gapi.c:(.text+0x7c): undefined reference to `GXCloseDisplay'
All the "undifined reference" are functions defined in gx.lib
I didn't get any error with my "-lgx", so it seems found and accepted by
the compiler.
What did i forget ?
Thank you!
Site Timeline
- » gprof and real time linux (montavista)
- — Next thread in » Embedded Linux
-
- » crosstool and nptl
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » rury LED
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » Lambda62
- — The site's Last Updated Thread. Posted in » Electronics (French)
-