CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] missing uLabelSpecific.H when moving from v3.0.1 to v7 (https://www.cfd-online.com/Forums/openfoam-installation/231235-missing-ulabelspecific-h-when-moving-v3-0-1-v7.html)

samzzz October 27, 2020 17:41

missing uLabelSpecific.H when moving from v3.0.1 to v7
 
Hey folks,

Hope you all are doing well! I wonder anyone of you can do me a favor, I really appreciate it. I just moved from Openfoam 3.0.1 (which is the version I worked on for the longest time) to Openfoam 7. I got a lot of issues recompiling my code. One of them that I still haven't resolved so far is an error:

make: *** No rule to make target '/opt/openfoam7/src/OpenFOAM/lnInclude/uLabelSpecific.H', needed by 'Make/linux64GccDPInt32Opt/../OF_Library/library_OF.C.dep'. Stop.

I found uLabelSpecific.H no longer exists in OpenFOAM 7, I guess an equivalence is uLabel.H. I am not sure where this dependency comes from. Can anybody give me a hint how I can workaround with this issue?

best,
Sam

olesen October 28, 2020 01:20

With any makefiles you build a list of dependencies. In your case, the older code depended on particular headers that no longer exist. The male system obviously cannot determine if they are up to date when they cannot be found.
If you are making big jumps in the versions, it is not realistic to simply rebuild (this applies to any code, not just OpenFOAM). Perform a clean operation (wclean, Allwclean) first - that's what they do.

BTW from the path names it appears you have an Ubuntu installation. Could also try giving this one a whirl
https://develop.openfoam.com/Develop...ompiled/debian


All times are GMT -4. The time now is 22:02.