jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.01k stars 294 forks source link

cling error #486

Open qlibp opened 1 year ago

qlibp commented 1 year ago

Installation works fine with miniconda, but got an error on cling: is_trivially_destructible is not implemented system: macos monterey 12.2.1

/Users/xxx/miniconda3/envs/cling/bin/../include/c++/v1/__type_traits/is_trivially_destructible.h:34:2: error: is_trivially_destructible is not implemented
#error is_trivially_destructible is not implemented
 ^
#include "cling/Interpreter/RuntimeUniverse.h"
namespace cling { class Interpreter; namespace runtime { Interpreter* gCling=(Interpreter*)0x7ff7b6230580;
RuntimeOptions* gClingOpts=(RuntimeOptions*)0x7ff7b62306dc;}}
extern "C" int __cxa_atexit(void (*f)(void*), void*, void*) ;
#define __dso_handle ((void*)0x7ff7b6230580)
extern "C" int atexit(void(*f)())  { return __cxa_atexit((void(*)(void*))f, 0, __dso_handle); }
extern "C" int at_quick_exit(void(*f)())  { return __cxa_atexit((void(*)(void*))f, 0, __dso_handle); }
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
Added include paths:

Any suggestions on fixing this? Am I missing some dependencies in my system