Results 1 to 7 of 7

Thread: library not found for -lnsl - What should I do? (MAC)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: library not found for -lnsl - What should I do? (MAC)

    So let me get this straight. You are building a library of your own or is it an application in its own right? Does the compilation of the library fail or of the application using this library? What is this "uni_net" library?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Dec 2010
    Posts
    71
    Platforms
    Windows
    Thanks
    26

    Default Re: library not found for -lnsl - What should I do? (MAC)

    the 2nd was a library to work with the 1st set of errors which is an application.

    but never mind! I've already figured out the error! -lcrypto was missing... thanks anyway!

    the library compiled fine but then the main application returned thousands of errors like these...

    Qt Code:
    1. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:126: error: declaration for parameter 'NSBlack' but no such parameter
    2. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:125: error: declaration for parameter 'NSDarkGray' but no such parameter
    3. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:124: error: declaration for parameter 'NSLightGray' but no such parameter
    4. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:123: error: declaration for parameter 'NSWhite' but no such parameter
    5. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:110: error: declaration for parameter 'NSWindowDepth' but no such parameter
    6. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:76: error: declaration for parameter 'NSColorRenderingIntent' but no such parameter
    7. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:65: error: declaration for parameter 'NSFocusRingType' but no such parameter
    8. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:56: error: declaration for parameter 'NSFocusRingPlacement' but no such parameter
    9. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:48: error: declaration for parameter 'NSWindowOrderingMode' but no such parameter
    10. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:40: error: declaration for parameter 'NSBackingStoreType' but no such parameter
    11. /System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:32: error: declaration for parameter 'NSCompositingOperation' but no such parameter
    12. /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:32: error: declaration for parameter 'NSTextCheckingTypes' but no such parameter
    13. /System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h:25: error: declaration for parameter 'NSTextCheckingType' but no such parameter
    14. /System/Library/Frameworks/Foundation.framework/Headers/NSScriptWhoseTests.h:24: error: declaration for parameter 'NSTestComparisonOperation' but no such parameter
    15. /System/Library/Frameworks/Foundation.framework/Headers/NSScriptStandardSuiteCommands.h:19: error: declaration for parameter 'NSSaveOptions' but no such parameter
    16. /System/Library/Frameworks/Foundation.framework/Headers/NSScriptObjectSpecifiers.h:45: error: declaration for parameter 'NSWhoseSubelementIdentifier' but no such parameter
    17. /System/Library/Frameworks/Foundation.framework/Headers/NSScriptObjectSpecifiers.h:36: error: declaration for parameter 'NSRelativePosition' but no such parameter
    18. /System/Library/Frameworks/Foundation.framework/Headers/NSScriptObjectSpecifiers.h:30: error: declaration for parameter 'NSInsertionPosition' but no such parameter
    To copy to clipboard, switch view to plain text mode 

    like 22700 errors... so this suggests that I'm missing some configuration on .pro for these frameworks?

Similar Threads

  1. QT Core Library Not Found
    By RyanS09 in forum Newbie
    Replies: 2
    Last Post: 26th April 2011, 10:51
  2. Replies: 2
    Last Post: 19th February 2011, 12:26
  3. Library woes - can't be found
    By waynew in forum Newbie
    Replies: 5
    Last Post: 24th November 2010, 00:30
  4. Replies: 5
    Last Post: 18th June 2010, 22:13
  5. Replies: 4
    Last Post: 20th May 2009, 11:20

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.