Questions tagged [xeus-cling]

A Jupyter kernel for C++ based on the C++ interpreter cling and the native implementation of the Jupyter protocol xeus.

xeus-cling is a Jupyter kernel for C++ based on the C++ interpreter cling and the native implementation of the Jupyter protocol xeus.

20 questions
4
votes
1 answer

How to fix a `xeus-cling` kernel runtime error on Mac OS (C++ Jupyter kernel stdlib errors)

I installed xeus-cling with the usual conda install xeus-cling and get the following runtime errors when I go to start a C++ kernel (11, 14 and 17 versions) in the Jupyter notebook: /opt/anaconda3/envs/cling/include/c++/v1/stdlib.h:143:12: error: no…
3
votes
1 answer

How is Xeus-cling interpreting C++? Practical, User explanation -forgotten defs and function defs not allowed

Running xeus-cling(v0.13.0) under jupyter notebooks allows to run C++ code in code cells, sometimes.. Note: this is an issue with Jupyter notebook implementation of cling, Xeus -running cling at the command line does not have these problems. For…
Don Slowik
  • 965
  • 10
  • 18
3
votes
2 answers

Running C++ Jupiter Notebook in VSCode Insiders

I have installed xeus, xeus-cling and jupyter extension. I changed the kernel to one of the C++ versions, the cell language to C++ but when I click run the cell never outputs. Can someone please help me solve this?
3
votes
1 answer

Why activating Jupyter with xeus-cling fails

I am trying to activate Jupiter with xeus-cling C++ kernel on windows 10 I did the following: Installed a brand new Miniconda Created a new environment Installed Jupyter (unisng conda install) Installed xeus-cling using the command : conda install…
user3315504
  • 1,055
  • 2
  • 12
  • 17
2
votes
1 answer

How can I include OpenBLAS and LAPACK manually in xeus-cling binder?

I'm trying to create a C++ Jupyter Notebook using xeus-cling and mybinder. I wanted to include the library armadillo and I was able to do that locally in a Jupyter Notebook as follows: #pragma cling add_library_path("armadillo-10.7.5") #pragma cling…
2
votes
3 answers

C++14 no visible after installing xeus-cling in Jupyter (Ubuntu 18.04 - Anaconda)

I followed the installation of the xeus-cling (created an env, activated,installed xeus-cling there) and when I want to select the C++14 kernel in a jupyter notebook it only appears Python3. What am I doing wrong?
1
vote
0 answers

Cannot find the xeus-cling kernel in Jupyter notebook

I would like to try the C++ kernel in Jupyter notebooks. I am on Ubuntu 22.04.01. The existing answer cover Windows which was not supported at the time. I already have a bunch of conda environments, mainly Python but a couple of Julia kernels as…
user37292
  • 248
  • 2
  • 12
1
vote
2 answers

Podman/Buildah Install/Use cling-xeus

I am trying to get xeus-cling to work on a OCI image, currently I am using buildah + podman. I run into two problems I try to create an environment with mamba/conda, however it needs conda/mamba init bash too run then to restart the shell. But its…
1
vote
0 answers

Using a C/C++ block inside a Jupyter Python notebook

I'm trying to put together a notebook showing ideas in many different languages. I'm able to do Python, Ruby, Javascript, Scala, and Java (and a few more, from BeakerX), and while I can make a C/C++ notebook (using Xeus-Cling) it's unclear to me if…
Narfanator
  • 5,595
  • 3
  • 39
  • 71
1
vote
0 answers

how to install xeus-cling with archiconda3?

I want to use C/C++ on jupyter notebook so I installed archiconda3 on my development board which has arm64 architecture. After create and activate an conda environmemt, when I try to install xeus-cilng with conda install -c conda-forge xeus-cling I…
rawuser
  • 11
  • 1
1
vote
2 answers

How do I use boost with the xeus-cling jupyter kernel?

I'm running Pop!_OS (ubuntu derivative) and apt installed boost (libboost-all-dev) from the default repositories. I know it has installed properly since I can compile and run the simple boost odeint example with GCC. However when I tried to run the…
Aaron de Windt
  • 16,794
  • 13
  • 47
  • 62
0
votes
0 answers

C++ Jupyter-lab

Installed miniconda, created env, trying to install xeus-cling - conda install xeus-cling -c conda-forge Gives an error message: Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve.…
0
votes
2 answers

How to include libgmp to xeus-cling?

I am trying to run the following code: #pragma cling add_library_path("/usr/lib/x86_64-linux-gnu") #pragma cling add_include_path("/usr/include") #pragma cling add_include_path("/usr/include/x86_64-linux-gnu") #pragma cling…
0
votes
0 answers

error: function definition is not allowed here in xeus-cling

I recently installed xeus-cling using below command, conda install xeus-cling -c conda-forge It is working fine for other function but for below function I am getting error, pair max_min_array(int *arr, int n) { int min = arr[0], max =…
PSKP
  • 1,178
  • 14
  • 28
0
votes
1 answer

Xplot for jupyter: "no template named decay_t in namespace std"

I am trying to include a couple xplot files, but I get this very cryptic error message: Does anyone know why? I have already installed xplot and xeus-cling via conda.
user13830821
1
2