Questions tagged [cling]

Cling is an interactive C++ interpreter, built on the top of LLVM and Clang libraries.

Cling is an interactive C++ interpreter, built on the top of LLVM and Clang libraries.

50 questions
1
vote
0 answers

Cling UPnP replacement

I have an Android app that uses the Cling/UPnP package. Unfortunately, that package is not longer maintained and has dependencies on ancient versions of other software. Q: Is there an alternative? I've searched for a LONG time and haven't found any…
Kevin Gilbert
  • 671
  • 10
  • 18
1
vote
0 answers

How can I use LLVM IR within Cling (or another REPL-like interactively)?

I'm learning LLVM IR, and would like to use it interactively. Cling supports interactive Clang, and works very well. Cling supports the asm directive, allowing you to use native ASM interactively. Cling also advertises to support "any language…
SRobertJames
  • 8,210
  • 14
  • 60
  • 107
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
1
vote
3 answers

cling on Jupyter on Windows: Kernel cannot start

Background: I am trying to install the cling c++ interpreter here. I am on a Windows and have had Anaconda running well, Jupyter notebook also working fine with the existing Python kernels. The installation process was smooth on the surface but…
bluk
  • 400
  • 6
  • 15
1
vote
0 answers

Android implicit intent for playing video with subtitles from UPnP server to VLCMedia palyer

Currently i'm in process of making android application which should have feature of playing movie with subtitle from upnp server to vlc media player on android. Problem is that vlc media player doesn't recognize any subtitle associated with media.…
Wartux
  • 11
  • 2
1
vote
1 answer

#pragma link for template function

I use cling and would like to see my templates function into environment, so after loading (.L) of my class I want to be able to call my template function. I can do this for such template: template static void…
bdrum
  • 31
  • 5
1
vote
1 answer

Too many threads using "cling UPnP library"

I'm using Fabric / Crashlytics to track my app crashes and I have this crash: Fatal Exception: java.lang.OutOfMemoryError: thread creation failed at java.lang.VMThread.create(VMThread.java) at java.lang.Thread.start(Thread.java:1050) at …
Artificioo
  • 704
  • 1
  • 9
  • 19
1
vote
0 answers

cling dlna media server example

I want to create my own DLNA media server in JAVA (preferably using CLING, but any other stable library is fine as well). I've been searching for a good example, tutorial, training on how to do so, but was unable to find anything. Would anybody have…
1
vote
1 answer

cling Jupyter TypeError: readlink: can't specify None for path argument

I guess I need some support on fighting with the following issue: [I 01:32:06.539 NotebookApp] KernelRestarter: restarting kernel (4/5) WARNING:root:kernel 81762983-2e89-47dc-a6f6-5f36d4f25865 restarted Traceback (most recent call last): File…
1
vote
0 answers

Embedding Cling in C++ app

I was on this page trying to embedding cling in a C++ app. I am on ArchLinux, and I installed cling via AUR (so I have everything in /opt/cling, and when I try to launch the compile command they show on the site, I get a monster undefined reference…
tforgione
  • 1,234
  • 15
  • 29
1
vote
1 answer

Compiling Cling with Visual Studio

I am trying to build cling for Windows using Visual Studio. After all the steps were completed as shown below, I don't seem to have the cling.exe in the directory /cling/build/Debug/bin for some reason. There's a clang.exe, clang++.exe and a bunch…
jamarshon
  • 11
  • 3
1
vote
0 answers

How to setup port mappings with the Cling UPnP library

Having looked through the NAT Traversal Doc for Cling, I find myself with these questions: In the second example where does the mapping array come from? Can I (How to) query, after the setup, for the external port mapped to (host,…
Keynan
  • 1,338
  • 1
  • 10
  • 18
1
vote
2 answers

How to use Cling to tinker with a large C++ library in a REPL?

Cling sounds like a great way to tinker around with a the API of a large library for learning purposes. Unfortunately, there is no documentation or tutorials on how to even get started with this. I kept running into missing symbols, and having to…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
1
vote
1 answer

C++ cling - any function like python's dir on the repl?

Is there a way to list an objects properties and methods like python's dir? https://docs.python.org/2/library/functions.html#dir
MKaras
  • 2,063
  • 2
  • 20
  • 35
1
vote
1 answer

Cling as embedded c++ interpreter?

I'd like to use Cling as embedded c++ interpreter in my app. At this time it's designed to get console input and provide output. How can it be changed in order to become embedded - to get input stream and provide output stream that can be used in my…
4ntoine
  • 19,816
  • 21
  • 96
  • 220