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

Eclipse flags errors even though Compile works

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By floquation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 13:38
Default Eclipse flags errors even though Compile works
  #1
Member
 
Olabanji
Join Date: Jan 2013
Location: U.S.A
Posts: 31
Rep Power: 13
banji is on a distinguished road
Hi Foamers,

I am not sure if this problem has been fixed lately but it still disturbs me. Details below:

When I import a solver for efficient editing in eclipse and compile, everything works fine but I still get lots of flag warnings e.g. Symbol 'runTime' could not be resolved, Symbol 'mesh' could not be resolved and so many more multiple marker. I have surfed the net for any possible solution, still same result. By the way, I use
  • Eclipse IDE for C/C++ Developers
  • Version: Kepler Service Release 1
  • Build id: 20130919-0819

Attached is a snapshot of 'icoFoam.C' showing lots of error flags even though it compiles fine.

Any help would be much appreciated.

Regards.
Attached Images
File Type: jpg eclipse_editor.jpg (41.7 KB, 32 views)
banji is offline   Reply With Quote

Old   January 14, 2016, 06:29
Default
  #2
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 10
Bana is on a distinguished road
Hi banji
Have you solved the problem? I'm searching for some solution too.
regards
Bana is offline   Reply With Quote

Old   January 14, 2016, 06:52
Default
  #3
Member
 
Olabanji
Join Date: Jan 2013
Location: U.S.A
Posts: 31
Rep Power: 13
banji is on a distinguished road
Quote:
Originally Posted by Bana View Post
Hi banji
Have you solved the problem? I'm searching for some solution too.
regards
Hello Bana,

I switched to Sublime text.
banji is offline   Reply With Quote

Old   March 24, 2016, 12:04
Default
  #4
Senior Member
 
floquation's Avatar
 
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 20
floquation will become famous soon enough
Quote:
Originally Posted by Bana View Post
Hi banji
Have you solved the problem? I'm searching for some solution too.
regards
Check this out:
http://www.cfd-online.com/Forums/ope...tml#post591519
Bana likes this.
floquation is offline   Reply With Quote

Old   March 24, 2016, 15:15
Default
  #5
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 10
Bana is on a distinguished road
Thanks for your wonderful solution!!
Bana is offline   Reply With Quote

Old   March 24, 2016, 15:17
Default
  #6
Member
 
Mohammad Reza
Join Date: Sep 2015
Posts: 44
Rep Power: 10
Bana is on a distinguished road
Quote:
Originally Posted by floquation View Post
Thanks for your wonderful solution!!
Bana is offline   Reply With Quote

Old   November 4, 2016, 09:50
Default cLion IDE
  #7
Member
 
Ali
Join Date: Oct 2013
Location: Scotland
Posts: 66
Rep Power: 12
ali.m.1 is on a distinguished road
Hi

Do you know if this will work in CLion? I think it's the same idea as eclipse.

Ali
ali.m.1 is offline   Reply With Quote

Reply

Tags
eclipse, flag, openfoam, resolved, source code


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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Custom BC compile warnings & Runtime Errors Hisham OpenFOAM Programming & Development 5 November 2, 2011 02:48
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
interpret works fine but compile doesn't Jan Balemans FLUENT 0 March 14, 2008 09:41
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 13:17.