Fedora Linux Support Community & Resources Center
  #1  
Old 4th August 2004, 11:59 AM
PompeyBlue Offline
Registered User
 
Join Date: Jun 2004
Location: Portsmouth, UK
Posts: 450
Link error on XOpenDisplay

Hello,

I've got a very basic C++ harness up and running in KDevelop3.0

However I'm getting a link error "Undefined reference to XOpenDisplay"

I'm linking in libX11.so & libXext.so

Should these libraries contain this function ? When I look at libX11.so it contains a label "XOpenDisplay" but I'm not sure if that's an external label or not. Has anybody got this to link before ?
Reply With Quote
  #2  
Old 6th August 2004, 12:45 PM
PompeyBlue Offline
Registered User
 
Join Date: Jun 2004
Location: Portsmouth, UK
Posts: 450
I found it

Just in case anybody else needs to do this, simply go to the "automake manager"

There click on the project name (in my case it's cgs) and from there click the spanner and wratchet. That will bring up a dialogue with "libraries" which you can add libraries with.

Then everythign will build fine.

Now to find out how to get KDevelop to debug my app!
Reply With Quote
Reply

Tags
error, link, xopendisplay

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ link produces database error tashirosgt Suggestions & Feedback 2 4th April 2009 12:05 AM
Link error using xalan-c with compat-gcc-34-c++ dnivra Using Fedora 4 1st August 2008 12:59 PM
GNUARM link error Sune Ahlgren Using Fedora 5 2nd June 2008 02:23 PM
GNUARM link error Sune Ahlgren Linux Chat 1 1st June 2008 04:58 PM
dynamic-link.h:57 error funkymatt Using Fedora 0 21st September 2006 07:39 PM


Current GMT-time: 12:12 (Friday, 28-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Hipodromo Madrid Photos on Instagram - Cabopino Travel Photos on Instagram - L'Irlandais Instagram Photos