Hi,
I cloned the sigar repository to my machine and I tried a windows32 compilation using CMake.
I got an error at the end:
Linking C shared library sigar.dll
CrTation de la bibliothFque sigar.lib et de l'objet sigar.exp
win32_sigar.c.obj : error LNK2019: symbole externe non rTsolu _sigar_proc_args_wmi_get rTfTrencT dans la fonction _sigar_remote_proc_args_get
win32_sigar.c.obj : error LNK2019: symbole externe non rTsolu _sigar_proc_exe_wmi_get rTfTrencT dans la fonction _sigar_proc_exe_get@16
sigar.dll : fatal error LNK1120: 2 externes non rTsolus
These symbols are defined in the src/os/win32/wmi.cpp file.
I tried to complete the CMakelist.txt file under src
SET(SIGAR_SRC os/win32/peb.c os/win32/win32_sigar.c os/win32/wmi.cpp)
but this didn't solve the problem.
Do you have any clue?
Thanks for your help
I cloned the sigar repository to my machine and I tried a windows32 compilation using CMake.
I got an error at the end:
Linking C shared library sigar.dll
CrTation de la bibliothFque sigar.lib et de l'objet sigar.exp
win32_sigar.c.obj : error LNK2019: symbole externe non rTsolu _sigar_proc_args_wmi_get rTfTrencT dans la fonction _sigar_remote_proc_args_get
win32_sigar.c.obj : error LNK2019: symbole externe non rTsolu _sigar_proc_exe_wmi_get rTfTrencT dans la fonction _sigar_proc_exe_get@16
sigar.dll : fatal error LNK1120: 2 externes non rTsolus
These symbols are defined in the src/os/win32/wmi.cpp file.
I tried to complete the CMakelist.txt file under src
SET(SIGAR_SRC os/win32/peb.c os/win32/win32_sigar.c os/win32/wmi.cpp)
but this didn't solve the problem.
Do you have any clue?
Thanks for your help