![]() ![]() ![]() I get in the troubles that, up to now, proved endless. Gcc -o main *.o libCoolProp.a -lstdc -lgfortran Thus if I continue by issuing the command I get the cool_fortran_bind.o and cpinterface.o and cpinterface.mod created (nice !) Gfortran -c -Wall cpinterface.f90 cool_fortran_bind.f90 I thus tried to run the suggested example in CoolProp\wrappers\Fortran\detailed_example. ![]() I finally was able to build the libCoolProp.a, without getting noticed of any error (nice !). G "MinGW Makefiles" -DCOOLPROP_STATIC_LIBRARY=ON -DCOOLPROP_EXTERNC_LIBRARY=ON -DCMAKE_VERBOSE_MAKEFILE=ON This worked, meaning that after executing the following suggested commands:Ĭmake. I therefore tried with the GCC 5.2 distribution shipped with Simply Fortran, which is the tool I'm planning to adopt (in order to avoid the cumbersome installation of Visual Studio). I thus tried with the TDM-GCC distribution (carrying the GCC 5.1 version) but still this did not work. I tried MinGW but (as anticipated in a warning) did not work. Dear all, I'm following the suggested procedure to compile a static library of CoolProp and link it with my FORTRAN code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |