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

missing json.h

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2014, 02:39
Default missing json.h
  #1
New Member
 
cean wang
Join Date: Feb 2013
Posts: 24
Rep Power: 5
ceanwang is on a distinguished road
Hi,

I just downloaded su2V3.1 from github. When I try to compile it, this error pops up. It is included in numerics_machine_learning.hpp.

Is it a 3rd party objects?

Regards,

Cean
ceanwang is offline   Reply With Quote

Old   April 24, 2014, 16:02
Default
  #2
New Member
 
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 5
btracey is on a distinguished road
Quote:
Originally Posted by ceanwang View Post
Hi,

I just downloaded su2V3.1 from github. When I try to compile it, this error pops up. It is included in numerics_machine_learning.hpp.

Is it a 3rd party objects?

Regards,

Cean
I am guessing you are compiling from source? What is your configure call? When you're done configuring, do you see

Jsoncpp support: no

or does it say yes?
btracey is offline   Reply With Quote

Old   April 25, 2014, 09:24
Default
  #3
New Member
 
cean wang
Join Date: Feb 2013
Posts: 24
Rep Power: 5
ceanwang is on a distinguished road
Quote:
Originally Posted by btracey View Post
I am guessing you are compiling from source? What is your configure call? When you're done configuring, do you see

Jsoncpp support: no

or does it say yes?
So Su2 need jsoncpp now?
ceanwang is offline   Reply With Quote

Old   April 25, 2014, 17:23
Default
  #4
New Member
 
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 5
btracey is on a distinguished road
No, SU2 does not need JsonCPP. There are parts of the code that use it, but the compiled binaries and standard uses of the "configure" script will not need it. What arguments are you passing to configure?
btracey is offline   Reply With Quote

Old   April 25, 2014, 19:39
Default
  #5
New Member
 
cean wang
Join Date: Feb 2013
Posts: 24
Rep Power: 5
ceanwang is on a distinguished road
Quote:
Originally Posted by btracey View Post
No, SU2 does not need JsonCPP. There are parts of the code that use it, but the compiled binaries and standard uses of the "configure" script will not need it. What arguments are you passing to configure?
I see. I am compiling it from source under win7@32, so not using the configure provided. When I specified -DNO_JSONCPP, it compiled ok.

I have already built json with Scons. Will try it with su2.

Hope su2 will provide Scons build support too very soon.

Thanks

Last edited by ceanwang; April 25, 2014 at 21:20.
ceanwang is offline   Reply With Quote

Old   April 26, 2014, 00:18
Default
  #6
New Member
 
cean wang
Join Date: Feb 2013
Posts: 24
Rep Power: 5
ceanwang is on a distinguished road
I have built su2 with jsoncpp successfully. Just wondering if there is a testcase for this machine_learning thing.

Thanks
ceanwang is offline   Reply With Quote

Old   April 29, 2014, 03:25
Default
  #7
New Member
 
Brendan Tracey
Join Date: Jun 2013
Posts: 18
Rep Power: 5
btracey is on a distinguished road
No, there are no test cases. The feature is under development and not supported.
btracey is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is syntax error : missing ')' before ';' aleisia Fluent UDF and Scheme Programming 8 March 10, 2015 16:42
Xlib: extension "GLX" missing on display goldbeard OpenFOAM Paraview & paraFoam 5 March 24, 2013 14:12
errors when installing openfoam2.1 on ubuntu12.o4 hewei OpenFOAM Installation 5 May 29, 2012 07:43
Problem with paraFoam ata OpenFOAM 14 November 30, 2009 05:23
Missing tets along line when meshing with ICEM CFD Georges P. Côté CFX 6 March 23, 2006 01:34


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