Chrisi1984 |
March 9, 2013 15:26 |
strange compiler error
Hello all,
I tried to compile a solver with a new library. But during the compiling I receive the following error message:
Quote:
/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/simpleReactingPorousParcelFoam.o
g++: Fehler: −I/root/OpenFOAM/root-2.2.0/lib/thermophysicalModels/reactionThermo/lnInclude: Datei oder Verzeichnis nicht gefunden
make: *** [Make/linux64GccDPOpt/simpleReactingPorousParcelFoam.o] Fehler 1
root@ubuntu:~/OpenFOAM/root-2.2.0/applications/solvers
|
Then I checked whether the folder is existing or not by trying to move to the folder in the same terminal window afterwards. And it worked as you can see below:
Quote:
/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/simpleReactingPorousParcelFoam.o
g++: Fehler: −I/root/OpenFOAM/root-2.2.0/lib/thermophysicalModels/reactionThermo/lnInclude: Datei oder Verzeichnis nicht gefunden
make: *** [Make/linux64GccDPOpt/simpleReactingPorousParcelFoam.o] Fehler 1
root@ubuntu:~/OpenFOAM/root-2.2.0/applications/solvers/simpleReactingPorousParcelFoam# cd /root/OpenFOAM/root-2.2.0/lib/thermophysicalModels/reactionThermo/lnInclude
root@ubuntu:~/OpenFOAM/root-2.2.0/lib/thermophysicalModels/reactionThermo/lnInclude#
|
Does anybody of you have an idea what is the reason that the compiler does not recognize the folder also it is there?
Thanks for your help in advance.
Kind regards
Chrisi
|