Skip to content

Problems to install larcv #30

@Gui1402

Description

@Gui1402

Hi guys,

I am beginner in Linux and python so I have some problems with larcv installation.

I was trying to install larcv following this link :
My first attempt was using Linux Mint 19
Then I cloned the repository, used source configure.sh and make but did not work.

Error:
`
Building core...

Compiling Base...
make[1]: Entering directory '/home/guilherme/larcv2/larcv/core/Base'
<< checking dependencies>>
<< generating dict >>
In file included from input_line_12:6:
In file included from /home/guilherme/larcv2/larcv/core/Base/ConfigManager.h:18:
In file included from /home/guilherme/larcv2/larcv/core/Base/larcv_base.h:19:
In file included from /home/guilherme/larcv2/larcv/core/Base/larcv_logger.h:21:
In file included from /home/guilherme/larcv2/larcv/core/Base/LArCVTypes.h:22:
In file included from /home/guilherme/anaconda3/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../../../include/c++/4.8.3/climits:41:
In file included from /home/guilherme/anaconda3/include/limits.h:125:
In file included from /home/guilherme/anaconda3/etc/cling/lib/clang/3.7.0/include/limits.h:37:
/usr/include/limits.h:145:17: error: token is not a valid binary operator in a
preprocessor subexpression
#if __GLIBC_USE (IEC_60559_BFP_EXT)
~~~~~~~~~~~ ^
Error: rootcling: compilation failure (/home/guilherme/larcv2/build/lib/libLArCVBase784ddeac21_dictUmbrella.h)
/home/guilherme/larcv2/Makefile/GNUmakefile.CORE:41: recipe for target '/home/guilherme/larcv2/build/Base/BaseDict.cxx' failed
make[1]: *** [/home/guilherme/larcv2/build/Base/BaseDict.cxx] Error 1
make[1]: Leaving directory '/home/guilherme/larcv2/larcv/core/Base'
GNUmakefile:34: recipe for target 'obj' failed
make: *** [obj] Error 2
`

So my next attempt was to use Ubuntu 16.04 and did not have problems to install larcv but when I import larcv on Jupyter(or spyder) the kernel crashed.

Did someone have the same problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions