Cannot open precompiled header file: include/precompile.pch

Hi there,
I am trying to compile root512e on Windows with Visual C++ Express.
I’ve got the following error message:

bin/rmkdepend.exe -R -fmetautils/src/TClassEdit.d -Y -w 1000 – -nologo -FIw32pr
agma.h -MDd -GR -EHa -RTC1 -Iinclude -D_WIN32_WINNT=0x0400 -D__cplusplus – me
tautils/src/TClassEdit.cxx
cl -Zi -nologo -FIw32pragma.h -MDd -GR -EHa -RTC1 -Iinclude -D_WIN32_WINNT=0x0
400 -DUSEPCH -Yuw32pragma.h -Fpinclude/precompile.pch -Fometautils/src/TClassEd
it.o -c metautils/src/TClassEdit.cxx
TClassEdit.cxx
metautils/src/TClassEdit.cxx : fatal error C1083: Cannot open precompiled header
file: ‘include/precompile.pch’: No such file or directory
make: *** [metautils/src/TClassEdit.o] Error 2

I suppose there is something wrong in my setup as “precompile.pch” has not been generated, but I could not find what so far.
Any clue?

Thanks for your help!

JM

Hi,

Strange… have you seen this info at build time :

Building precompiled header…
bin/rmkdepend.exe -R -fbase/src/precompile.d.tmp -Y -w 1000 – -nologo -FIw32pragma.h -MDd -GR -EHa -W3 -RTC1 -Iinclude -D_WIN32_WINNT=0x0400 -DUSEPCH -D__cplusplus – include/precompile.h
sed -e ‘s,include/precompile.o,include/precompile.pch,’
-e ‘s,include/precompile.d,base/src/precompile.d,’ base/src/precompile.d.tmp

base/src/precompile.d
rm -f base/src/precompile.d.tmp
rm -f include/precompile.pch
cl -DUSEPCH -nologo -FIw32pragma.h -MDd -GR -EHa -W3 -RTC1 -Iinclude -D_WIN32_WINNT=0x0400 -Zi -Ycw32pragma.h -Fpinclude/precompile.pch -c base/src/precompile.cxx -Fobase/src/precompile.o
precompile.cxx

Or any error message related to the building of precompiled header ?

Bertrand.

I’ve installed it again from scratch. It is working now.
Thank you.

JM