Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17423

Building with MSVC IDE is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.15
    • Component/s: None
    • Labels:

      Description

      Warnings:

      22>R:\src\dev\sdk\lib\3rdparty\libwine\debug_ros.c(30,1): warning C4273: 'libwine__strdup': inconsistent dll linkage
      22>R:\src\dev\sdk\include\crt\string.h(181,3): message : see previous definition of 'libwine__strdup' (compiling source file R:\src\dev\sdk\lib\3rdparty\libwine\debug_ros.c)
      ...
       
      27>   Creating library R:/build/dev/devenv/dll/win32/msvcrt/libmsvcrt_tmp.lib and object R:/build/dev/devenv/dll/win32/msvcrt/libmsvcrt_tmp.exp
      27>cisqrt.obj : warning LNK4006: __CIsqrt already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>cisin.obj : warning LNK4006: __CIsin already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>cipow.obj : warning LNK4006: __CIpow already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>cilog.obj : warning LNK4006: __CIlog already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>cicos.obj : warning LNK4006: __CIcos already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CItan already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIsinh already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIcosh already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CItanh already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIasin already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIacos already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIatan already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIatan2 already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIexp already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIlog10 already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>ci.obj : warning LNK4006: __CIfmod already defined in libmsvcrt_tmp.lib(msvcrt.dll); second definition ignored
      27>libmsvcrt.vcxproj -> R:\build\dev\devenv\dll\win32\msvcrt\Debug\libmsvcrt.lib
      

      and errors:

      29>unattended.cpp
      29>appview.obj : error LNK2019: unresolved external symbol __ftol2_sse referenced in function "public: int __thiscall CAppScrnshotPreview::GetRequestedWidth(int)" (?GetRequestedWidth@CAppScrnshotPreview@@QAEHH@Z)
      29>loaddlg.obj : error LNK2019: unresolved external symbol __chkstk referenced in function "public: static unsigned int __stdcall CDownloadManager::ThreadFunc(void *)" (?ThreadFunc@CDownloadManager@@SGIPAX@Z)
      29>conutils.lib(outstream.obj) : error LNK2001: unresolved external symbol __chkstk
      29>libmsvcrt.lib(dbgrpt.obj) : error LNK2001: unresolved external symbol __chkstk
      29>libmsvcrt.lib(wcrtexe.obj) : error LNK2019: unresolved external symbol __alloca_probe_16 referenced in function ___tmainCRTStartup
      29>R:\build\dev\devenv\base\applications\rapps\Debug\rapps.exe : fatal error LNK1120: 3 unresolved externals
      29>Done building project "rapps.vcxproj" -- FAILED.
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zefklop jgardou
                Reporter:
                learn_more Mark Jansen
              • Votes:
                2 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: