Results 1 to 7 of 7

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

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

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

    Hi,

    I'm trying to port a linux application to mac with Qt... And I've read in some forums that libnsl isn't supported on Mac, that it's included on libc. But I've tried to just erase the link -lnsl, and adding -lc, but it always stops at the same compilation line returning lots of undefined symbols but ending with the same single error: collect2: ld returned 1 exit status

    any Ideas on how to fix this issue?

    I even downloaded fink and apt-get commands to see if I could apt-get install libnsl but it doesn't find that package...


    this is what Qt returns when I take -lnsl out:

    Qt Code:
    1. g++ -headerpad_max_install_names -arch i386 -o uni-classroom.app/Contents/MacOS/uni-classroom release/local_system_ima.o release/kmultitabbar.o release/italc_side_bar.o release/dialogs.o release/config_widget.o release/cmd_input_dialog.o release/client.o release/classroom_manager.o release/tool_button.o release/tool_bar.o release/snapshot_list.o release/side_bar_widget.o release/remote_control_widget.o release/overview_widget.o release/main_window.o release/main.o release/haveupdates.o release/updater.o release/clientworkspace.o release/tree_widget_menu.o release/about_widget.o release/midetector.o release/singleapplication.o release/help.o release/moc_kmultitabbar.o release/moc_italc_side_bar.o release/moc_config_widget.o release/moc_client.o release/moc_tool_button.o release/moc_tool_bar.o release/moc_snapshot_list.o release/moc_remote_control_widget.o release/moc_overview_widget.o release/moc_haveupdates.o release/moc_updater.o release/moc_classroom_manager.o release/moc_tree_widget_menu.o release/moc_main_window.o release/moc_about_widget.o release/moc_dialogs.o release/moc_cmd_input_dialog.o release/moc_midetector.o release/moc_singleapplication.o release/moc_help.o release/qrc_uni-classroom.o -F/Library/Frameworks -L/Library/Frameworks -L../staticlib/ -L../plugins/attendees -L../libjpeg -lz -lc -llibjpeg -lssl -lcrypto -framework Foundation -lpthread -luni_net -lattendees -framework QtXml -framework QtGui -framework QtNetwork -framework QtCore
    2.  
    3. Undefined symbols:
    4.  
    5. "localSystem::globalConfigPath()", referenced from:
    6.  
    7. mainWindow::instantiateClassroomManagerPlugin(QObject*) in main_window.o
    8.  
    9. mainWindow::instantiateClassroomManagerPlugin(QObject*) in main_window.o
    10.  
    11. "isdConnection::stopAttendanceCall()", referenced from:
    12.  
    13. classroomManager::stopAttendanceCall() in classroom_manager.o
    14.  
    15. "isdConnection::lockDisplay()", referenced from:
    16.  
    17. updateThread::update() in client.o
    18.  
    19. "isdConnection::logonUser(QString const&, QString const&, QString const&)", referenced from:
    20.  
    21. updateThread::update() in client.o
    22.  
    23. "localSystem::personalConfigDir()", referenced from:
    24.  
    25. mainWindow::ensureConfigPathExists() in main_window.o
    26.  
    27. mainWindow::mainWindow(int)in main_window.o
    28.  
    29. "___role", referenced from:
    30.  
    31. ___role$non_lazy_ptr in config_widget.o
    32.  
    33. ___role$non_lazy_ptr in classroom_manager.o
    34.  
    35. ___role$non_lazy_ptr in main_window.o
    36.  
    37. ___role$non_lazy_ptr in main.o
    38.  
    39. (maybe you meant: ___role$non_lazy_ptr)
    40.  
    41. "isdConnection::isdConnection(QString const&, QObject*)", referenced from:
    42.  
    43. mainWindow::mainWindow(int)in main_window.o
    44.  
    45. "isdConnection::attendanceCall(BcAttendees&)", referenced from:
    46.  
    47. mainWindow::callList(BcAttendees&) in main_window.o
    48.  
    49. "localSystem::snapshotDir()", referenced from:
    50.  
    51. snapshotList::reloadList() in snapshot_list.o
    52.  
    53. snapshotList::snapshotDoubleClicked(QString const&) in snapshot_list.o
    54.  
    55. snapshotList::deleteSnapshot() in snapshot_list.o
    56.  
    57. snapshotList::snapshotSelected(QString const&) in snapshot_list.o
    58.  
    59. "isdConnection::sendGetAttendeesListRequest()", referenced from:
    60.  
    61. classroomManager::sendGetAttendeesListRequest() in classroom_manager.o
    62.  
    63. "isdConnection::wakeOtherComputer(QString const&)", referenced from:
    64.  
    65. client::powerOn() in client.o
    66.  
    67. "isdConnection::attendanceCallDefProf(BcAttendees&)", referenced from:
    68.  
    69. mainWindow::callListDefProf(BcAttendees&) in main_window.o
    70.  
    71. "isdConnection::displayTextMessage(QString const&)", referenced from:
    72.  
    73. updateThread::update() in client.o
    74.  
    75. "ivsConnection::ivsConnection(QString const&, ivsConnection::quality, bool, QObject*)", referenced from:
    76.  
    77. client::client(QString const&, QString const&, QString const&, QString const&, IClient::types, mainWindow*, int)in client.o
    78.  
    79. "ivsConnection::rescaleScreen()", referenced from:
    80.  
    81. client::resizeEvent(QResizeEvent*) in client.o
    82.  
    83. "isdConnection::execCmds(QString const&)", referenced from:
    84.  
    85. updateThread::update() in client.o
    86.  
    87. "isdConnection::handleServerMessages()", referenced from:
    88.  
    89. mainWindowUpdateThread::update() in main_window.o
    90.  
    91. "vtable for publicDSAKey", referenced from:
    92.  
    93. __ZTV12publicDSAKey$non_lazy_ptr in main_window.o
    94.  
    95. (maybe you meant: __ZTV12publicDSAKey$non_lazy_ptr)
    96.  
    97. "isdConnection::reset(QString const&, int*)", referenced from:
    98.  
    99. client::userLoggedIn() in client.o
    100.  
    101. updateThread::update() in client.o
    102.  
    103. "isdConnection::powerDownComputer()", referenced from:
    104.  
    105. updateThread::update() in client.o
    106.  
    107. "isdConnection::logoutUser()", referenced from:
    108.  
    109. updateThread::update() in client.o
    110.  
    111. "isdConnection::demoServerAllowClient(QString const&)", referenced from:
    112.  
    113. client::changeMode(IClient::modes) in client.o
    114.  
    115. classroomManager::changeMode_AllowClient(QString) in classroom_manager.o
    116.  
    117. "isdConnection::sendGetUserInformationRequest()", referenced from:
    118.  
    119. client::reload() in client.o
    120.  
    121. "isdConnection::demoServerDenyClient(QString const&)", referenced from:
    122.  
    123. client::changeMode(IClient::modes) in client.o
    124.  
    125. client::changeMode(IClient::modes) in client.o
    126.  
    127. classroomManager::changeMode_DenyClient(QString) in classroom_manager.o
    128.  
    129. "isdConnection::restartComputer()", referenced from:
    130.  
    131. updateThread::update() in client.o
    132.  
    133. "isdConnection::sendGetAttendeesDefProfListRequest()", referenced from:
    134.  
    135. classroomManager::sendGetAttendeesDefProfListRequest() in classroom_manager.o
    136.  
    137. "isdConnection::demoServerRun(int, int)", referenced from:
    138.  
    139. mainWindow::mainWindow(int)in main_window.o
    140.  
    141. "isdConnection::shutdown()", referenced from:
    142.  
    143. _main in main.o
    144.  
    145. "vncView::vncView(QString const&, QWidget*, bool)", referenced from:
    146.  
    147. remoteControlWidget::remoteControlWidget(QString const&, bool, mainWindow*)in remote_control_widget.o
    148.  
    149. "isdConnection::unlockDisplay()", referenced from:
    150.  
    151. updateThread::update() in client.o
    152.  
    153. "ivsConnection::takeSnapshot()", referenced from:
    154.  
    155. remoteControlWidget::takeSnapshot() in remote_control_widget.o
    156.  
    157. "isdConnection::gracefulClose()", referenced from:
    158.  
    159. mainWindow::~mainWindow()in main_window.o
    160.  
    161. mainWindow::~mainWindow()in main_window.o
    162.  
    163. "localSystem::sleep(int)", referenced from:
    164.  
    165. client::~client()in client.o
    166.  
    167. client::~client()in client.o
    168.  
    169. "messageBox::information(QString const&, QString const&, QPixmap const&)", referenced from:
    170.  
    171. ...
    172.  
    173. loadPersonalConfig() in main.o
    174.  
    175. "vncView::setViewOnly(bool)", referenced from:
    176.  
    177. remoteControlWidget::toggleViewOnly(bool) in remote_control_widget.o
    178.  
    179. "publicDSAKey::load(QString const&, QString)", referenced from:
    180.  
    181. mainWindow::registerNewLicense() in main_window.o
    182.  
    183. mainWindow::activatedLicense() in main_window.o
    184.  
    185. "localSystem::freePort(int)", referenced from:
    186.  
    187. mainWindow::mainWindow(int)in main_window.o
    188.  
    189. "ivsConnection::takeSnapshot(QString)", referenced from:
    190.  
    191. client::paintEvent(QPaintEvent*) in client.o
    192.  
    193. "localSystem::ensurePathExists(QString const&)", referenced from:
    194.  
    195. mainWindow::ensureConfigPathExists() in main_window.o
    196.  
    197. "localSystem::activateWindow(QWidget*)", referenced from:
    198.  
    199. remoteControlWidget::remoteControlWidget(QString const&, bool, mainWindow*)in remote_control_widget.o
    200.  
    201. "isdConnection::startDemo(QString const&, bool)", referenced from:
    202.  
    203. updateThread::update() in client.o
    204.  
    205. "isdConnection::endStudentAttendance()", referenced from:
    206.  
    207. updateThread::update() in client.o
    208.  
    209. "isdConnection::hideTrayIcon()", referenced from:
    210.  
    211. mainWindow::mainWindow(int)in main_window.o
    212.  
    213. "ivsConnection::handleServerMessages(bool, int)", referenced from:
    214.  
    215. client::reload() in client.o
    216.  
    217. "localSystem::initialize(void (*)(int, bool), QString const&)", referenced from:
    218.  
    219. localSystem::initialize() in local_system_ima.o
    220.  
    221. "localSystem::parameter(QString const&)", referenced from:
    222.  
    223. _main in main.o
    224.  
    225. _main in main.o
    226.  
    227. "isdConnection::disableLocalInputs(bool)", referenced from:
    228.  
    229. remoteControlWidget::lockStudent(bool) in remote_control_widget.o
    230.  
    231. "localSystem::globalConfigPathLock()", referenced from:
    232.  
    233. mainWindow::startTrialVersion() in main_window.o
    234.  
    235. mainWindow::unlockLicenses() in main_window.o
    236.  
    237. mainWindow::mainWindow(int)in main_window.o
    238.  
    239. "isdConnection::initAuthentication()", referenced from:
    240.  
    241. mainWindow::mainWindow(int)in main_window.o
    242.  
    243. ld: symbol(s) not found
    244.  
    245. collect2: ld returned 1 exit status
    246.  
    247. make[1]: *** [uni-classroom.app/Contents/MacOS/uni-classroom] Error 1
    248.  
    249. make: Leaving directory `/Users/tuareg/Desktop/uni/uni-classroom'
    250.  
    251. make: *** [release] Error 2
    252.  
    253. Exited with code 2.
    254.  
    255. Error while building project uni-classroom
    256.  
    257. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

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

    LibNSL is a C library and the errors you get are obviously related to classes. Is "localSystem" your own class? What about "isdConnection"? It seems more that your own classes are missing implementations for a number of methods.
    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.


  3. The following user says thank you to wysota for this useful post:

    rickrvo (8th September 2011)

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

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

    yes, those are my classes.

    The strange thing is that I forced mac to run the same code as Linux (where I had defined(Q_OS_LINUX) I added || defined(Q_OS_MAC) ) the same code compiles perfectly on linux but all these errors occurs in MAC... I've already noticed that some system includes don't exist in Mac, and I'm working on removing those parts but everytime I compile the same output is these undefined symbols

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

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

    Did you implement the methods the compiler fails on? Show us their code.
    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.


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

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

    I'll post one method since the entire file is too long..

    Qt Code:
    1. local_system.h
    2.  
    3. extern IC_DllExport QByteArray __appInternalChallenge;
    4. ...
    5. QString IC_DllExport globalConfigPath( void );
    6.  
    7.  
    8. local_system.cpp
    9.  
    10. QString privateKeyPath( const ISD::userRoles _role, bool _only_path )
    11. {
    12. return( keyPath( _role, "private", _only_path ) );
    13. }
    14.  
    15. isd_connection.h
    16.  
    17. class isdConnection : public QObject
    18. {
    19. ...
    20. bool stopAttendanceCall(void);
    21.  
    22.  
    23. isd_connection.cpp
    24.  
    25. bool isdConnection::stopAttendanceCall( void ) {
    26. if( m_socket == NULL ||
    27. m_socket->state() != QTcpSocket::ConnectedState )
    28. {
    29. m_state = Disconnected;
    30. return( FALSE );
    31. }
    32. return( ISD::msg( &m_socketDev, ISD::StopAttendanceCall ).send() );
    33. }
    To copy to clipboard, switch view to plain text mode 

    all methods are implemented... I think it's some kind of linking problem...

    I still have some similar errors compiling another .pro (same project) like:
    Qt Code:
    1. Undefined symbols:
    2. "_BN_rand", referenced from:
    3. dsaKey::generateChallenge() in dsa_key.o
    4. "_BN_copy", referenced from:
    5. publicDSAKey::publicDSAKey(privateDSAKey const&)in dsa_key.o
    6. publicDSAKey::publicDSAKey(privateDSAKey const&)in dsa_key.o
    7. publicDSAKey::publicDSAKey(privateDSAKey const&)in dsa_key.o
    8. publicDSAKey::publicDSAKey(privateDSAKey const&)in dsa_key.o
    9. "_BN_new", referenced from:
    10. createNewDSA() in dsa_key.o
    11. createNewDSA() in dsa_key.o
    12. createNewDSA() in dsa_key.o
    13. createNewDSA() in dsa_key.o
    14. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    15. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    16. dsaKey::generateChallenge() in dsa_key.o
    17. "_DSA_do_sign", referenced from:
    18. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    19. "_EVP_DigestFinal", referenced from:
    20. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    21. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    22. "_DSA_free", referenced from:
    23. privateDSAKey::load(QString const&, QString)in dsa_key.o
    24. publicDSAKey::publicDSAKey(privateDSAKey const&)in dsa_key.o
    25. privateDSAKey::privateDSAKey(unsigned int)in dsa_key.o
    26. publicDSAKey::load(QString const&, QString)in dsa_key.o
    27. publicDSAKey::~publicDSAKey()in dsa_key.o
    28. dsaKey::~dsaKey()in dsa_key.o
    29. dsaKey::~dsaKey()in dsa_key.o
    30. privateDSAKey::~privateDSAKey()in dsa_key.o
    31. privateDSAKey::~privateDSAKey()in dsa_key.o
    32. publicDSAKey::~publicDSAKey()in dsa_key.o
    33. isdConnection::initAuthentication() in isd_connection.o
    34. dsaKey::~dsaKey()in isd_connection.o
    35. dsaKey::~dsaKey()in isd_connection.o
    36. "_BN_num_bits", referenced from:
    37. buffer_put_bignum2(Buffer*, bignum_st*) in dsa_key.o
    38. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    39. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    40. dsaKey::generateChallenge() in dsa_key.o
    41. "_EVP_des_ede3_cbc", referenced from:
    42. privateDSAKey::save(QString const&, QString) constin dsa_key.o
    43. "_BN_free", referenced from:
    44. dsaKey::generateChallenge() in dsa_key.o
    45. "_EVP_sha1", referenced from:
    46. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    47. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    48. "_EVP_PKEY_get1_DSA", referenced from:
    49. privateDSAKey::load(QString const&, QString)in dsa_key.o
    50. "_EVP_DigestUpdate", referenced from:
    51. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    52. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    53. "_DSA_SIG_free", referenced from:
    54. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    55. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    56. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    57. "_EVP_DigestInit", referenced from:
    58. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    59. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    60. "_BN_bn2bin", referenced from:
    61. buffer_put_bignum2(Buffer*, bignum_st*) in dsa_key.o
    62. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    63. privateDSAKey::sign(QByteArray const&) constin dsa_key.o
    64. dsaKey::generateChallenge() in dsa_key.o
    65. "_EVP_PKEY_free", referenced from:
    66. privateDSAKey::load(QString const&, QString)in dsa_key.o
    67. "_DSA_do_verify", referenced from:
    68. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    69. "_BN_bin2bn", referenced from:
    70. buffer_get_bignum2(Buffer*, bignum_st*) in dsa_key.o
    71. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    72. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    73. "_DSA_generate_key", referenced from:
    74. privateDSAKey::privateDSAKey(unsigned int)in dsa_key.o
    75. "_PEM_read_PrivateKey", referenced from:
    76. privateDSAKey::load(QString const&, QString)in dsa_key.o
    77. "_DSA_SIG_new", referenced from:
    78. dsaKey::verifySignature(QByteArray const&, QByteArray const&) constin dsa_key.o
    79. "_DSA_generate_parameters", referenced from:
    80. privateDSAKey::privateDSAKey(unsigned int)in dsa_key.o
    81. "_DSA_new", referenced from:
    82. createNewDSA() in dsa_key.o
    83. "_PEM_write_DSAPrivateKey", referenced from:
    84. privateDSAKey::save(QString const&, QString) constin dsa_key.o
    85. ld: symbol(s) not found
    86. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 


    This is even more important than the other. Since the first project uses this lib (2nd project) . but this one does not have dependencies and still undefined symbols error appear... I think it's something to do with linking. since the Linux version had -lnsl link to work and Mac doesn't have -lnsl
    But it still a strange thing because the 2nd project doesn't have a -lnsl even for linux...

  7. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    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.


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

    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, 09:51
  2. Replies: 2
    Last Post: 19th February 2011, 11:26
  3. Library woes - can't be found
    By waynew in forum Newbie
    Replies: 5
    Last Post: 23rd November 2010, 23:30
  4. Replies: 5
    Last Post: 18th June 2010, 21:13
  5. Replies: 4
    Last Post: 20th May 2009, 10: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.