Error In Xopendisplay
Contents |
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Community Lounge > Programming & Packaging Link error on XOpenDisplay FedoraForum Search User Name Remember xopendisplay library Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Programming & xopendisplay example Packaging A place to discuss programming and packaging. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts xopendisplay(null) Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 4th August 2004, 10:59 AM PompeyBlue Offline Registered User Join Date: Jun 2004 Location: Portsmouth, UK Posts: 450 Link xclosedisplay 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 ? PompeyBlue View Public Profile Find all posts by PompeyBlue
Xcreatesimplewindow
#2 6th August 2004, 11:45 AM 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! PompeyBlue View Public Profile Find all posts by PompeyBlue Tags error, link, xopendisplay « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Search this Thread Advanced Search 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 Rules Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Fedora Resources Tips About The Forum Guides & Solutions (Not For Questions) News Fedora Project Elections Links Fedora 23/24 Installation, Upgrades and Live Media Using Fedora Hardwa
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad
Xopendisplay Failed
Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter xlib tutorial Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [other] undefined reference to `XOpenDisplay' Having an Issue With Posting ? Do you want to http://forums.fedoraforum.org/showthread.php?t=20137 help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: undefined reference to `XOpenDisplay' Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 9th, 2010 #1 lvkarl View Profile View Forum Posts Private Message First Cup of Ubuntu Join https://ubuntuforums.org/showthread.php?t=1402709 Date Feb 2010 Beans 3 undefined reference to `XOpenDisplay' Programming error: not clear what forum you would like this question in..: got this link error: root@progserver:/sources/ccode/test# $PATH -bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin: No such file or directory root@progserver:/sources/ccode/test# gcc -Wall main.c -o main /tmp/ccqW12JE.o: In function `define_scr': main.c.text+0xe): undefined reference to `XOpenDisplay' collect2: ld returned 1 exit status Message says to me can not find XOpenDisplay, or the library file which contains XOpenDisplay is not in my path. Expected them to be in /usr/lib. Tried to add /usr/lib to path but does not add, suppose the "No Such file or directory" is the real problem? root@progserver:/sources/ccode/test# $PATH="/usr/lib:$PATH" -bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin=/usr/lib:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin: No such file or directory root@progserver:/sources/ccode/test# $PATH -bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin: No such file or directory Is that correct "No such file" is real problem? How to I fix this broken path? Adv Reply February 9th, 2010 #2 lvkarl View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Feb 2010 Beans 3 Re: undefined reference to `XOpenDisplay' I'm thinking it is not a I can't find library issue now. As I copied the libraries to local directory and still get same e
Help Here Applications XOpenDisplay(NULL) Fails as ROOT Welcome! If this is your first visit, be sure to check out the FAQ. You will have to https://forums.opensuse.org/showthread.php/476509-XOpenDisplay(NULL)-Fails-as-ROOT register before you can post in the forums. (Be aware the https://books.google.com/books?id=d8tByjvMmIwC&pg=PA82&lpg=PA82&dq=error+in+xopendisplay&source=bl&ots=moWHls78Fe&sig=o8EBniO9r4pL-EGHAO15aJ8DRcc&hl=en&sa=X&ved=0ahUKEwia-4CS88zPAhUn1oMKHSEEDJAQ6AEIUzAG forums do not accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Page 1 of 2 12 Last Jump to page: error in Results 1 to 10 of 14 Thread: XOpenDisplay(NULL) Fails as ROOT Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 04-Jul-2012,03:48 #1 DAFlippers View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Jul 2012 Posts 2 XOpenDisplay(NULL) Fails as ROOT Hi, I have a error in xopendisplay program that runs on Ubuntu (various versions and Debian Squeeze) and also on another installation SuSE 12.1 64 (miles away) but not here on SuSE 12.1 64. The program needs to run as root to access USB ports. Initially the program failed when trying to open X display so I wrote a very simple piece of code: #include
från GoogleLogga inDolda fältBöckerbooks.google.se - Covering X11 Release 5, the Xlib Programming Manual is a complete guide to programming the X library (Xlib), the lowest level of programming interface to X. It includes introductions to internationalization, device-independent color, font service, and scalable fonts. Includes chapters on: X Window System...https://books.google.se/books/about/XLIB_Programming_Manual_Rel_5.html?hl=sv&id=d8tByjvMmIwC&utm_source=gb-gplus-shareXLIB Programming Manual, Rel. 5Mitt bibliotekHjälpAvancerad boksökningSkaffa tryckt exemplarInga e-böcker finns tillgängligaO'ReillyAmazon.co.ukAdlibrisAkademibokandelnBokus.seHitta boken i ett bibliotekAlla försäljare»Handla böcker på Google PlayBläddra i världens största e-bokhandel och börja läsa böcker på webben, surfplattan, mobilen eller läsplattan redan idag.Besök Google Play nu »XLIB Programming Manual, Rel. 5Adrian Nye"O'Reilly Media, Inc.", 1992 - 783 sidor 3 Recensionerhttps://books.google.se/books/about/XLIB_Programming_Manual_Rel_5.html?hl=sv&id=d8tByjvMmIwCCovering X11 Release 5, the Xlib Programming Manual is a complete guide to programming the X library (Xlib), the lowest level of programming interface to X. It includes introductions to internationalization, device-independent color, font service, and scalable fonts. Includes chapters on: X Window System concepts A simple client application Window attributes The graphics context Graphics in practice Color Events Interclient communication Internationalization The Resource Manager A complete client application Window management This manual is a companion to Volume 2, Xlib Reference Manual. Förhandsvisa den här boken » Så tycker andra-Skriv en recensionLibraryThing ReviewAnvändarrecension - Lyndatrue - LibraryThingOne of the many things I love about O'Reilly is that each and every technical book they published has a listing showing editions and publication dates. You never have to guess. If you honestly want... Läs hela recensionenUtvalda sidorTitelsidaInnehållIndexInnehållXV3 XVI4 XVIII5 XIX7 XX8 XXII9 XXIII11 XXIV13 CCXCIX340 CCCI341 CCCII3