rakhimov / scram

Probabilistic Risk Analysis Tool (fault tree analysis, event tree analysis, etc.)
https://scram-pra.org
GNU General Public License v3.0
131 stars 54 forks source link

Not Found Tcmalloc: Tcmalloc_LIBRARY-NOTFOUND #293

Closed 19033157 closed 3 months ago

19033157 commented 4 months ago

win10 ,[MSYS2] [Mingw-w64] 1 pacman --noconfirm -S mingw-w64-x86_64-{gcc,make,cmake,boost,libxml2,qt5} 2 cmake .. -DCMAKE_INSTALL_PREFIX=../bin -DCMAKE_BUILD_TYPE=Release -G "MSYS Makefiles" After executing the above commands, the exception messages are as follows Not Found Tcmalloc: Tcmalloc_LIBRARY-NOTFOUND -- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "2.1.0") -- Could NOT find JeMalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR)

May I ask if anyone has encountered it before? How to solve it? thanks

19033157 commented 4 months ago

I have pulled tcmalloc-master.zip from github,and noticed that Supported Operating System is Linux , Who knows that what should I do if on Windows?

HayashiNiizuki commented 4 months ago

Did you execute git submodule update --init --recursive before build? I build it last night on win11 msys2 mingw64, need to fix some bug though.