Compiling error gcc/g77 - MinGW

Rupert Wood me@rupey.net
Mon Feb 18 12:58:00 GMT 2008


Jan Robbe wrote:

> When compiling Xwin.c during the creation libPlt.a everything worked
> fine since the X11 libs, which were required by Xwin.c (Xlib.h,
> cursorfont.h, ..), could obviously be found.

But building the Xwin.c didn't actually link the X11 libraries into your static libPlt.a - you still need to link your project against them. Try adding "-lX11" to the end of your compile line.

Rup.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the Gcc-help mailing list