CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

New Solver Failing to Compile with the attached error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 6, 2022, 09:19
Default New Solver Failing to Compile with the attached error
  #1
New Member
 
Join Date: Mar 2010
Posts: 11
Rep Power: 16
samaraseeri is on a distinguished road
Can someone help me figure out the problem with compiling a new solver in OpenFoam. This is part of compilation output.


$ wmake
Making dependency list for source file modeFFT.C
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE= -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/meshTools/lnInclude -IlnInclude -I. -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude -I/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OSspecific/POSIX/lnInclude -fPIC -c modeFFT.C -o Make/linux64GccDPInt32Opt/modeFFT.o
In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:47:0,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4,
from modeFFT.C:17:
/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/label.H:47:19: error: operator '!=' has no left operand
#if WM_LABEL_SIZE != 32 && WM_LABEL_SIZE != 64
^~
In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UList.H:47:0,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/List.H:43,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:48,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4,
from modeFFT.C:17:
/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/uLabel.H:47:19: error: operator '!=' has no left operand
#if WM_LABEL_SIZE != 32 && WM_LABEL_SIZE != 64
^~
In file included from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/labelList.H:47:0,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/UPstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/Pstream.H:42,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/parRun.H:35,
from /sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/finiteVolume/lnInclude/fvCFD.H:4,
from modeFFT.C:17:
/sw/csi/openfoam/7.0/el7.6_gnu6.4.0/OpenFOAM-7//src/OpenFOAM/lnInclude/label.H:59:18: error: ‘int_t’ does not name a type
typedef INT_SIZE(int, _t) label;

Last edited by samaraseeri; September 7, 2022 at 06:11. Reason: error message was missing. best
samaraseeri is offline   Reply With Quote

Reply


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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 08:24
How to get the max value of the whole field waynezw0618 OpenFOAM Running, Solving & CFD 4 June 17, 2008 06:07


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