Open saeidqh opened 4 years ago
Your question is unrelated to this repository. But as I faced the same issue when compiling AlRatrout's software, I found that the file "uLabelspecific.H" was dropped when OpenFOAM went from v1606+ to v1612+. There are some inconsistencies in AlRatrout's installation manual when it comes to the underlying OpenFOAM version. Try v1606+ instead of v1612+, and the error should be gone.
Maybe this also helps other people who come by this thread, although the issue is already 5 years old.
Cheers
Hi..
I want a case run to OpenFOAM that it README is in <<((https://github.com/AhmedAlratrout/ContactAngle-Curvature-Roughness))>> in part compile code i have problem.
This is error that I receive.![Screenshot from 2019-10-11 17-27-32](https://user-images.githubusercontent.com/55747044/66657527-d6631c80-ec4c-11e9-93d8-0354bd025d7f.png)
saeid@saeid-HP-Pavilion-dv7-Notebook-PC:~/works/apps/contactAngle$ ./AllMake surfaceRoughness wmake
make[1]: Entering directory '/home/saeid/works/apps/contactAngle/surfaceRoughness' make[1]: No rule to make target '/opt/openfoam6/src/OpenFOAM/lnInclude/uLabelSpecific.H', needed by 'Make/linux64GccDPInt32Opt/surfaceRoughness.C.dep'. Stop. make[1]: Leaving directory '/home/saeid/works/apps/contactAngle/surfaceRoughness' Makefile:9: recipe for target 'wmake' failed make: [wmake] Error 2 skipping Example surfaceAddLayerToCL wmake
make[1]: Entering directory '/home/saeid/works/apps/contactAngle/surfaceAddLayerToCL' make[1]: No rule to make target '/opt/openfoam6/src/OpenFOAM/lnInclude/uLabelSpecific.H', needed by 'Make/linux64GccDPInt32Opt/surfaceAddLayerToCL.C.dep'. Stop. make[1]: Leaving directory '/home/saeid/works/apps/contactAngle/surfaceAddLayerToCL' Makefile:9: recipe for target 'wmake' failed make: [wmake] Error 2 surfaceSmoothVP wmake
make[1]: Entering directory '/home/saeid/works/apps/contactAngle/surfaceSmoothVP' make[1]: No rule to make target '/opt/openfoam6/src/OpenFOAM/lnInclude/uLabelSpecific.H', needed by 'Make/linux64GccDPInt32Opt/surfaceSmoothVP.C.dep'. Stop. make[1]: Leaving directory '/home/saeid/works/apps/contactAngle/surfaceSmoothVP' Makefile:9: recipe for target 'wmake' failed make: [wmake] Error 2 voxelImage g++ -std=c++0x -c sphereToRaw.cpp g++ -o /home/saeid/works/bin-v16/bin/sphereToRaw sphereToRaw.o
g++ -c -fPIC imageReader.cpp -o imageReader.o g++ -c -fPIC voxelMesh.cpp -o voxelMesh.o g++ -shared voxelMesh.o imageReader.o -o /home/saeid/works/bin-v16/bin/libvoxelMesh.so g++ -c imageFileConvert.cpp g++ -fPIC -L/home/saeid/works/bin-v16/bin/ imageFileConvert.o -lvoxelMesh -o /home/saeid/works/bin-v16/bin/imageFileConvert g++ -fPIC -c rawToFoam.cpp g++ -fPIC -o /home/saeid/works/bin-v16/bin/rawToFoam -L/home/saeid/works/bin-v16/bin rawToFoam.o -lvoxelMesh rm -f *.o voxelImageNew g++ -O3 -Wall writeRaCLInds.o -o /home/saeid/works/bin-v16/bin/writeRaCLInds /usr/bin/ld: writeRaCLInds.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:66: recipe for target 'writeRaCLInds' failed make: [writeRaCLInds] Error 1 voxelToSurfaceML wmake make[1]: Entering directory '/home/saeid/works/apps/contactAngle/voxelToSurfaceML' make[1]: No rule to make target '/opt/openfoam6/src/OpenFOAM/lnInclude/uLabelSpecific.H', needed by 'Make/linux64GccDPInt32Opt/voxelToSurface.C.dep'. Stop. make[1]: Leaving directory '/home/saeid/works/apps/contactAngle/voxelToSurfaceML' Makefile:6: recipe for target 'wmake' failed make: *** [wmake] Error 2
please guide me