You are here: Foswiki>T2K Web>ROOTResources (17 Mar 2017, AndrewCudd)EditAttach

-- AndrewCudd - 12 Jun 2015

ROOT Resources

This page contains a number of useful resources, links, tutorials, and help on the general use of the ROOT framework. They are loosely grouped by topic and / or type of resource. The page should occasionally be updated with new information or resources. The content listed below is by no means exhaustive, there are many, many other resources available -- Google is your friend. This page just represents things that group members have found useful.


ROOT Style File

Attached to this page is a header for a custom ROOT Style. Include the header into your code and call the setBetterStyle() function to apply the style, or copy and paste the code where you need it. This is mainly an example of common style functions and cleans up the default style a little.

Installing ROOT v5-30.02

This old version of ROOT may have some issues installing on a newer Linux system, preventing the building of ROOT.

fchmod and rmkbuild

In the file /path/to/root/build/rmkdepend/main.c make the following change:

Edit this #else to the following #elif
//Old
#else
extern int fchmod(int, int);
//New
#elif !defined(__GLIBC__) || __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16)
extern int fchmod(int, int);

rusage incomplete type

In the file /path/to/root/core/unix/src/TUnixSystem.cxx add the following include:
#include<sys/resource.h>

XrdOssAio.cc :error 'O_SYNC'

In the file /path/to/root/net/xrootd/src/xrootd/src/XrdOss/XrdOssAio.cc add the following include before any #ifdef:

#include <fcntl.h>

libAfterImage Pointer

This requires a couple file changes which are summarized in the .diff file attached to this page.

Links

Topic attachments
I Attachment Action Size Date Who Comment
better_style.hh better_style.h manage 3.1 K 17 Mar 2017 - 17:55 AndrewCudd ROOT Style File
root-libpng15.diffdiff root-libpng15.diff manage 1.3 K 17 Feb 2016 - 20:01 AndrewCudd  
Topic revision: r4 - 17 Mar 2017, AndrewCudd
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback