I am getting a lot of this message as I am trying to compile geant. I think I declared all the variables, but the compiler can not see the files. Taking a look at /home/geant451/lib/win32-vc/ directory, I do not see any of the *.pdb files. CLHEP and MS VC++ 7 are installed without problems, and cygwin.bat file has the info to link VC++ compiler to cygwin. I'd appreciate if someone can shed some light on this problem. Thank you, Kiwhan Here is the error message as geant4.5.1 is being compiled: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Making dependency for file src/G4LeptonHadronInteractionModel.cc ... Compiling G4LeptonHadronInteractionModel.cc ... G4LeptonHadronInteractionModel.cc src\G4LeptonHadronInteractionModel.cc(0) : fatal error C1033: cannot open progra m database 'c:\home\geant451\lib\win32-vc\libg4photolepton_hadron.pdb' make[2]: *** [/home/geant451/tmp/WIN32- VC/G4photolepton_hadron/G4LeptonHadronInt eractionModel.o] Error 2 Making dependency for file src/G4InelasticInteraction.cc ... <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< A part of .bashrc in my home directory: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> export G4SYSTEM=WIN32-VC export G4DEBUG=1 export CLHEP_BASE_DIR=c:/cygwin/usr/local export G4WORKDIR=c:/cygwin/home/geant451 export G4INSTALL=c:/cygwin/home/geant451 export NEUTRONHPCROSSSECTIONS=c:/cygwin/home/geant451/data/G4NDL3.7 export G4LEVELGAMMADATA=c:/cygwin/home/geant451/data/PhotonEvaporation export G4LEDATA=c:/cygwin/home/geant451/data/G4EMLOW2.1 export G4INCLUDE=c:/cygwin/home/geant451/include export G4LIB=c:/cygwin/home/geant451/lib export TMP=c:/cygwin/tmp <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Here are declared/defined variables for my system: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> !C:='C:\cygwin\home\kiwhan' ALLUSERSPROFILE='C:\Documents and Settings\All Users' APPDATA='C:\Documents and Settings\kiwhan\Application Data' BASH=/usr/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="9" [4]="release" [5]="i686-pc-cygw in") BASH_VERSION='2.05b.0(9)-release' CLHEP_BASE_DIR=c:/cygwin/usr/local COLUMNS=80 COMMONPROGRAMFILES='C:\Program Files\Common Files' COMPUTERNAME=ABPC COMSPEC='C:\WINNT\system32\cmd.exe' CVS_RSH=/bin/ssh CYGWIN='tty binmode' DEVENVDIR='C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE' DIRSTACK=() EUID=11900 FRAMEWORKDIR='C:\WINNT\Microsoft.NET\Framework' FRAMEWORKSDKDIR='C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK' FRAMEWORKVERSION=v1.0.3705 G4DEBUG=1 G4INCLUDE=c:/cygwin/home/geant451/include G4INSTALL=c:/cygwin/home/geant451 G4LEDATA=c:/cygwin/home/geant451/data/G4EMLOW2.1 G4LEVELGAMMADATA=c:/cygwin/home/geant451/data/PhotonEvaporation G4LIB=c:/cygwin/home/geant451/lib G4SYSTEM=WIN32-VC G4WORKDIR=c:/cygwin/home/geant451 GROUPS=() HISTFILE=/home/kiwhan/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/home/kiwhan HOMEDRIVE=C: HOMEPATH='\' HOSTNAME=abpc HOSTTYPE=i686 IFS=$' \t\n' INCLUDE='C:\Program Files\Microsoft Visual Studio .NET\VC7\ATLMFC\INCLUDE;C:\Pro gram Files\Microsoft Visual Studio .NET\VC7\INCLUDE;C:\Program Files\Microsoft V isual Studio .NET\VC7\PlatformSDK\include\prerelease;C:\Program Files\Microsoft Visual Studio .NET\VC7\PlatformSDK\include;C:\Program Files\Microsoft Visual Stu dio .NET\FrameworkSDK\include;C:\Program Files\Microsoft Visual Studio .NET\Fram eworkSDK\include\' LIB='C:\Program Files\Microsoft Visual Studio .NET\VC7\ATLMFC\LIB;C:\Program Fil es\Microsoft Visual Studio .NET\VC7\LIB;C:\Program Files\Microsoft Visual Studio .NET\VC7\PlatformSDK\lib\prerelease;C:\Program Files\Microsoft Visual Studio .N ET\VC7\PlatformSDK\lib;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSD K\lib;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LINES=25 LOGONSERVER='\\NIS5SERVER' MACHTYPE=i686-pc-cygwin MAILCHECK=60 MAKE_MODE=unix MANPATH=:/usr/ssl/man MSVCDIR='C:\Program Files\Microsoft Visual Studio .NET\VC7' NEUTRONHPCROSSSECTIONS=c:/cygwin/home/geant451/data/G4NDL3.7 NUMBER_OF_PROCESSORS=2 OLDPWD=/home/geant451/source OPTERR=1 OPTIND=1 OS=Windows_NT OS2LIBPATH='C:\WINNT\system32\os2\dll;' OSTYPE=cygwin PATH='/usr/local/bin:/usr/bin:/bin:/usr/bin:/cygdrive/c/Program Files/Microsoft Visual Studio .NET/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio .NET/VC7/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio .NET/Common7/Too ls:/cygdrive/c/Program Files/Microsoft Visual Studio .NET/Common7/Tools/bin/prer elease:/cygdrive/c/Program Files/Microsoft Visual Studio .NET/Common7/Tools/bin: /cygdrive/c/Program Files/Microsoft Visual Studio .NET/FrameworkSDK/bin:/cygdriv e/c/WINNT/Microsoft.NET/Framework/v1.0.3705:/cygdrive/c/WINNT/system32:/cygdrive /c/WINNT:/cygdrive/c/WINNT/System32/Wbem:.:/usr/X11R6/bin' PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PIPESTATUS=([0]="1") PPID=1 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER='x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0806 PROGRAMFILES='C:\Program Files' PROMPT='$P$G' PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]\n[\\t] :\\! $ ' PS2='> ' PS4='+ ' PWD=/home/geant451 SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:moni tor SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT='C:\WINNT' TEMP=/cygdrive/c/DOCUME~1/kiwhan/LOCALS~1/Temp TERM=cygwin TEXMF='{/usr/share/lilypond/1.6.8,/usr/share/texmf}' TMP=c:/cygwin/tmp UID=11900 USER=kiwhan USERDOMAIN=NIS USERNAME=kiwhan USERPROFILE='C:\Documents and Settings\kiwhan' VCINSTALLDIR='C:\Program Files\Microsoft Visual Studio .NET' VSCOMNTOOLS='"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' VSINSTALLDIR='C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE' WINDIR='C:\WINNT' X11PATH=/usr/X11R6/bin _=-install datadir=/usr/share/lilypond/1.6.8 i=/etc/profile.d/openssl.sh <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<< This is cygwin.bat file: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> @echo off @SET VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE @SET VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio .NET @SET FrameworkDir=C:\WINNT\Microsoft.NET\Framework @SET FrameworkVersion=v1.0.3705 @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK @rem Root of Visual Studio common files. @if "%VSINSTALLDIR%"=="" goto Usage @if "%VCINSTALLDIR%"=="" set VCINSTALLDIR=% VSINSTALLDIR% @rem @rem Root of Visual Studio ide installed files. @rem @set DevEnvDir=% VSINSTALLDIR% @rem @rem Root of Visual C++ installed files. @rem @set MSVCDir=%VCINSTALLDIR% \VC7 @rem @echo Setting environment for using Microsoft Visual Studio .NET tools. @echo (If you also have Visual C++ 6.0 installed and wish to use its tools @echo from the command line, run vcvars32.bat for Visual C++ 6.0.) @rem @REM %VCINSTALLDIR%\Common7\Tools dir is added only for real setup. @set PATH=%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR% \Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSDKDir% \bin;%FrameworkDir%\%FrameworkVersion%;%PATH%; @set INCLUDE=%MSVCDir% \ATLMFC\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\PlatformSDK\include\prerelease;% MSVCDir%\PlatformSDK\include;%FrameworkSDKDir%\include;%INCLUDE% @set LIB=% MSVCDir%\ATLMFC\LIB;%MSVCDir%\LIB;%MSVCDir%\PlatformSDK\lib\prerelease;%MSVCDir% \PlatformSDK\lib;%FrameworkSDKDir%\lib;%LIB% @goto end :Usage @echo. VSINSTALLDIR variable is not set. @echo. @echo SYNTAX: %0 @goto end :end SET MAKE_MODE=UNIX SET PATH=c:\cygwin\bin;%PATH% SET HOME=c:\cygwin\home\kiwhan set CYGWIN=tty binmode cd %HOME% bash --login -i <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I'm trying to reproduce...
Could you possibly explain the strange thing: (1) in error message there is path "c:\home\geant451\lib\win32-vc" (2) in environment you are using always "c:/cygwin/home/geant451" Something is inconsistent here...Please check once again!
Be sure you have enough space! (see Microsoft 'fatal error C1033' advice)
*** Bug 513 has been marked as a duplicate of this bug. *** *** 'Serguei.Sadilov@cern.ch' will be responsible for bug 513. ***
Is it fixed?