简体   繁体   English

从源代码编译 skimage on Windows 10

[英]Compiling skimage from source on Windows 10

I've spent my whole day trying to get skimage building from source on my machine Windows 10.我花了一整天的时间试图在我的机器 Windows 10 上从源代码构建 skimage。

Compiler errors related to "-Wno" flags and C++ template errors "Compiler error C2559 'identifier': cannot overload a member function without ref-qualifier with a member function with ref-qualifier"与“-Wno”标志和 C++ 模板错误相关的编译器错误“编译器错误 C2559‘标识符’:无法在没有 ref 限定符的情况下使用带有 ref 限定符的成员 function 重载成员 function”

Attempted to fix the "-Wno-*" flags issue by going into the meson.build files and removing them, that seemed to fix that specific issue, but that is when the C2559 Compiler errors showed themselves.试图通过进入 meson.build 文件并删除它们来修复“-Wno-*”标志问题,这似乎解决了该特定问题,但那是 C2559 编译器错误出现的时候。

Can't figure out how to change my set up to build with clang, seems like most examples online are assuming Linux/Mac and I'm failing to translate those into Windows-land.无法弄清楚如何更改我的设置以使用 clang 构建,似乎大多数在线示例都假设 Linux/Mac 而我未能将它们转换为 Windows 环境。

I can't find any information about avoiding the msvc errors with compiler flags.我找不到任何有关使用编译器标志避免 msvc 错误的信息。

Making a native file and providing it to the setup via --native-file and the deleting my old build folder fixed this to build with clang制作本机文件并通过 --native-file 将其提供给设置并删除我的旧构建文件夹将其修复为使用 clang 构建

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM