CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] OpenFOAM v2306 gives YY_BUF_SIZE declare in scope error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2023, 09:41
Default OpenFOAM v2306 gives YY_BUF_SIZE declare in scope error
  #1
New Member
 
Aziz
Join Date: Jun 2023
Posts: 7
Rep Power: 2
azizogutlu is on a distinguished road
I'm trying to compile openfoam v2306 on Centos 7.9 and I got YY_BUF_SIZE declare in scope error. Compiling process is attached to thread.
Attached Files
File Type: txt compiling_openfoam_v2306.txt (151.7 KB, 3 views)
azizogutlu is offline   Reply With Quote

Old   August 15, 2023, 12:38
Default
  #2
New Member
 
Aziz
Join Date: Jun 2023
Posts: 7
Rep Power: 2
azizogutlu is on a distinguished road
On ADIOS2 github page, they fix ADIOS2 installation.
When I tried to install OpenFOAM it gave same error.
Attached Files
File Type: txt log.linux64GccDPInt32Opt.txt (131.8 KB, 2 views)
azizogutlu is offline   Reply With Quote

Old   August 16, 2023, 05:14
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
I don't really see what is going wrong here. On my machine I have flex 2.6.4 too (but with openSUSE, not centos). It thus should be the same as what you have.
olesen is offline   Reply With Quote

Old   August 16, 2023, 05:52
Default
  #4
New Member
 
Aziz
Join Date: Jun 2023
Posts: 7
Rep Power: 2
azizogutlu is on a distinguished road
There was error on ADIOS2 compiling too, on this github issue https://github.com/ornladios/ADIOS2/issues/3742, they fix the error. Maybe this is about OpenFoam compiling too.
azizogutlu is offline   Reply With Quote

Old   August 16, 2023, 07:25
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
I just checked the copr builds for EPEL-7, there it using flex 2.5.37-6.el7 - not sure where/why you have such different versions.



https://download.copr.fedorainfraclo...er-live.log.gz
olesen is offline   Reply With Quote

Old   August 16, 2023, 07:49
Default
  #6
New Member
 
Aziz
Join Date: Jun 2023
Posts: 7
Rep Power: 2
azizogutlu is on a distinguished road
I did not install from rpm package, I compiled from github source and it is last version.
azizogutlu is offline   Reply With Quote

Reply

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
Problem running perturbUCyl sen.1986 OpenFOAM 17 June 4, 2019 06:56
[OpenFOAM.org] OpenFOAM 2.3.1 installation on SUSE Linux Enterprise 12 harsha_kulkarni OpenFOAM Installation 17 November 16, 2015 04:06
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
Sgimpi pere OpenFOAM 27 September 24, 2011 08:57
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


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