(original) (raw)
Thank you all
On Mon, 29 Mar 2021, 15:18 Andrzej Warzynski via llvm-dev, <llvm-dev@lists.llvm.org> wrote:
Hi Sudakshina ,
It sounds like you are compiling in C++11 mode. LLVM has recently
switched to C++14\. make\_unique 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(CMAKE\_CXX\_STANDARD 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 'make\_unique' in namespace 'std' ; did you
\> simply mean 'make\_unique' ?
\>
\>
\> 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@lists.llvm.org
\> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
\>
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
LLVM Developers mailing list
llvm-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev