This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question: Using XOpenDisplay and more


Best Mailinlist members!

I have a problem when compiling. I have a little program that uses
some of the Window functions that I'm familliar with since the very little
programming I've done (in Unix/XWindows).

When trying compiling with the following commando:
gcc bingo.c -o bingo.exe

I get these two lines:

C:\WINDOWS\TEMP\cc0010031.o(.text+0xdb);cool.c: undefined reference to 
'XopenDisplay'
C:\WINDOWS\TEMP\cc0010031.o(.text+0x1fe);cool.c: undefined reference to 
'XCreateSimpleWindow'

I would relly appreciate help in this matter. What am I missing out? 
What can be done to make it work? Is it some sort of linking problem?

_Please_ email me at patrikus@hem2.passagen.se with some help to this problem.
Also, I would be happy if you would explain very "completely", since I'm
not a first class programmer, nor have english as my motherlanguage.

Really hope for some help!

Best regards;
Patrik
-----------------------------------------------------------------------------
Name: Patrik Alexandersson
Email: patrikus@hem2.passagen.se
ICQ...: 5469308

And, if you are interested in the history of the Olympic Games, please 
visit my homepage at http://Welcome.To/TheOlympicGames
-----------------------------------------------------------------------------



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]