Results 1 to 3 of 3

Thread: Visual Studio 2012

  1. #1

    Default Visual Studio 2012

    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
    Code:
    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_traits@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)
    Last edited by Rumpel; 09-19-2012 at 05:01 PM. Reason: append build log

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    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.

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Note, a standardised dependency source code download is available at the bottom of: http://clanlib.org/wiki/ExternalLibraries

Similar Threads

  1. Visual studio plugin for c++ express
    By rasen58 in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 08-20-2012, 08:48 AM
  2. Visual Studio 2008 Settings
    By Chris Peterson in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 07-21-2011, 06:28 PM
  3. Trying to compile ClanLib 8.0 in Visual Studio 6.0
    By antikhaoz in forum Official ClanLib SDK Forums
    Replies: 11
    Last Post: 07-21-2009, 08:08 PM
  4. Visual Studio .NET
    By alexv1 in forum Official ClanLib SDK Forums
    Replies: 23
    Last Post: 06-10-2009, 05:36 PM
  5. Visual Studio Express c++ 8 help ??
    By babyvegas in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 06-19-2008, 07:11 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •