You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I am trying to compile the check library on my windows 11 computer. I suppose I use version 0.15.2 of check
I am using msys2 with the MINGW64 environment. My cmake version is 3.29.2
My compiler is cc.exe version 13.2.0
I basically did the following. git clone https://github.com/libcheck/check.git cd check mkdir build cd build cmake .. ninja
Unfortunately, I have couple linking errors as detailled in the following. Would you have any idea how to solve it ?
Hi there,
I am trying to compile the check library on my windows 11 computer. I suppose I use version 0.15.2 of check
I am using msys2 with the MINGW64 environment. My cmake version is 3.29.2
My compiler is cc.exe version 13.2.0
I basically did the following.
git clone https://github.com/libcheck/check.git
cd check
mkdir build
cd build
cmake ..
ninja
Unfortunately, I have couple linking errors as detailled in the following. Would you have any idea how to solve it ?
[64/86] Linking C shared library src\libcheck.dll FAILED: src/libcheck.dll src/libcheck.dll.a C:\WINDOWS\system32\cmd.exe /C "cd . && C:\msys64\mingw64\bin\cc.exe -g -pthread -shared -o src\libcheck.dll -Wl,--out-implib,src\libcheck.dll.a -Wl,--major-image-version,0,--minor-image-version,15 src/CMakeFiles/checkShared.dir/check.c.obj src/CMakeFiles/checkShared.dir/check_error.c.obj src/CMakeFiles/checkShared.dir/check_list.c.obj src/CMakeFiles/checkShared.dir/check_log.c.obj src/CMakeFiles/checkShared.dir/check_msg.c.obj src/CMakeFiles/checkShared.dir/check_pack.c.obj src/CMakeFiles/checkShared.dir/check_print.c.obj src/CMakeFiles/checkShared.dir/check_run.c.obj src/CMakeFiles/checkShared.dir/check_str.c.obj src/CMakeFiles/checkShared.dir/__/lib/fpclassify.c.obj src/CMakeFiles/checkShared.dir/__/lib/clock_gettime.c.obj src/CMakeFiles/checkShared.dir/__/lib/timer_create.c.obj src/CMakeFiles/checkShared.dir/__/lib/timer_delete.c.obj src/CMakeFiles/checkShared.dir/__/lib/timer_settime.c.obj src/CMakeFiles/checkShared.dir/__/lib/getline.c.obj src/CMakeFiles/checkShared.dir/__/lib/localtime_r.c.obj src/CMakeFiles/checkShared.dir/__/lib/strsignal.c.obj -lm -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/CMakeFiles/checkShared.dir/check_pack.c.obj: in function 'ppack': C:/msys64/home/nicolas/check/src/check_pack.c:379:(.text+0x971): undefined reference to'MemoryBarrier' C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/nicolas/check/src/check_pack.c:379:(.text+0x982): undefined reference to MemoryBarrier' collect2.exe: error: ld returned 1 exit status
Thanks in advance
Nicolas
The text was updated successfully, but these errors were encountered: