尝试在M上从源代码构建Pandas3D时出现的问题

2024-10-02 02:44:52 发布

您现在位置:Python中文网/ 问答频道 /正文

遵循Panda3D(从源代码构建)的GitHub页面上的说明。你知道吗

Version: 1.10.3
Platform: macosx-10.14-x86_64
Using Python 2.7
Target OS: darwin
Target arch: x86_64
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package gles, excluding from build
WARNING: Could not locate thirdparty package gles2, excluding from build
WARNING: Could not locate thirdparty package egl, excluding from build
WARNING: Could not locate pkg-config package gtk+-2.0, excluding from build
Removing file built/Frameworks/Cg.framework/Cg
Generating dependencies...
WARNING: file depends on Python but is not in an ABI-specific directory: built/bin/p3dcparse
WARNING: file depends on Python but is not in an ABI-specific directory: built/bin/deploy-stub
WARNING: file depends on Python but is not in an ABI-specific directory: built/bin/deploy-stubw
[  2%] Linking static library built/tmp/libp3cppParser.a
libtool: object: built/tmp/p3cppParser_composite1.o malformed object (unknown load command 1)
libtool: object: built/tmp/p3cppParser_composite2.o malformed object (unknown load command 1)
libtool: object: built/tmp/p3cppParser_cppBison.o malformed object (unknown load command 1)
Storing dependency cache.
Elapsed Time: 1 sec
The following command returned a non-zero value: libtool -static -o built/tmp/libp3cppParser.a built/tmp/p3cppParser_composite1.o built/tmp/p3cppParser_composite2.o built/tmp/p3cppParser_cppBison.o

我已经尝试删除构建的目录,从头开始,但它不能正确编译。 然而,我得到了另一个更有趣的错误。你知道吗

panda3d euler@mac $  python makepanda/makepanda.py --everything --installer --osxtarget 10.14
Version: 1.10.3
Platform: macosx-10.14-x86_64
Using Python 2.7
Target OS: darwin
Target arch: x86_64
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package gles, excluding from build
WARNING: Could not locate thirdparty package gles2, excluding from build
WARNING: Could not locate thirdparty package egl, excluding from build
Couldn't find library libpython2.7
ERROR: Could not locate thirdparty package python in specified directory, aborting build
Storing dependency cache.
Elapsed Time: 0 sec

Build terminated.

我已经升级了我的自制软件,更新了Xcode命令行工具,并重新安装了python2。它似乎不起作用https://github.com/panda3d/panda3d

跑步

/opt/local/bin/libtool

给我这个。你知道吗

救命,我想


Tags: frombuildpackageobjectnottmpx86locate

热门问题