Closed ndevenish closed 13 years ago
Compilation doesn't appear to work on root 5.28: $ make Unknown argument "--nostubs"! Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-] [--arch] [--platform] [--dicttype] [--config] [--features] [--svn-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help] g++ -O2 -pipe -Wall -W -Woverloaded-virtual -D_REENTRANT -pthread -m64 -I/usr/local/root-5.28-x86_64/include -I/include -I/include -c src/Run.cxx -o src/Run.o src/Run.cxx:9:17: error: Run.h: No such file or directory
Two problems here:
--nostubs
-I/include
-I./include
This was fixed by @ndevenish by moving build procedure to CMake. Closed by: 7fa169928c59155f18c3426bffe976416b14d88b
Thanks Nick! :)
Compilation doesn't appear to work on root 5.28: $ make Unknown argument "--nostubs"! Usage: root-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--auxcflags] [--ldflags] [--new] [--nonew] [--libs] [--glibs] [--evelibs] [--bindir] [--libdir] [--incdir] [--etcdir] [--noauxcflags] [--noauxlibs] [--noldflags] [--has-] [--arch] [--platform] [--dicttype] [--config] [--features] [--svn-revision] [--python-version] [--cc] [--cxx] [--f77] [--ld ] [--help]
g++ -O2 -pipe -Wall -W -Woverloaded-virtual -D_REENTRANT -pthread -m64 -I/usr/local/root-5.28-x86_64/include -I/include -I/include -c src/Run.cxx -o src/Run.o
src/Run.cxx:9:17: error: Run.h: No such file or directory
Two problems here:
--nostubs
did, but it doesn't appear to do that any more-I/include
twice, instead of-I./include
or even an absolute path, definitely looks like an error