Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Set Up Clang(Eclipse Photon 4.8.0 with LLVM/Clang and MinGW on Windows 10)
Set Up Clang [message #1815619] Mon, 07 October 2019 10:19
Markus Weißflog is currently offline Markus WeißflogFriend
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

Previous Topic:Eclipse Plugin - Save settings
Next Topic:Setting memory view's radix/endianness
Goto Forum:
  


Current Time: Thu Apr 25 08:54:58 GMT 2024

Powered by FUDForum. Page generated in 0.02755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top