Skip to content

Can't Build successfully on Windows due to errors relating to intrinsic emulation #7

Description

@AdamJMiles

Hi,

I followed the instructions on the readme and I'm running into errors during the 2-Build.bat process that I'm unable to figure out how to fix immediately. The errors are of the form:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(277,30): error C3861: 'emu_mm256_loadu_si256': identifier not found [J:\OMM-Samples\_Build\External\NRD\NRD.vcxproj]
  (compiling source file '../../../../../External/NRD/Source/InstanceImpl.cpp')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(399,30): error C3861: 'emu_mm256_loadu_si256': identifier not found [J:\OMM-Samples\_Build\External\NRD\NRD.vcxproj]
  (compiling source file '../../../../../External/NRD/Source/InstanceImpl.cpp')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(400,30): error C3861: 'emu_mm256_loadu_si256': identifier not found [J:\OMM-Samples\_Build\External\NRD\NRD.vcxproj]
  (compiling source file '../../../../../External/NRD/Source/InstanceImpl.cpp')

C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(277,30): error C2664: 'emu__m256i emu_mm256_loadu_si256(const emu__m256i *)': cannot convert argument 1 from 'const _
_m256i *' to 'const emu__m256i *' [J:\OMM-Samples\_Build\External\NRIFramework\NRIFramework.vcxproj]
  (compiling source file '../../../../../External/NRIFramework/Source/SampleBase.cpp')
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(277,65):
      Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
      J:\OMM-Samples\External\NRIFramework\External\MathLib\IntrinEmu.h(678,5):
      see declaration of 'emu_mm256_loadu_si256'
      C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\wchar.h(277,30):
      while trying to match the argument list '(const __m256i *)'

Are you able to assist?

Thanks,

Adam

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions