Error lnk2001 unresolved external symbol _orphan_all

error lnk2001 unresolved external symbol _orphan_all

[email protected][email protected]@@QBEXXZ) cppunitd.lib(TestResult.obj): error LNK2001: unresolved external symbol "__declspec(dllimport). I use GLUT and GLUI libraries (web.engr.oregonstate.edu/~mjb/cs553/gettingglut.html). Path variable doesn't need to include these libs. – Zuku. Francais? pas un problem monsieur! (but I'd better stick to English in case I get accused of murdering such a lovely language and find.

Error lnk2001 unresolved external symbol _orphan_all - happiness!

I have had to migrate down to VS2013 for my project. Originaly when I was working in VS2017 I was able to add a dll that I created (also in VS2017) without any link errors. However since I moved to VS2013 I have been unable to add the dll without getting these link errors:
(Gsi is the name of my project)

Error 4 error LNK2019: unresolved external symbol __imp___hypot referenced in function _hypot C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 5 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "void __cdecl std::_Debug_pointer<char>(char const *,wchar_t const *,unsigned int)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 6 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base12::_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 7 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base12::~_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::~_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 8 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Orphan_all(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "public: void __thiscall std::_String_alloc<0,struct std::_String_base_types<char,class std::allocator<char> > >::_Free_proxy(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@QAEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 9 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xbad_alloc(void)" ([email protected]@@YAXXZ) referenced in function "char * __cdecl std::_Allocate<char>(unsigned int,char *)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 10 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xlength_error(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xlen(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 11 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xout_of_range(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xran(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 12 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::locale::id::id(unsigned int)" ([email protected]@[email protected]@[email protected]@Z) referenced in function "void __cdecl `dynamic initializer for 'public: static class std::locale::id std::num_put<char,class std::back_insert_iterator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::id''(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]@[email protected]@YAXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 13 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Syserror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::error_condition __thiscall std::_System_error_category::default_error_condition(int)const " ([email protected][email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 14 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::_System_error_category::message(int)const " ([email protected][email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 15 error LNK1120: 11 unresolved externals C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Debug\Gsi.exe Gsi

I have rebuilt the dll in VS2013 and re-added it to my project thinking that that was the problem originally, however, nothing changed. My project compiles fine on it's own in VS2013 and I can add my dll to other projects in VS2013 and those work fine. They just don't seem to work together.

This page has been informative about unresolved external symbol errors but ultimately unhelpful: https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix

Any ideas on what could be going wrong or where I should look? Thanks!

Last edited on

Ive tried 1.4.9 and 1.6.0 - tried various other things on the forums here, but none work. Compiling the freeimaged myself gives me a new error to do with msvcprtd.lib

Vista Business
Visual Studio 2005 SP1

Error 1 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 2 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected][email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@Z$0 freeimaged.lib
Error 4 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 5 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 6 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 7 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 8 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 9 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 10 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 11 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 12 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 13 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 14 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 15 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 16 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 17 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 18 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 19 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 20 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 21 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 22 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 23 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 24 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 25 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 26 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 27 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected]@[email protected]@@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]$0 freeimaged.lib
Error 28 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 29 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 30 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 31 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 32 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 33 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 34 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 35 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 36 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 37 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 38 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 39 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 40 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 41 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 42 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 43 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 44 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 45 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 46 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 47 error LNK2019: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) referenced in function "private: int __thiscall Imf::Pxr24Compressor::compress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" ([email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 48 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 49 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 50 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 51 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 52 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 53 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 54 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 55 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 56 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 57 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 58 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 59 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 60 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 61 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 62 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 63 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 64 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 65 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 66 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 67 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 68 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "public: __thiscall std::_Tree<class std::_Tmap_traits<class Imf::Name,struct Imf::Channel,struct std::less<class Imf::Name>,class std::allocator<struct std::pair<class Imf::Name const ,struct Imf::Channel> >,0> >::const_iterator::~const_iterator(void)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected]@@[email protected]@@[email protected]@@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 69 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 70 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 71 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 72 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 73 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 74 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 75 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 76 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 77 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 78 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_aux(class std::_Container_base_secure &)" ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected]?$v[email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 79 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_all(class std::_Container_base_secure &)const " ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 80 fatal error LNK1120: 6 unresolved externals ..\..\lib/OgreMain_d.dll
Error 178 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::~_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]) ode.lib
Error 179 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(class std::allocator<struct std::pair<unsigned int,unsigned int> >)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected][email protected][email protected]@[email protected]@@[email protected]@Z) ode.lib
Error 180 fatal error LNK1120: 2 unresolved externals ..\..\..\lib/ReferenceAppLayer_d.dll

I have no idea what to do really, the linker/input has the freeimaged.lib there and I havent changed anything from the downloaded ogre and dependencies folders. As I said before, I have tried 1.4.9 and 1.6.0, as well as compiling the freeimage libs myself (which gave me new errors, that certain things have already been defined).

Also, I have VC# 2008 Express recently installed; could this be relevant?

[/quote]
I'm getting link errors when trying to build ogremain_d.lib. It looks like every external symbol for freeimaged.lib is not found.

Unless I am blind (which I probably am) I didn't see any special setup that needed to be done to use Freeimage except for downloading the dependencies and putting them in a new Dependencies folder at the same level as OgreMain and Samples (which I did). I verified that the file freeimaged.lib is in the Dependencies/lib/debug directory. I even tried changing my VC++ Directories Library dropdown to point to said directory. Same errors still result.

I know I'm missing something stupid, but what? Any ideas? If it matters, I'm using VC++ 2008 Express.

As a P.S., I tried downloading Freeimage and compiling it separately but I couldn't do that because I was missing 'afxres.h'. Not that I think the two are related or anything, but you never know.

Also, here's the linker output if it helps:

Code: Select all

Last edited by muckluck on Thu Apr 10, 2008 10:59 pm, edited 1 time in total.

Linking static libraries from different MSVC compilers

Hello All,
I have some static libraries generated on MSVC 2005 express edition and I have to use them along with static libraries created with MSVC 2003 and create an application on MSVC2003.

example.lib - generated on MSVC2005
All other libs - generated on MSVC2003

I have attached the compiler options as well as the error log along.
Any tips/suggestions will be of great help.

Thanks in Advance
Rahul

Compiler Options

Od /I "D:\trial\adl\\" /I "D:\trial\adl\../boost-RC_1_34_0-07-02-13-1710" /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_CONSOLE" /D "USE_BOOST_TYPEOF" /D "USE_NO_GCC_BUILTINS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /MD /Fo"Debug/" /Fd"Debug/vc70.pdb" /W0 /c /Wp64 /Zi /TP
.\driver2.cc
]
Creating command line "cl.exe @d:\trial\StandAlone\Debug\RSP0000EB.rsp /nologo"
Creating temporary file "d:\trial\StandAlone\Debug\RSP0000EC.rsp" with contents
[
/OUT:"D:\trial\adl\..\Debug/StandAlone.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib" /LIBPATH:"D:\trial\adl\..\Debug" /NODEFAULTLIB /DEBUG /PDB:"D:\trial\adl\..\Debug/StandAlone.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /FORCE /VERBOSE


msvcrtd.lib msvcprtd.lib libcpmtd.lib example.lib AdlIssExec.lib AdlIssMain.lib AdlIssSupport.lib AdlIssLogging.lib AdlIssTransLogging.lib AdlParsing.lib AdlSupport.lib IntbvRnum.lib Intbv.lib gc.lib RNumber.lib sim-util.lib Sfpu.lib SfpuAdl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "\trial\debug\sim-util.lib"
.\Debug\driver2.obj


Error Messages
example.lib(example.obj) : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function [email protected]@@[email protected] @@XZ
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall std::exception::~exception(void)" ([email protected]@@[email protected]) referenced in function [email protected]@@[email protected]?$bas [email protected][email protected]@[email protected]@[email protected]@[email protected] @[email protected]@Z$0
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@@[email protected][email protected]?$c [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::runtime_error const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" ([email protected][email protected]@@QAEXXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___wassert referenced in function "public: unsigned int __thiscall adliss:Stick out tongueowerpc::L1_cache_get_set(unsigned int)const " ([email protected]@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" ([email protected][email protected]@[email protected]@V? [email protected]@[email protected]@[email protected]@[email protected][email protected]@@Z) referenced in function "public: __thiscall adl::IntroBase::IntroBase(void)" ([email protected]@@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___invalid_parameter referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_Vector_val<int,class std::allocator<int> >::~_Vector_val<int,class std::allocator<int> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "protected: void __thiscall std::vector<int,class std::allocator<int> >::_Tidy(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@IAEXXZ )
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Vector_val<int,class std::allocator<int> >::_Vector_val<int,class std::allocator<int> >(class std::allocator<int>)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] [email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ([email protected]@@[email protected]@Z)
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall std::exception::what(void)const " ([email protected]@[email protected]@UBEPBDXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp__memmove_s referenced in function "int * __cdecl std::_Uninit_copy<class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> >(class std::_Vector_const_iterator<int,class std::allocator<int> >,class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> &,struct std::_Scalar_ptr_iterator_tag,struct std::_Range_checked_iterator_tag)" ([email protected][email protected]?$all [email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@[email protected]@YAPA [email protected][email protected]@[email protected]@@0 @[email protected]@[email protected][email protected] [email protected]_Ra[email protected]@@Z)

May 31 '07

Are mistaken: Error lnk2001 unresolved external symbol _orphan_all

FATAL ERROR SLIC
Raised exception class econverterror
NOT A WINSOCK ERROR
CHANGING PHASE ERROR .ASP ID

Error lnk2001 unresolved external symbol _orphan_all - like

I have had to migrate down to VS2013 for my project. Originaly when I was working in VS2017 I was able to add a dll that I created (also in VS2017) without any link errors. However since I moved to VS2013 I have been unable to add the dll without getting these link errors:
(Gsi is the name of my project)

Error 4 error LNK2019: unresolved external symbol __imp___hypot referenced in function _hypot C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 5 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "void __cdecl std::_Debug_pointer<char>(char const *,wchar_t const *,unsigned int)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 6 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base12::_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 7 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base12::~_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::~_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 8 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Orphan_all(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "public: void __thiscall std::_String_alloc<0,struct std::_String_base_types<char,class std::allocator<char> > >::_Free_proxy(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@QAEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 9 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xbad_alloc(void)" ([email protected]@@YAXXZ) referenced in function "char * __cdecl std::_Allocate<char>(unsigned int,char *)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 10 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xlength_error(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xlen(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 11 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xout_of_range(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xran(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 12 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::locale::id::id(unsigned int)" ([email protected]@[email protected]@[email protected]@Z) referenced in function "void __cdecl `dynamic initializer for 'public: static class std::locale::id std::num_put<char,class std::back_insert_iterator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::id''(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]@[email protected]@YAXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 13 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Syserror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::error_condition __thiscall std::_System_error_category::default_error_condition(int)const " ([email protected][email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 14 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::_System_error_category::message(int)const " ([email protected][email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 15 error LNK1120: 11 unresolved externals C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Debug\Gsi.exe Gsi

I have rebuilt the dll in VS2013 and re-added it to my project thinking that that was the problem originally, however, nothing changed. My project compiles fine on it's own in VS2013 and I can add my dll to other projects in VS2013 and those work fine. They just don't seem to work together.

This page has been informative about unresolved external symbol errors but ultimately unhelpful: https://stackoverflow.com/questions/12573816/what-is-an-undefined-reference-unresolved-external-symbol-error-and-how-do-i-fix

Any ideas on what could be going wrong or where I should look? Thanks!

Last edited on

Ive tried 1.4.9 and 1.6.0 - tried various other things on the forums here, but none work. Compiling the freeimaged myself gives me a new error to do with msvcprtd.lib

Vista Business
Visual Studio 2005 SP1

Error 1 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 2 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected][email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]?$[email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@Z$0 freeimaged.lib
Error 4 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 5 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 6 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 7 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 8 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 9 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 10 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 11 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 12 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 13 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 14 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 15 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 16 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 17 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 18 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 19 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 20 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 21 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 22 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 23 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 24 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 25 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 26 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 27 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected]@[email protected]@@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]$0 freeimaged.lib
Error 28 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 29 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 30 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 31 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 32 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 33 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 34 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 35 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 36 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 37 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 38 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 39 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" (??0_Con[email protected]@@[email protected]@@Z) freeimaged.lib
Error 40 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 41 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 42 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 43 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 44 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 45 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 46 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 47 error LNK2019: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) referenced in function "private: int __thiscall Imf::Pxr24Compressor::compress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" ([email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 48 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 49 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 50 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 51 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 52 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 53 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 54 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 55 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 56 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 57 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 58 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 59 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 60 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 61 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 62 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 63 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 64 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 65 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 66 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 67 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 68 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "public: __thiscall std::_Tree<class std::_Tmap_traits<class Imf::Name,struct Imf::Channel,struct std::less<class Imf::Name>,class std::allocator<struct std::pair<class Imf::Name const ,struct Imf::Channel> >,0> >::const_iterator::~const_iterator(void)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected]@@[email protected]@@[email protected]@@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 69 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 70 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 71 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 72 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 73 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 74 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 75 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 76 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 77 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 78 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_aux(class std::_Container_base_secure &)" ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 79 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_all(class std::_Container_base_secure &)const " ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 80 fatal error LNK1120: 6 unresolved externals ..\..\lib/OgreMain_d.dll
Error 178 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::~_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]) ode.lib
Error 179 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(class std::allocator<struct std::pair<unsigned int,unsigned int> >)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected][email protected][email protected]@[email protected]@@[email protected]@Z) ode.lib
Error 180 fatal error LNK1120: 2 unresolved externals ..\..\..\lib/ReferenceAppLayer_d.dll

