dongli / geomtk

C++ toolkit for geofluid modeling.
GNU General Public License v2.0
7 stars 4 forks source link

how can i use this librariy? #1

Open cccchou opened 4 months ago

cccchou commented 4 months ago

i m a new C++ ,i don't know how i can use "geomtk.h",it just copy to the include or use make ?

dongli commented 4 months ago

Sorry, I haven't developing this library for almost 10 years. I have switched to Fortran.

cccchou commented 4 months ago

Sorry, I haven't developing this library for almost 10 years. I have switched to Fortran.

can i add your wechat? when i build and compile the library ,cmake is successful but when i make ,it get wrong with Building CXX object CMakeFiles/geomtk.dir/src/Domain/CartesianDomain.cpp.o cc1plus: error: /usr/lib/x86_64-linux-gnu/libmlpack.so/include: Not a directory how can i change this path ,the MakeFile is created by cmake

cccchou commented 4 months ago

Sorry, I haven't developing this library for almost 10 years. I have switched to Fortran.

can i add your wechat? when i build and compile the library ,cmake is successful but when i make ,it get wrong with Building CXX object CMakeFiles/geomtk.dir/src/Domain/CartesianDomain.cpp.o cc1plus: error: /usr/lib/x86_64-linux-gnu/libmlpack.so/include: Not a directory how can i change this path ,the MakeFile is created by cmake

OK i resolve this problem,because of your FindMLPACK.make is string (REGEX REPLACE "/lib/libmlpack.*" "" MLPACK_ROOT ${MLPACK_LIBRARIES}) but my wsl2 is /lib/x86_64-linux-gnu/libmlpack.so the replace is wrong

cccchou commented 4 months ago

and src/Utils/StampString.cpp needs modify "fmod(time.date().year(), 100)" to the "fmod(static_cast(d.year()), 100.0)." and i have compiled successfully