- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 wxWidgets 版本 3.0.2 安装 Alien::wxWidgets 版本 0.67,但无论我做什么,都会收到以下错误:
checking if C compiler (clang -mmacosx-version-min=10.5) works with SDK/version options... configure: error: in `/Users/David/.cpan/build/Alien-wxWidgets-0.67-GGkXTu/wxWidgets-3.0.2/bld':
configure: error: no. Try a different SDK
See `config.log' for more details
system: echo exit | sh ../configure --prefix=/Users/David/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni --with-osx_cocoa --with-opengl --disable-compat24 --enable-unicode --disable-monolithic --disable-universal_binary --enable-graphics_ctx CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++ -std=c++11" OBJCXXFLAGS="-stdlib=libc++ -std=c++11" LDFLAGS=-stdlib=libc++: 256 at Build line 60.
我尝试使用标志进行构建 --with-macosx-sdk=10.5、--with-macosx-sdk=10.10、--without-macosx-sdk、--with-macosx-sdk=/Applications/Xcode .app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/但它们都不起作用。
这是 config.log 的一部分,我在其中看到错误,但我不知道如何解决它:
configure:16429: checking for gcc
configure:16456: result: clang
configure:16685: checking for C compiler version
configure:16694: clang --version >&5
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
configure:16705: $? = 0
configure:16694: clang -v >&5
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
configure:16705: $? = 0
configure:16694: clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:16705: $? = 1
configure:16694: clang -qversion >&5
clang: error: unknown argument: '-qversion'
clang: error: no input files
configure:16705: $? = 1
configure:16725: checking whether the C compiler works
configure:16747: clang -stdlib=libc++ conftest.c >&5
configure:16751: $? = 0
configure:16799: result: yes
configure:16802: checking for C compiler default output file name
configure:16804: result: a.out
configure:16810: checking for suffix of executables
configure:16817: clang -o conftest -stdlib=libc++ conftest.c >&5
configure:16821: $? = 0
configure:16843: result:
configure:16865: checking whether we are cross compiling
configure:16873: clang -o conftest -stdlib=libc++ conftest.c >&5
configure:16877: $? = 0
configure:16884: ./conftest
configure:16888: $? = 0
configure:16903: result: no
configure:16908: checking for suffix of object files
configure:16930: clang -c conftest.c >&5
configure:16934: $? = 0
configure:16955: result: o
configure:16959: checking whether we are using the GNU C compiler
configure:16978: clang -c conftest.c >&5
configure:16978: $? = 0
configure:16987: result: yes
configure:16996: checking whether clang accepts -g
configure:17016: clang -c -g conftest.c >&5
configure:17016: $? = 0
configure:17057: result: yes
configure:17074: checking for clang option to accept ISO C89
configure:17137: clang -c conftest.c >&5
configure:17137: $? = 0
configure:17150: result: none needed
configure:17183: checking whether we are using the Intel C compiler
configure:17203: clang -c conftest.c >&5
conftest.c:18:17: error: use of undeclared identifier 'choke'
choke me
^
1 error generated.
configure:17203: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "3.0.2"
| #define PACKAGE_STRING "wxWidgets 3.0.2"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define PACKAGE_URL ""
| #define __BSD__ 1
| #define __DARWIN__ 1
| #define TARGET_CARBON 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| #ifndef __INTEL_COMPILER
| choke me
| #endif
|
| ;
| return 0;
| }
configure:17213: result: no
configure:17936: checking how to run the C preprocessor
configure:17967: clang -E conftest.c
configure:17967: $? = 0
configure:17981: clang -E conftest.c
conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:17981: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wxWidgets"
| #define PACKAGE_TARNAME "wxwidgets"
| #define PACKAGE_VERSION "3.0.2"
| #define PACKAGE_STRING "wxWidgets 3.0.2"
| #define PACKAGE_BUGREPORT "wx-dev@lists.wxwidgets.org"
| #define PACKAGE_URL ""
| #define __BSD__ 1
| #define __DARWIN__ 1
| #define TARGET_CARBON 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
如果您知道如何解决这个问题并使 wxWidgets 在 OSX 10.10 上运行,我将非常感激。
最佳答案
添加以下内容:
--with-macosx-version-min=10.11
关于macos - Alien::wxWidgets 在 OSX10.10 上安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32689670/
我正在尝试使用 alien 0.50 模块将此 C 结构重新定义为 Lua,但最后我有两个 char 数组。 szLibraryPath 和 szLibraryName 最初定义为 char szLi
我目前在使用 Lua 和外星人模块以使用 Win32 API 等 Lua 脚本时遇到了问题。到目前为止,我只遇到了 Alien 的一个问题,即使用使用某些结构(例如 CreateFontIndirec
我的目标是调用 Windows 的 GetModuleInformation获得 MODULEINFO 的函数结构回来。这一切正常。问题是由于我想对 LPVOID lpBaseOfDll 进行指针运算
Epic喜加一:免费领取《Alien: Isolation》 《Alien: Isolation》是一款以持续恐惧和致命危险气氛为背景的生存恐怖游戏, 使用 CATHODE™ 引擎打造。 现在可
我正在尝试用 Sprite 制作一个基本的射击游戏。当我尝试运行时,我的 for 循环中的 Alien.rect.x 行出现错误。它说我的对象 Alien 没有 rect 属性。我认为我的 Alien
有人可以告诉我这意味着什么以及如何解决吗? “Alien”是一个 Sprite ,alienPosition 变量被分配为 double 值。 alienPosition = alien.positi
我无法安装 Alien::XGBoost在 Windows 10 上使用默认安装的 Strawberry Perl 库。我使用的是 64 位版本的 Strawberry Perl。 安装 Alien:
如何做到这样,当您搜索“alien vs predator”时,您还可以得到带有“S”的字符串“alienS vs predator”的结果 示例 http://www.torrentz.com/se
我想用 perl 录制视频,我在 cpan 上找到了以下 2 个模块: Alien-ffmpeg ( https://metacpan.org/pod/release/GETTY/Alien-ffmp
我想做的是减少构建文件中的冗余。不幸的是,我想不出一种方法来规避 ant 对嵌套元素的限制。 一个例子是外部化MANIFEST的填充,这对所有的.jars和.ears都是一样的。 我定义了一个宏,用s
我正在使用Alien for Lua引用WaitForSingleObject function在 Windows Kernel32.dll 中。 我对 Windows 编程还很陌生,所以我的问题是关
我正在尝试使用 wxWidgets 版本 3.0.2 安装 Alien::wxWidgets 版本 0.67,但无论我做什么,都会收到以下错误: checking if C compiler (cla
与 this one 基本相同但这并没有真正结束。 我面临着同样的问题,而且我走得更远。我必须更改代码以允许更新的 Macos sdk (10.11)。所以它编译了一段时间,但后来失败了: ❯❯❯ p
Alien.java(Pojo 类),这是我的 pojo 类 package com.me.Hive1; import javax.persistence.Entity; import j
问。给定用外来语言编写的单词序列以及字母表顺序,当且仅当给定单词在此外语中按字典顺序排序时返回 true。以下是一些示例: Input: words = ["hello","leetcode"], o
总结 我的屏幕底部有一个不合适的矩形红色框。 背景 在我的本地开发工作区使用 Chrome 的开发者工具,我将问题的根源确定为一个相对较新引入的 canvas 元素,我并不完全理解它。我探索了 w3s
我刚刚通过 gem install 安装了 Phusion Passenger 网络服务器。然后我做了一个 gem check --alien并收到此错误消息: fastthread-1.0.7 ha
我编译了一堆在线资源,这些资源让我来到这里。希望我所拥有的很接近。不幸的是,我没有 Windows 编程经验。我来自 Linux 背景。我也是新来的 alien对于 Lua,但我非常了解 Lua。 我
使用一本书来学习如何制作一个简单的pygame外星人入侵。我到达了需要绘制外星人舰队的部分,但是当我试图在x级别上绘制整个舰队并要求一个组时对象,它给了我错误(完整回溯): 回溯(最近一次调用最后一次
我有一个 RPM 包,我使用 alien 将其转换为 Debian 包。当我尝试使用 ubuntu 软件中心在 ubuntu 上安装它时,它会发出警告,例如维护者名称/地址格式错误(当我使用 dpkg
我是一名优秀的程序员,十分优秀!