CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] unknown type name ‘off64_t’

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   December 30, 2020, 10:55
Default unknown type name ‘off64_t’
New Member
Fabian Friberg
Join Date: Dec 2020
Posts: 23
Rep Power: 2
lumpor is on a distinguished road
I get the following output when running ./makeParaview on my 32-bit Ubuntu 18.04:

/home/pc/OpenFOAM/ThirdParty-7/ParaView-5.6.0/ThirdParty/cgns/vtkcgns/src/adf/ADF_internals.c:225:12: error: unknown type name ‘off64_t’
    typedef off64_t file_offset_t;
ThirdParty/cgns/vtkcgns/src/CMakeFiles/vtkcgns.dir/build.make:182: recipe for target 'ThirdParty/cgns/vtkcgns/src/CMakeFiles/vtkcgns.dir/adf/ADF_internals.c.o' failed
make[2]: *** [ThirdParty/cgns/vtkcgns/src/CMakeFiles/vtkcgns.dir/adf/ADF_internals.c.o] Error 1
CMakeFiles/Makefile2:16607: recipe for target 'ThirdParty/cgns/vtkcgns/src/CMakeFiles/vtkcgns.dir/all' failed
make[1]: *** [ThirdParty/cgns/vtkcgns/src/CMakeFiles/vtkcgns.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 12%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkTypeUInt32Array.cxx.o
[ 12%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkTypeUInt64Array.cxx.o
[ 12%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkTypeFloat32Array.cxx.o
[ 12%] Building CXX object VTK/Common/Core/CMakeFiles/vtkCommonCore.dir/vtkTypeFloat64Array.cxx.o
[ 12%] Linking CXX shared library ../../../lib/
[ 12%] Built target vtkCommonCore
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
Command exited with non-zero status 2
1642.02user 124.75system 34:33.66elapsed 85%CPU (0avgtext+0avgdata 586548maxresident)k
17456inputs+443968outputs (60major+12097231minor)pagefaults 0swaps
Only the error message:
/home/pc/OpenFOAM/ThirdParty-7/ParaView-5.6.0/ThirdParty/cgns/vtkcgns/src/adf/ADF_internals.c:225:12: error: unknown type name ‘off64_t’
    typedef off64_t file_offset_t;
I tried to follow the steps for installing openfoam v7 via the source code.

Any help would be appreciated.

Last edited by lumpor; December 31, 2020 at 04:52.
lumpor is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2DOF Planning hull resistance study with overset CFD_fan OpenFOAM Running, Solving & CFD 6 March 6, 2021 14:29
twoPhaseEulerFoam confined plunging jet simulation failed ves OpenFOAM Running, Solving & CFD 2 June 17, 2020 05:08
FOAM FATAL ERROR: Maximum number of iterations exceeded: 100 antoniomollo OpenFOAM Running, Solving & CFD 4 October 11, 2019 00:22
Foam::error::printStack(Foam::Ostream&) at ??:? mdhfiz OpenFOAM Running, Solving & CFD 1 September 19, 2019 09:46
Time step continuity error lpz_michele OpenFOAM Running, Solving & CFD 0 October 12, 2015 06:05

All times are GMT -4. The time now is 04:40.