bfirsh / bfirsh/python-echoprint

Issue in running setup.py

未关闭
#2 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
28
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

Hi below is the output when I run python setup.py install

running install
running build
running build_ext

building 'echoprint' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/taglib -Ilibcodegen -I/usr/include/python2.7 -c libcodegen/AudioBufferInput.cxx -o build/temp.linux-x86_64-2.7/libcodegen/AudioBufferInput.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from libcodegen/AudioStreamInput.h:14:0,
from libcodegen/AudioBufferInput.h:14,
from libcodegen/AudioBufferInput.cxx:11:
libcodegen/File.h: In static member function ‘static bool File::Exists(const char_)’:
libcodegen/File.h:30:71: error: ‘F_OK’ was not declared in this scope
static bool Exists(const char_ filename){return (access(filename, F_OK) == 0);}
^
libcodegen/File.h:30:75: error: ‘access’ was not declared in this scope
static bool Exists(const char\* filename){return (access(filename, F_OK) == 0);}
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

i think it is missing some files..
as workaround I copied files from https://github.com/echonest/echoprint-codegen/tree/release-4.12
I don't know if some one else had the issue.
So don't want to pollute repo.
But if it happens in future. Please copy files from the repo

@admin - please close the current issue

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with the setup.py install command and the failing compilation in libcodegen/File.h. Compare the repository files with the referenced echonest/echoprint-codegen release-4.12 files, then rebuild the extension to confirm the reported errors are resolved.

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, python
领域
build-system
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。