Set Up Clang [message #1815619] |
Mon, 07 October 2019 10:19 |
Markus Weißflog Messages: 1 Registered: October 2019 |
Junior Member |
|
|
Hello,
I want to build an existing Visual Stuidio C++ Project with Eclipse and Clang on Windows 10.
The Eclipse is Photon R 64bit Version 4.8.0.
I'm using LLVM 8.0.1 win64 and MinGW64 (x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z).
My Setup procedure was:
- Unzip the MinGW64 archive to C:\mingw64 and adding C:\mingw64\bin to PATH.
- Running the Setup of LLVM, installing it to C:\LLVM and adding C:\LLVM\bin to PATH.
- Installing the packages C/C++ Development Tools and C/C++ LLVM-Family Compiler Support in Eclipse.
- In Preferences -> LLVM I've added C:\LLVM\bin as LLVM Installation folder and C:\mingw64\x86_64-w64-mingw32\include as Include directory (see Preferences_LLVM.png).
- Project toolchain settings are LLVM with Clang (Windows) (MinGW).
When building I get several errors like:
C:\LLVM\lib\clang\8.0.1\include\mmintrin.h:143:43: error: cannot initialize a parameter of type '__attribute__((__vector_size__(4 * sizeof(short)))) short' (vector of 4 'short' values) with an rvalue of type '__v4hi' (aka 'short')
return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2);
Please can anyone tell me if my setup is correct and how to solve this errors?
Thank you!
[Updated on: Tue, 08 October 2019 05:04] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02755 seconds