make error on MAC Sierra
rootana giovankl$ make mkdir -p obj c++ -g -O2 -Wall -Wuninitialized -I./include -DHAVE_LIBZ -DHAVE_ROOT -pthread -std=c++11 -m64 -I/Applications/root_v6.08.00/include -DHAVE_ROOT_XML -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_MIDAS -DOS_LINUX -Dextname -I/Users/giovankl/packages/midas/include -DOS_LINUX -DOS_DARWIN -DHAVE_LIBNETDIRECTORY -DHAVE_XMLSERVER -o obj/RootLock.o -c libNetDirectory/RootLock.cxx libNetDirectory/RootLock.cxx:86:9: error: use of undeclared identifier 'TThread' TThread::Self()->Sleep(0, 1000000); // sleep in ns ^ 1 error generated.
Comments (3)
-
-
Hi, thanks for reporting this error. Include of TThread.h was missing from RootLock.cxx. Fixed now. BTW, I have root 6.06.08, did not see this error. Should update my ROOT. Closing this bug report. Please reopen of problem still there. K.O.
-
- changed status to resolved
Was missing include of TThread.h. Fixed. K.O.
- Log in to comment
I installed an older version of root 5.34.36 and rootana compiled with warnings but no errors.