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

Build error with MS toolchain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • Build System

    Description

      Try to build with the ReactOS CMake and MS VC 2008/2010/2012 or 2013 toolchain doesn't work - neither with msbuild nor with jom, ninja or nmake.

      msbuild gives lots of errors like this:
      error C2857: '#include' statement specified with the /Ycstdafx.h command-line option was not found in the source file [...]

      jom/ninja/nmake stop with the following error:
      error C2859: ... is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.

      It seems that the settings for using the precompiled headers don't work.
      A quick workaround is to disable the usage of precompiled headers e. g. like in the attached patch.

      Attachments

        1. build-with-jom-output.txt
          56 kB
          Thomas Kriese
        2. build-with-msbuild-output.txt
          97 kB
          Thomas Kriese
        3. build-with-msbuild-output.txt
          97 kB
          Thomas Kriese
        4. build-with-ninja-output.txt
          36 kB
          Thomas Kriese
        5. Ms_Toolchain_Disable_Pch.patch
          0.6 kB
          Thomas Kriese
        6. out-of-source-build-with-ninja-output.txt
          47 kB
          Thomas Kriese

        Activity

          People

            bug zilla Bug Zilla
            Thomas Kriese Thomas Kriese
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: