xplot icon indicating copy to clipboard operation
xplot copied to clipboard

Xplot Downgrades All My C++ Packages, C++ Kernels Crash

Open cgbsu opened this issue 2 years ago • 1 comments

Hello,

I tried installing xplot, I am using a OCI container, it seems to download all my packages, including gcc 9.4 -> 7.5, and cling. When I try to run a C++ kernel in Jupyter Lab it crashes, in the console I see No such file or directory #include <features.h>

Trying to build from source, but getting

In file included from /home/jovyan/xplot/src/xaxes.cpp:1:
/home/jovyan/xplot/include/xplot/xaxes.hpp:42:28: error: 'xw::xholder' is not a template
   42 |         using scale_type = xw::xholder<xscale>;
      |                            ^~
make[2]: *** [CMakeFiles/xplot.dir/build.make:63: CMakeFiles/xplot.dir/src/xaxes.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/xplot.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Thank you,

  • Chris

cgbsu avatar Apr 22 '22 20:04 cgbsu

^^ That's my student account above, I just spent a few hours trying to get this to build from source in a container again, I browsed the xwidgets source code, xw::holder has a templated constructor but is not templated itself, it seems its out of date wrt xwidgets

TheFloatingBrain avatar May 26 '22 06:05 TheFloatingBrain