【发布时间】:2021-03-27 20:18:50
【问题描述】:
我正在尝试使用 cygwin 在 Windows 10 x64 系统上下载 openslide(在 Windows 上本地构建)。我之前遇到了与chk_fail 相关的错误,并将构建文件中-D_FORTIFY_SOURCE 的行设置为0 而不是默认值(2)。你现在可能知道我真的不知道我在做什么。但是我在下面收到了一个新错误,与我读过的内存错误有关。我尝试删除整个包文件夹,包括 makefile 和目标文件,然后再次从 Github 克隆并重建,但它没有用。谁能给我关于这里发生了什么以及如何解决它的指示?将不胜感激。
Scanning dependencies of target ziptool
[ 90%] Building C object src/CMakeFiles/ziptool.dir/ziptool.c.obj
[ 90%] Linking C executable ziptool.exe
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
compilation terminated.
make[2]: *** [src/CMakeFiles/ziptool.dir/build.make:109: src/ziptool.exe] Error 1
make[2]: *** Deleting file 'src/ziptool.exe'
make[1]: *** [CMakeFiles/Makefile2:442: src/CMakeFiles/ziptool.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
Failed: make $parallel (line 417)
【问题讨论】:
标签: c++ gcc makefile cygwin mingw-w64