std::cout doesn't work on kernel C++ 14/17
davidxzfei opened this issue · comments
davidxzfei commented
#include <iostream>
std::cout << "hello" << std::endl;
The above code is only working in kernel C++ 11. I tried to switch to C++ 14 or C++ 17, it doesn't print anything. I also checked the process after I switch to C++17, the process is:
/home/ubuntu/anaconda3/envs/cling/bin/xcpp -f /home/ubuntu/.local/share/jupyter/runtime/kernel-7db62331-751f-42de-b11e-280ed8abcf0a.json -std=c++17
I tried to update xeus-cling and notebook with conda, but it still not working.
I am working on ubuntu 22.04, ARM64.
davidxzfei commented
I found the C++17 kernel cannot startup on that machine.