Linux: Fortran main program can't link with shared library by C++
Dear all, I am trying to build a project in Linux with Fortran main program link with C++ shared library. The C++ shared library is successfully created, but when link to Fortran main program, lots of errors displayed that functions are not defined. However, the same codes and same files of Cmakelists.txt works in Windows 7 64 bit + VS2013 + Intel Fortran 2019. Could anyone help me to take a look at it?
Thanks, Tang Laoya