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
1 answer

Can i debug with Cling? Any API?

Does cling (as embeddable interpreter) support code debugging? Any API?
4ntoine
  • 19,816
  • 21
  • 96
  • 220
1
vote
1 answer

cling - prevent exiting when piping in data

I'm adding a repl: option using cling to my makefile which will drop me into a repl to play around with my current project. I created an cling_init.cpp which pulls in all the headers and does some basic setup. Then in my Makefile: repl: cat…
Ilia Choly
  • 18,070
  • 14
  • 92
  • 160
0
votes
1 answer

Cling: Looking for Opensource code for uPnp ContentDirectory

I'm trying to build a uPnP control point for controlling audio and I am using Java the cling library. To browse the music on the server requires the ContentDirectory service, cling provides the api to access this but doesnt provide any classes to…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
0
votes
1 answer

Localization (multilateration) code producing the same coordinates every time?

EDIT: The localization is always about x=1980.000032943933547358028590679168701171875, y=3191.99997642902735606185160577297210693359375 I've written the following code to solve the Time Delay of Arrival problem. That is, given the location of three…
10GeV
  • 453
  • 2
  • 14
0
votes
0 answers

cling compile error with MinGW: exception handling

I am trying to compile cling with MinGw on Windows 7. It fails at 90% with the following error: C:\cling\src\tools\cling\lib\Interpreter\Exception.cpp:44:62: error: exception handling disabled, use -fexceptions to enable …
Benjamin
  • 286
  • 3
  • 12
0
votes
1 answer

How to remove cling?

After run clang --version on my MAC OS 10.15 Catalina, I got this result: clang version 5.0.0 (http://root.cern.ch/git/clang.git 7fd3024be56d751958d68ea3abeca4ab2f89dd91) (http://root.cern.ch/git/llvm.git…
user3153765
  • 373
  • 4
  • 14
0
votes
0 answers

How to fix instant segfault on Cling & LLVM Cmake include?

I am currently doing a project using cling to compile a file. However, I have a segmentation fault when building the project. LLVM seems to be the cause. I've tried including Cling and LLVM using Cmake. For Cling, it seems to work, but LLVM…
Narice
  • 311
  • 3
  • 6
0
votes
1 answer

C++ jupyter kernel death

I have the following traceback when I start a c++14 jupyter kernel using cling. I downloaded cling_2018-01-11_mac1012.tar.bz2 from https://root.cern.ch/download/cling/ Then added bin to the path. To do that I opened a terminal and entered sudo…
AngusTheMan
  • 564
  • 1
  • 6
  • 15
0
votes
3 answers

Jupyter: how to implement image viewing functionality in new kernel

I'm currently playing with Cling(C++ interpreter) and it's jupyter kernel and I would want to display an image inside Jupyter notebook using some kind of C++ function similar to IPython.display. What would be the best approach for…
Liberus
  • 138
  • 1
  • 8
0
votes
0 answers

cling kernel for jupyter on MacBook Air

I built cling on my MacBook Air(Mid2013, macOS10.12.4). My jupyter version is 4.3.0. I followed instructions on https://github.com/vgvassilev/cling/tree/master/tools/Jupyter and the installation ended without an error. However, when I tried to make…
0
votes
2 answers

How can I get the URI from the Cling Renderer?

I've now made my cling renderer work after some efforts, that is, the media commanded by a remote control point, can be played/rendered by my renderer(run on Linux, using cling library). The next I want to achieve is to do something interesting with…
0
votes
0 answers

Cling retrieving descriptor from subnet

I am trying to use cling upnp to get devices and use in my network. I can find and get the devices which are on same subnet (ex. both devices-client&server- on 10.6.x.x) but when I force one to use for example 196.168.x.x and the other one is still…
Sezertt
  • 105
  • 9
0
votes
2 answers

Search only for my Services

I am writing a upnp application using Cling library. To get my Services/Server I do something like this. public void searchForServers( ) { /* do stuff.... */ // Search for new devices …
lg.lindstrom
  • 776
  • 1
  • 13
  • 31
0
votes
1 answer

Android Cling (DLNA) AVTransport

I have a problem when using Cling to stream image to TV that I can stream image to my TV but the image size not is full screen. How can I do?
Eagle
  • 451
  • 2
  • 5
  • 14
0
votes
1 answer

Action with no state variable

Is there a way to specify an @UpnpAction with no associated @UpnpStateVariable in Cling?. I tried something like public class ApplicationExecutionServer { @UpnpAction public void anAction() { // do something } } but got an…
Carlos Alegría
  • 374
  • 1
  • 3
  • 13