CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   Configure: Checking libjson.a (SU2 4.0.1) (https://www.cfd-online.com/Forums/su2-installation/160244-configure-checking-libjson-su2-4-0-1-a.html)

pdp.aero October 4, 2015 12:45

Configure: Checking libjson.a (SU2 4.0.1)
 
Hello there,

I was configuring the SU2 4.0.1 with Jsoncpp flags and find out that configure file checks for libjson.a. However, my Jsoncpp library is actually libjsoncpp.a. I have edited the configure file to check for libjsoncpp.a instead and everything went fine in installation.
I used Jsoncpp 0.10.5. I also already used 0.5.0 version which its library was libjson_linux-gcc-4.8_libmt.a, based my OS. By editing the configure file, the installation went fine for both Jsoncpp versions. The running OS is Ubuntu 14.04 for the knowledge.

Did you guys mention libjeson.a for being checked in the configure intentionally or this is happened because of using different Jsoncpp builds or difference between the OS?
I think there is a difference in general between libjson and libjsoncpp.

I also noticed the configure also checks for libmutation++.dylib which is different with extension of Ubuntu users's dynamic library, 'so'. I also changed the check for libmutation++.so in the configure file. There is a difference between .dylib and .so in OSX I guess, but I think this is not the case for Linux users.

Bests,
Payam

hlk October 30, 2015 14:32

Quote:

Originally Posted by pdp.aero (Post 566465)
Hello there,

I was configuring the SU2 4.0.1 with Jsoncpp flags and find out that configure file checks for libjson.a. However, my Jsoncpp library is actually libjsoncpp.a. I have edited the configure file to check for libjsoncpp.a instead and everything went fine in installation.
I used Jsoncpp 0.10.5. I also already used 0.5.0 version which its library was libjson_linux-gcc-4.8_libmt.a, based my OS. By editing the configure file, the installation went fine for both Jsoncpp versions. The running OS is Ubuntu 14.04 for the knowledge.

Did you guys mention libjeson.a for being checked in the configure intentionally or this is happened because of using different Jsoncpp builds or difference between the OS?
I think there is a difference in general between libjson and libjsoncpp.

I also noticed the configure also checks for libmutation++.dylib which is different with extension of Ubuntu users's dynamic library, 'so'. I also changed the check for libmutation++.so in the configure file. There is a difference between .dylib and .so in OSX I guess, but I think this is not the case for Linux users.

Bests,
Payam

Unfortunately we are not currently able to support this functionality and it is likely to be deprecated in future releases. If you need this functionality, it is recommended to pull down the source code and make the modifications you need (as you have already done) to make it work for you. If you create a branch for your modifications you will be able to pull future code updates into your version. Some form may continue to exist in a branch on github, however it is likely that it will be removed from the master version of the code.

pdp.aero November 22, 2015 15:47

Quote:

Originally Posted by hlk (Post 571072)
Unfortunately we are not currently able to support this functionality and it is likely to be deprecated in future releases. If you need this functionality, it is recommended to pull down the source code and make the modifications you need (as you have already done) to make it work for you. If you create a branch for your modifications you will be able to pull future code updates into your version. Some form may continue to exist in a branch on github, however it is likely that it will be removed from the master version of the code.

Thanks for the response. The source code is pulled down already. I will follow the future updates.

PDP


All times are GMT -4. The time now is 16:45.