You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
The text was updated successfully, but these errors were encountered: