Quantcast

Problems with headers or libraries

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problems with headers or libraries

Peter V. Khaninyov
Hello everyone.
I have one problem. I am trying to compile a simple WinCE demo-project.

 make wince
/opt/mingw32ce/bin/arm-mingw32ce-g++ -D_WIN32_WCE=0x400
 -D_WIN32_IE=0x400 -fno-exceptions -o TaskBarSample_wince.exe
 TaskBarSample.cpp -I/opt/mingw32ce/arm-mingw32ce/include
 -L/opt/mingw32ce/arm-mingw32ce/lib -lcommctrl -laygshell -lcoredll
 -lceshell /tmp/ccCNWZtf.o:TaskBarSample.cpp:(.text+0x268): undefined
 reference to
 `Shell_NotifyIconW' /tmp/ccCNWZtf.o:TaskBarSample.cpp:(.text+0x5b8):
 undefined reference to `Shell_NotifyIconW' collect2: ld returned 1
 exit status

But:
grep Shell_NotifyIconW *
shellapi.h:BOOL WINAPI Shell_NotifyIconW(DWORD,PNOTIFYICONDATAW);
shellapi.h:#define Shell_NotifyIcon Shell_NotifyIconW

And:
/opt/mingw32ce/bin/arm-mingw32ce-strings
-f /opt/mingw32ce/arm-mingw32ce/lib/lib*.a |grep
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll6.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll6.a:
__imp_Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll6.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll6.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll6.a:
__imp_Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll.a:
__imp_Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll.a:
Shell_NotifyIcon /opt/mingw32ce/arm-mingw32ce/lib/libcoredll.a:
__imp_Shell_NotifyIcon

Whats wrong?

--
Peter V. Khaninyov

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

signature.asc (205 bytes) Download Attachment
Loading...