Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-7114

Autoparse fails if TSystem::ChangeDirectory is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.02/08
    • 6.04.00
    • Cling, Core Libraries
    • None
    • linux/mac

    Description

      create this test directory and move into it:

      mkdir test
      cd test
      mkdir someDir

      then take these two files and create a dictionary:
      MyClassInc.h

      class MyClass{};

      MyClass.h

      #include "MyClassInc.h"

      genreflex MyClass.h --rootmap al.rootmap ; clang++ -o libMyClass.so MyClass_rflx.cpp `root-config --cflags --libs` -fPIC -shared

      Autoparsing fails unexpectedly at the prompt if one fires root as follows and inputs the following commands:

      ROOT_INCLUDE_PATH=`pwd` LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd` root -b
      root[0]  gSystem->ChangeDirectory("someDir/");
      root[1]  MyClass a;

      Attachments

        Activity

          People

            axel Axel Naumann
            dpiparo Danilo Piparo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: