problems in building plugin

Naiqi Weng <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
Hi, 
I am writing a breve plugin in  c to get the instant mouse position. I used a windows interface function GetCursorPos( ), and include " window.h" in the plugin file. I used MinGW to compile the plugin. All the compile works well, but for the last step
 
ld -shared -o getMouse_plugin.o getMouse.o getMouse.def  "c:\documents and settings\nweng\my documents\project\breve1.9\breve_windows\bin\breve.exe" -L/lib -luser
 
Because the import library is user32.dll, I use "-luser" to represent the required library.
there is error message: "ld:cannot find -luser". It seems that the "-luser" parameter is not right. 
 
Could anyone can help me with that? Thank you very much!
 
Best regards
Naiqi

		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.