I have no idea what to do really, the linker/input has the freeimaged.lib there and I havent changed anything from the downloaded ogre and dependencies folders. As I said before, I have tried 1.4.9 and 1.6.0, as well as compiling the freeimage libs myself (which gave me new errors, that certain things have already been defined).

Also, I have VC# 2008 Express recently installed; could this be relevant?

[/quote]
I'm getting link errors when trying to build ogremain_d.lib. It looks like every external symbol for freeimaged.lib is not found.

Unless I am blind (which I probably am) I didn't see any special setup that needed to be done to use Freeimage except for downloading the dependencies and putting them in a new Dependencies folder at the same level as OgreMain and Samples (which I did). I verified that the file freeimaged.lib is in the Dependencies/lib/debug directory. I even tried changing my VC++ Directories Library dropdown to point to said directory. Same errors still result.

I know I'm missing something stupid, but what? Any ideas? If it matters, I'm using VC++ 2008 Express.

As a P.S., I tried downloading Freeimage and compiling it separately but I couldn't do that because I was missing 'afxres.h'. Not that I think the two are related or anything, but you never know.

Also, here's the linker output if it helps:

Code: Select all

Last edited by muckluck on Thu Apr 10, 2008 10:59 pm, edited 1 time in total.

Linking static libraries from different MSVC compilers

