(C++) Link error

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) Link error

 

Error emitted by the linker. Linking occurs after compiling by the compiler.

 

  1. OKAYC++
BuilderWindows
  [...]\NAME.LIB contains invalid OMF record, type 0x21 (possibly COFF)
  2. OKAYC++
BuilderWindows
  Assertion failed: used->flags & F_MOD_UNIT
  3. ?FAILCommand
lineUbuntu 
 cannot find -lboost_filesystem
  4. ?FAILQtQt
CreatorDesktop
 cannot find -lgstapp-0.10
  5. ?FAILCommand
lineUbuntu 
 cannot find -lQtCore
  6. ?OKAYC++
BuilderWindows
  Error detected (C:\1657)
  7. OKAYQt
CreatorUbuntu
  [MyUnit.o] Error 1
  8. OKAYC++
BuilderWindows
  Error processing module JConsts.pas
  9. OKAYC++
BuilderWindows
  Expected a file name
  10. OKAYQt
CreatorLubuntuWindows
 Multiple definition of 'X'
  11. OKAYC++
BuilderWindows
  Oject file MyFile.OBJ is missing a section of class 2
  12. OKAYC++
BuilderWindows
  Unable to open file '[AnyName].bpi'
  13. OKAYC++
BuilderWindows
  Unable to open file ABKSTDBC6.LIB
  14. OKAYC++
BuilderWindows
  Unable to open file 'CLASSES.OBJ'
  15. ?OKAYC++
BuilderWindows
  Unable to open file 'system.OBJ'
  16. OKAYC++
BuilderWindows
  Unable to open file 'UNITFORM_MYFORM.OBJ'
  17. FAILQt
CreatorWindows
  Undefined reference to '__getreent'
  18. FAILQt
CreatorUbuntuNDS
 Undefined reference to '__irq_vector'
  19. OKAYQt
CreatorUbuntu
  Undefined reference to 'boost::filesystem::detail::get_current_path_api'
  20. OKAYQt
CreatorUbuntu
  Undefined reference to 'boost::system::get_system_category()'
  21. OKAYQt
CreatorUbuntu
  undefined reference to 'boost::thread::thread()'
  22. OKAYQt
CreatorUbuntu
  Undefined reference to 'cln::cl_random_def_init_helper::cl_random_def_init_helper()'
  23. OKAYQt
CreatorUbuntuNDS
 Undefined reference to 'consoleInit'
  24. OKAYQt
CreatorUbuntu
  Undefined reference to 'gluPerspective'
  25. OKAYQt
CreatorUbuntu
  Undefined reference to 'glutInit'
  26. OKAYQt
CreatorUbuntu
  Undefined reference to 'jpeg_std_error'
  27. OKAYQt
CreatorUbuntu
  undefined reference to 'Poppler::Document::load'
  28. OKAYQt
CreatorUbuntuNDS
 undefined reference to 'puts'
  29. OKAYQt
CreatorUbuntu
  Undefined reference to 'QGraphicsScene::QGraphicsScene(QObject*)'
  30. OKAYQt
CreatorUbuntu
  undefined reference to 'QListData::detach_grow'
  31. OKAYQt
CreatorUbuntu
  undefined reference to 'SDL_Init'
  32. OKAYQt
CreatorLubuntu
  undefined reference to 'sqrt'
  33. OKAYQt
CreatorUbuntu
  undefined reference to 'TTF_Init'
  34. OKAYQt
CreatorUbuntu
  undefined reference to 'vtable for MyDialog'
  35. OKAYQt
CreatorUbuntu
  undefined reference to 'Wt::WRun(int, char**, Wt::WApplication* (*)(Wt::WEnvironment const&))'
  36. OKAYC++
BuilderWindows
  Unresolved external '__ExitVCL' referenced from [..]
  37. ?OKAYC++
BuilderWindows
  Unresolved external '__fastcall Dialogs::ShowMessage(const System::AnsiString)' referenced from AnyName.OBJ
  38. ?OKAYC++
BuilderWindows
  Unresolved external '__fastcall System::TObject::~TObject()' referenced from AnyName.OBJ
  39. OKAYC++
BuilderWindows
  Unresolved external '__InitVCL' referenced from [..]
  40. OKAYC++
BuilderWindows
  Unresolved external '_Form2' referenced from [...]\UNIT1.OBJ
  41. FAILC++
BuilderWindows
  Unresolved external 'std::_String_base::_Xlen() const' referenced from C:\...\CBUILDER6\LIB\LIBBOOST_REGEX-BCB-1_38.LIB|cpp_regex_traits
  42. FAILC++
BuilderWindows
  Unresolved external 'std::_String_base::_Xran() const' referenced from C:\...\CBUILDER6\LIB\LIBBOOST_REGEX-BCB-1_38.LIB|cpp_regex_traits
  43. OKAYC++
BuilderWindows
  Unresolved external 'WinMain' referenced from [...]\CBUILDER6\LIB\C0W32.OBJ