Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting up CERN ROOT with an IDE

I'm interested in setting up an IDE (preferably Eclipse or Netbeans) for a project that uses C++ and ROOT and have it be able to compile for me. Is this possible?

Source code is available for ROOT, so there should be some way of hooking these things together...

like image 702
Ryuho Kudo Avatar asked Nov 06 '22 07:11

Ryuho Kudo


1 Answers

Most of the ROOT users I know use emacs or vi.

That said, if you can specify the build, this should be possible. Make use of root-config commands to specify the paths and libraries.

ROOT_HEADERS_PATH=$(root-config --cflags)

and so on. Just root-config will give you a list of accepted arguments.

I'd guess that the most likely stumbling block for this is the generation of the rootcint files for classes that you want to incorporate into the root TObject tree and use in the cint shell.

like image 76
dmckee --- ex-moderator kitten Avatar answered Nov 09 '22 16:11

dmckee --- ex-moderator kitten