PDA

View Full Version : Visual Studio 2012



Rumpel
09-19-2012, 04:43 PM
hey guys,

first of, great framework. i noticed however that vs2012 does not seem to be supported yet (no surprise considering its age). could i maybe get an eta on that, or better yet, some kind of workaround?


anyways, keep up the good work

edit: here is the log, in case it helps somehow

1>------ Build started: Project: Test, Configuration: Debug Win32 ------
1> Source.cpp
1>clanCore-static-mt-debug.lib(string_ref8.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string8.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_format.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(console.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(console_window.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(datetime.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(setup_core.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_data8.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_ref16.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(exception.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string16.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(console_window_generic.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(detect_cpu_ext.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(thread_local_storage.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(utf8_reader.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_data16.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(system.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(mutex.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(thread_local_storage_impl.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(core_global.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(init_win32.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanApp-static-mt-debug.lib(clanapp.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in Source.obj
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "private: static void __cdecl std::locale::facet::_Facet_Register(class std::locale::facet *)" (?_Facet_Register@facet@locale@std@@CAXPAV123@@Z) referenced in function "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ)
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) referenced in function "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Mutex::~_Mutex(void)" (??1_Mutex@std@@QAE@XZ) referenced in function __unwindfunclet$??0?$basic_streambuf@DU?$char_trai ts@D@std@@@std@@IAE@XZ$0
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "public: __thiscall std::_Mutex::_Mutex(void)" (??0_Mutex@std@@QAE@XZ) referenced in function "protected: __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@ @IAE@XZ)
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Lock(void)" (?_Lock@_Mutex@std@@QAEXXZ) referenced in function "public: virtual void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Lock(void)" (?_Lock@?$basic_streambuf@DU?$char_traits@D@std@@@ std@@UAEXXZ)
1>clanCore-static-mt-debug.lib(string_help.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_Mutex::_Unlock(void)" (?_Unlock@_Mutex@std@@QAEXXZ) referenced in function "public: virtual void __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::_Unlock(void)" (?_Unlock@?$basic_streambuf@DU?$char_traits@D@std@ @@std@@UAEXXZ)

Judas
09-21-2012, 01:44 PM
The workaround is fairly simple. Compile ClanLib and its dependency libraries yourself. :)

Why C++ (or Microsoft themselves) can't standardize on symbol mangling for the last 20 years is a mystery to me, but then again with the speed the C++ committee works maybe it will be done real soon now. :)

rombust
09-22-2012, 06:22 AM
Note, a standardised dependency source code download is available at the bottom of: http://clanlib.org/wiki/ExternalLibraries