[llvm-dev] Compiling Kaleidoscope with clang++ (original) (raw)

Sudakshina Dutta via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 29 10:59:29 PDT 2021


Thank you all

On Mon, 29 Mar 2021, 15:18 Andrzej Warzynski via llvm-dev, < llvm-dev at lists.llvm.org> wrote:

Hi Sudakshina ,

It sounds like you are compiling in C++11 mode. LLVM has recently switched to C++14. makeunique is one of the features introduced in C++14. Could you try making sure that you use C++14? Here's how you set it up in CMake _ _set(CMAKECXXSTANDARD 14 CACHE STRING "")_ _ I hope that this helps, Andrzej On 29/03/2021 08:27, Sudakshina Dutta via llvm-dev wrote: > Dear all, > > As I am trying to run Kaleidoscope code from https://llvm.org > <https://llvm.org>, I am receiving following error message. > > Error : no template named 'makeunique' in namespace 'std' ; did you > simply mean 'makeunique' ? > > > Please advise. Note that I have seen a solution with cmake in some > website. As I am not very familiar with cmake, kindly elaborate the > usage more in case your solution has cmake. > > Thanks. > Sudakshina > _> ________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >


LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210329/8fc1157d/attachment.html>



More information about the llvm-dev mailing list