Hello All,
I have some static libraries generated on MSVC 2005 express edition and I have to use them along with static libraries created with MSVC 2003 and create an application on MSVC2003.

example.lib - generated on MSVC2005
All other libs - generated on MSVC2003

I have attached the compiler options as well as the error log along.
Any tips/suggestions will be of great help.

Thanks in Advance
Rahul

Compiler Options

Od /I "D:\trial\adl\\" /I "D:\trial\adl\../boost-RC_1_34_0-07-02-13-1710" /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_CONSOLE" /D "USE_BOOST_TYPEOF" /D "USE_NO_GCC_BUILTINS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /MD /Fo"Debug/" /Fd"Debug/vc70.pdb" /W0 /c /Wp64 /Zi /TP
.\driver2.cc
]
Creating command line "cl.exe @d:\trial\StandAlone\Debug\RSP0000EB.rsp /nologo"
Creating temporary file "d:\trial\StandAlone\Debug\RSP0000EC.rsp" with contents
[
/OUT:"D:\trial\adl\..\Debug/StandAlone.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib" /LIBPATH:"D:\trial\adl\..\Debug" /NODEFAULTLIB /DEBUG /PDB:"D:\trial\adl\..\Debug/StandAlone.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /FORCE /VERBOSE


msvcrtd.lib msvcprtd.lib libcpmtd.lib example.lib AdlIssExec.lib AdlIssMain.lib AdlIssSupport.lib AdlIssLogging.lib AdlIssTransLogging.lib AdlParsing.lib AdlSupport.lib IntbvRnum.lib Intbv.lib gc.lib RNumber.lib sim-util.lib Sfpu.lib SfpuAdl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "\trial\debug\sim-util.lib"
.\Debug\driver2.obj


Error Messages
example.lib(example.obj) : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function [email protected]@@[email protected] @@XZ
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall std::exception::~exception(void)" ([email protected]@@[email protected]) referenced in function [email protected]@@[email protected]?$bas [email protected][email protected]@[email protected]@[email protected]@[email protected] @[email protected]@Z$0
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email protected]@@[email protected][email protected]?$c [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::runtime_error const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" ([email protected][email protected]@@QAEXXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___wassert referenced in function "public: unsigned int __thiscall adliss:Stick out tongueowerpc::L1_cache_get_set(unsigned int)const " ([email protected]@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" ([email protected][email protected]@[email protected]@V? [email protected]@[email protected]@[email protected]@[email protected][email protected]@@Z) referenced in function "public: __thiscall adl::IntroBase::IntroBase(void)" ([email protected]@@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___invalid_parameter referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_Vector_val<int,class std::allocator<int> >::~_Vector_val<int,class std::allocator<int> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "protected: void __thiscall std::vector<int,class std::allocator<int> >::_Tidy(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@IAEXXZ )
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Vector_val<int,class std::allocator<int> >::_Vector_val<int,class std::allocator<int> >(class std::allocator<int>)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] [email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const * const &)" ([email protected]@@[email protected]@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ([email protected]@@[email protected]@Z)
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall std::exception::what(void)const " ([email protected]@[email protected]@UBEPBDXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp__memmove_s referenced in function "int * __cdecl std::_Uninit_copy<class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> >(class std::_Vector_const_iterator<int,class std::allocator<int> >,class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> &,struct std::_Scalar_ptr_iterator_tag,struct std::_Range_checked_iterator_tag)" ([email protected][email protected]?$all [email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@[email protected]@YAPA [email protected][email protected]@[email protected]@@0 @[email protected]@[email protected][email protected] [email protected][email protected]@@Z)

May 31 '07

I have had to migrate down to VS2013 for my project. Originaly when I was working in VS2017 I was able to add a dll that I created (also in VS2017) without any link errors. However since I moved to VS2013 I have been unable to add error lnk2001 unresolved external symbol _orphan_all dll without getting these link errors:
(Gsi is the name of my project)

Error 4 error LNK2019: unresolved external symbol __imp___hypot referenced in function _hypot C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 5 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl sql error 9260 const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "void __cdecl std::_Debug_pointer<char>(char const *,wchar_t const *,unsigned int)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 6 error LNK2019: error lnk2001 unresolved external symbol _orphan_all external symbol "__declspec(dllimport) public: __thiscall std::_Container_base12::_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 7 error LNK2019: unresolved external error lnk2001 unresolved external symbol _orphan_all "__declspec(dllimport) public: __thiscall std::_Container_base12::~_Container_base12(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_String_val<struct std::_Simple_types<char> >::~_String_val<struct std::_Simple_types<char> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 8 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base12::_Orphan_all(void)" ([email protected][email protected]@@QAEXXZ) referenced in function "public: void __thiscall std::_String_alloc<0,struct std::_String_base_types<char,class std::allocator<char> > >::_Free_proxy(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@QAEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 9 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xbad_alloc(void)" ([email protected]@@YAXXZ) referenced in function "char * __cdecl std::_Allocate<char>(unsigned int,char *)" ([email protected]@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 10 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xlength_error(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xlen(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 11 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Xout_of_range(char const *)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Xran(void)const " ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@QBEXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 12 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::locale::id::id(unsigned int)" ([email protected]@[email protected]@[email protected]@Z) referenced in function "void __cdecl `dynamic initializer for 'public: static class std::locale::id std::num_put<char,class std::back_insert_iterator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::id''(void)" ([email protected][email protected][email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]@[email protected]@YAXXZ) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 13 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Syserror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::error_condition __thiscall std::_System_error_category::default_error_condition(int)const " ([email protected][email protected]@@[email protected]@[email protected]) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 14 error LNK2019: unresolved external symbol "__declspec(dllimport) char const * __cdecl std::_Winerror_map(int)" ([email protected]@@[email protected]) referenced in function "public: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::_System_error_category::message(int)const " ([email protected][email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z) C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Gsi\Gsi.obj Gsi
Error 15 error LNK1120: 11 unresolved externals C:\Users\h6565169\Documents\tps_trunk\G2GsiBridge\Development\Debug\Gsi.exe Gsi

I have rebuilt the dll in VS2013 and re-added it to my project thinking that that was the problem originally, however, nothing changed. My project compiles fine on it's own in VS2013 and I can add my dll to other projects in VS2013 and those work fine. They just don't seem to work together.

This page has been informative about unresolved external symbol errors but ultimately unhelpful: sql syntax error converting varchar value Any ideas on what could be going wrong or where I should look? Thanks!

Last edited on

I'm getting link errors when trying to build ogremain_d.lib. It looks like every external symbol for freeimaged.lib is not found.

Unless I am blind (which I probably am) I didn't see any special setup that needed to be done to use Freeimage except for downloading the dependencies and putting them in a new Dependencies folder at the same level as OgreMain and Samples (which I did). I verified that the file freeimaged.lib is in the Dependencies/lib/debug directory. I even tried changing my VC++ Error lnk2001 unresolved external symbol _orphan_all Library dropdown to point to said directory. Same errors still result.

I know I'm missing something stupid, but what? Any ideas? If it matters, I'm using VC++ 2008 Express.

As a P.S., I tried downloading Freeimage and compiling it separately but I couldn't do that because I was missing 'afxres.h'. Not that I think the two are related or anything, but you never know.

Also, error lnk2001 unresolved external symbol _orphan_all, here's the linker output if it helps:

Code: Select all

Last edited by muckluck on Thu Apr 10, 2008 10:59 pm, edited 1 time in total, error lnk2001 unresolved external symbol _orphan_all.

Linking static libraries from different MSVC compilers

Hello All,
I have some static libraries generated on MSVC 2005 express edition and I have to use them along with static libraries created with MSVC 2003 and create an application on MSVC2003.

example.lib - generated on MSVC2005
All other errors ms sql functions - generated on MSVC2003

I have attached the compiler options as well as the error log along.
Any tips/suggestions will be of great help.

Thanks in Advance
Rahul

Compiler Options

Od /I "D:\trial\adl\\" /I "D:\trial\adl\./boost-RC_1_34_0-07-02-13-1710" /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_CONSOLE" /D "USE_BOOST_TYPEOF" /D "USE_NO_GCC_BUILTINS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /MD /Fo"Debug/" /Fd"Debug/vc70.pdb" /W0 /c /Wp64 /Zi /TP
.\driver2.cc
]
Creating command line "cl.exe @d:\trial\StandAlone\Debug\RSP0000EB.rsp /nologo"
Creating temporary file "d:\trial\StandAlone\Debug\RSP0000EC.rsp" with contents
[
/OUT:"D:\trial\adl\.\Debug/StandAlone.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib" /LIBPATH:"D:\trial\adl\.\Debug" /NODEFAULTLIB /DEBUG /PDB:"D:\trial\adl\.\Debug/StandAlone.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /FORCE /VERBOSE


msvcrtd.lib msvcprtd.lib libcpmtd.lib example.lib AdlIssExec.lib AdlIssMain.lib AdlIssSupport.lib AdlIssLogging.lib AdlIssTransLogging.lib AdlParsing.lib AdlSupport.lib IntbvRnum.lib Intbv.lib gc.lib RNumber.lib sim-util.lib Sfpu.lib SfpuAdl.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "\trial\debug\sim-util.lib"
.\Debug\driver2.obj


Error Messages
example.lib(example.obj) : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function [email protected]@@[email protected] @@XZ
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : unmatched data error mql4 LNK2019: error lnk2001 unresolved external symbol _orphan_all external symbol "__declspec(dllimport) public: virtual __thiscall std::exception::~exception(void)" ([email protected]@@[email protected]) referenced in function [email protected]@@[email protected]?$bas [email protected][email protected]@[email protected]@[email protected]@[email protected] @[email protected]@Z$0
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const runtime error 91 ([email protected]@@[email protected][email protected]?$c [email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(class std::exception const &)" ([email protected]@@[email protected]@@Z) referenced in function "public: __thiscall std::runtime_error::runtime_error(class std::runtime_error const &)" ([email protected]@@[email protected]@@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" ([email protected]@@[email protected]) referenced in function "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" ([email protected][email protected]@@QAEXXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___wassert referenced in function "public: unsigned int __thiscall adliss:Stick out tongueowerpc::L1_cache_get_set(unsigned int)const " ([email protected]@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Has_debug_it)" ([email protected][email protected]@[email protected]@V? [email protected]@[email protected]@[email protected]@[email protected][email protected]@@Z) referenced in function "public: __thiscall adl::IntroBase::IntroBase(void)" ([email protected]@@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___invalid_parameter referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: unsigned int const & __thiscall std::vector<unsigned int,class std::allocator<unsigned int> >:Surpriseperator[](unsigned int)const " ([email protected][email protected]@[email protected]@@[email protected]@[email protected])
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" ([email protected]@@[email protected]) referenced in function "public: __thiscall std::_Vector_val<int,class std::allocator<int> >::~_Vector_val<int,class std::allocator<int> >(void)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "protected: void __thiscall std::vector<int,class std::allocator<int> >::_Tidy(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@IAEXXZ )
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Vector_val<int,class std::allocator<int> >::_Vector_val<int,class std::allocator<int> >(class std::allocator<int>)" ([email protected][email protected]@[email protected]@@[email protected]@[email protected] [email protected]@[email protected]@Z)
example.lib(example.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::exception::exception(char const canon 5b00 error code const &)" ([email protected]@@[email protected]@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ([email protected]@@[email protected]@Z)
example.lib(example.obj) : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall std::exception::what(void)const " ([email protected]@[email protected]@UBEPBDXZ)
example.lib(example.obj) : error LNK2019: unresolved external symbol __imp__memmove_s referenced in function "int * __cdecl std::_Uninit_copy<class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> >(class std::_Vector_const_iterator<int,class std::allocator<int> >,class std::_Vector_const_iterator<int,class std::allocator<int> >,int *,class std::allocator<int> &,struct std::_Scalar_ptr_iterator_tag,struct std::_Range_checked_iterator_tag)" ([email protected][email protected]?$all [email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@[email protected]@YAPA [email protected][email protected]@[email protected]@@0 @[email protected]@[email protected][email protected] [email protected][email protected]@@Z) d3derr_driverinternalerror present_result lost planet 2 May 31 '07

Ive tried 1.4.9 and 1.6.0 - tried various other things on the forums here, error lnk2001 unresolved external symbol _orphan_all, but none work. Compiling the freeimaged myself gives me a new error to do with msvcprtd.lib

Vista Business
Visual Studio 2005 SP1

Error 1 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 2 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 3 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected][email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@Z$0 freeimaged.lib
Error 4 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 5 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 6 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 7 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 8 error LNK2001: unresolved external drupal ecommerce an ajax http error occurred "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" (__i[email protected]@@[email protected]) freeimaged.lib
Error 9 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 10 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 11 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 12 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 13 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 14 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 15 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 16 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 17 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 18 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 19 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 20 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 21 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 22 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 23 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 24 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 25 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 26 error 3ds max 2009 application error unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 27 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function [email protected]@[email protected]@@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]$0 freeimaged.lib
Error 28 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 29 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 30 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 31 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 32 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 33 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 34 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 35 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 36 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 37 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 38 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) freeimaged.lib
Error 39 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 40 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 41 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 42 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 43 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 44 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" (??0_Conta[email protected]@@[email protected]@@Z) freeimaged.lib
Error 45 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 46 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 47 error LNK2019: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) referenced in function "private: int __thiscall Imf::Pxr24Compressor::compress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" ([email protected]@[email protected]@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 48 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 49 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 50 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 51 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 52 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 53 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 54 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" samsung c3300 java error Error 55 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 56 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 57 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 58 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 59 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 60 error LNK2001: unresolved external symbol "public: freebsd bootloader error sly std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 61 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 62 error LNK2001: unresolved external symbol "public: error lnk2001 unresolved external symbol _orphan_all std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 63 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 64 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 65 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 66 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 67 error LNK2001: unresolved external symbol "public: __thiscall std::_Container_base_secure::_Container_base_secure(class std::_Container_base_secure const &)" ([email protected]@@[email protected]@@Z) freeimaged.lib
Error 68 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) referenced in function "public: __thiscall std::_Tree<class std::_Tmap_traits<class Imf::Name,struct Imf::Channel,struct std::less<class Imf::Name>,class std::allocator<struct std::pair<class Imf::Name const ,struct Imf::Channel> >,0> >::const_iterator::~const_iterator(void)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@[email protected]@[email protected][email protected][email protected]@@[email protected]@@[email protected]@@[email protected][email protected]@[email protected]@@[email protected]@[email protected]) freeimaged.lib
Error 69 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 70 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 71 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 72 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 73 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 74 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 75 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 76 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 77 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Orphan_all(void)const " ([email protected][email protected]@@QBEXXZ) freeimaged.lib
Error 78 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_aux(class std::_Container_base_secure &)" ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 79 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall std::_Container_base_secure::_Swap_all(class std::_Container_base_secure &)const " ([email protected][email protected]@@[email protected]@Z) referenced in function "public: void __thiscall std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > >::swap(class std::vector<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> >,class std::allocator<class std::vector<unsigned __int64,class std::allocator<unsigned __int64> > > > &)" ([email protected][email protected][email protected][email protected][email protected]@@@[email protected]@[email protected][email protected][email protected][email protected]@@@[email protected]@@[email protected]@[email protected]@[email protected]@Z) freeimaged.lib
Error 80 fatal error LNK1120: 6 unresolved externals .\.\lib/OgreMain_d.dll
Error 178 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::~_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::~_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(void)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected]) ode.lib
Error 179 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base_secure::_Container_base_secure(void)" ([email protected]@@[email protected]) referenced in function "protected: __thiscall std::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >::_Container_base_aux_alloc_empty<class std::allocator<struct std::pair<unsigned int,unsigned int> > >(class std::allocator<struct std::pair<unsigned int,unsigned int> >)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@@[email protected]@[email protected][email protected][email protected]@[email protected]@@[email protected]@Z) ode.lib
Error 180 fatal error LNK1120: 2 unresolved externals .\.\.\lib/ReferenceAppLayer_d.dll

I have no idea what to do really, the linker/input has the freeimaged.lib there and I havent changed anything from the downloaded ogre and dependencies folders. As I said before, I have tried 1.4.9 and 1.6.0, as well as compiling the freeimage libs myself (which gave me new errors, error lnk2001 unresolved external symbol _orphan_all, that error lnk2001 unresolved external symbol _orphan_all things have already been defined).

Also, I have VC# 2008 Express recently installed; could this be relevant?

[/quote]

1 Comments

Leave a Comment