bfirsh / bfirsh/python-echoprint

Issue in running setup.py

Đang mở
#2 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
28
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.