Giter Site home page Giter Site logo

Comments (6)

wlav avatar wlav commented on August 24, 2024

I'm in a new conda environment with no ROOT in my environment.

Then where does this lib /home/jpivarski/mambaforge/lib/libCling.so come from? Seems to be located outside any environment (which would be under $HOME/mambaforge/envs). As well, libCling during the build should live in the build directory and under cppyy_backend after install. It should not appear under mambaforge\lib.

I also really don't understand the error. It seems to suggest that libCling.so is looking for TInterpreterLookupHelper, which doesn't make any sense as the latter lives in libCoreLegacy.so. What does:

$ ldd /home/jpivarski/mambaforge/lib/libCling.so

and:

$ nm /home/jpivarski/mambaforge/lib/libCling.so |& grep _ZTIN10TClassEdit24TInterpreterLookupHelperE

show?

As for the gcc12 warnings; I'm working on them atm.; there's a simple fix in ROOT.

from cppyy.

wlav avatar wlav commented on August 24, 2024

Also to add, nothing in cppyy is going to look for TClassEdit::TInterpreterLookupHelper. If anything, it would look for CppyyLegacy::TClassEdit::TInterpreterLookupHelper: the ROOT code left over in cppyy-cling was modified to live in namespace CppyyLegacy instead of the global one to prevent clashes with user code as ROOT code is otherwise exposed through the PCH for the benefit of rootcling.

from cppyy.

wlav avatar wlav commented on August 24, 2024

gcc12 warnings have been mostly fixed in repo.

from cppyy.

wlav avatar wlav commented on August 24, 2024

The gcc12 issues should all be good now with release 3.1.0. Feel free to reopen if you find otherwise.

from cppyy.

jpivarski avatar jpivarski commented on August 24, 2024

cppyy 3.1.0: Fantastic! I'll check it out. (Sorry that I haven't gotten back to this, but when I do, I'll do a second test on a virtual machine that has never had ROOT on it.)

from cppyy.

jpivarski avatar jpivarski commented on August 24, 2024

I confirm that cppyy 3.1.2 installs without any trouble in a new conda environment. I made this environment with

mamba create --name cppyy python=3.10 awkward uproot vector numba compilers cmake make

to control which compilers are visible in the environment—a suite from conda-forge and not from system paths. (cmake probably isn't needed, but it's a weird fact that compilers installs a suite from GCC but not ld unless you also add the make package. Without make, the environment sees cc etc. from the conda environment and ld from /usr/bin, and they conflict.)

So that's great!

from cppyy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.