thetengda / rtklib_hyper

a modified rtklib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HELP

LightingSophia opened this issue · comments

commented

[100%] Linking C executable debug\rnx2rtkp.exe [build] c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\rnx2rtkp.dir/objects.a(rtkcmn.c.obj): in function tickget':
[build] D:/VscodeProject/rtklib_hyper-main/src/rtkcmn.c:1868: undefined reference to __imp_timeGetTime' [build] collect2.exe: error: ld returned 1 exit status [build] mingw32-make[2]: *** [CMakeFiles\rnx2rtkp.dir\build.make:337: debug/rnx2rtkp.exe] Error 1 [build] mingw32-make[1]: *** [CMakeFiles\Makefile2:82: CMakeFiles/rnx2rtkp.dir/all] Error 2 [build] mingw32-make: *** [Makefile:90: all] Error 2 [proc] The command: C:\cmake\bin\cmake.EXE --build d:/VscodeProject/rtklib_hyper-main/build --config Debug --target all -j 6 -- exited with code: 2 [build] Build finished with exit code 2
博主,您能帮我看看这是什么原因呢?谢谢

commented

可能是你用的mingw缺少了相关的库,建议在Ubuntu环境下编译