CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   missing json.h (https://www.cfd-online.com/Forums/su2-installation/133870-missing-json-h.html)

ceanwang April 22, 2014 02:39

missing json.h
 
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

btracey April 24, 2014 16:02

Quote:

Originally Posted by ceanwang (Post 487437)
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?

ceanwang April 25, 2014 09:24

Quote:

Originally Posted by btracey (Post 488046)
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?

btracey April 25, 2014 17:23

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?

ceanwang April 25, 2014 19:39

Quote:

Originally Posted by btracey (Post 488259)
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

ceanwang April 26, 2014 00:18

I have built su2 with jsoncpp successfully. Just wondering if there is a testcase for this machine_learning thing.

Thanks

btracey April 29, 2014 03:25

No, there are no test cases. The feature is under development and not supported.


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