python-ffm icon indicating copy to clipboard operation
python-ffm copied to clipboard

some questions about installing

Open Twinkle123321 opened this issue 6 years ago • 5 comments

Hi, I some questions about installing,hoping you help me, when I use command:"python3 setup.py install " it shows as follows: running install running bdist_egg running egg_info writing ffm.egg-info/PKG-INFO writing dependency_links to ffm.egg-info/dependency_links.txt writing requirements to ffm.egg-info/requires.txt writing top-level names to ffm.egg-info/top_level.txt reading manifest file 'ffm.egg-info/SOURCES.txt' writing manifest file 'ffm.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py warning: build_py: byte-compiling is disabled, skipping.

running build_ext building 'ffm.libffm' extension gcc -pthread -B /home/guo/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibffm -I/home/guo/anaconda3/include/python3.6m -c ffm/ffm-wrapper.cpp -o build/temp.linux-x86_64-3.6/ffm/ffm-wrapper.o -Wall -O3 -std=c++11 -march=native -DUSESSE -DDEBUG=0 -DLINUX cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from ffm/ffm-wrapper.cpp:48:0: ffm/ffm-wrapper.h:8:17: fatal error: ffm.h: No such file or directory #include "ffm.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1

should I change code in ffm.h?

Twinkle123321 avatar May 22 '18 13:05 Twinkle123321

thank you advanced!

Twinkle123321 avatar May 22 '18 13:05 Twinkle123321

image

UCC-team avatar Jun 13 '18 13:06 UCC-team

How do you solve this same problem ? thank you

UCC-team avatar Jun 13 '18 13:06 UCC-team

creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/ffm creating build/temp.linux-x86_64-2.7/libffm gcc -pthread -B /usr/share/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibffm -I/usr/share/anaconda2/include/python2.7 -c ffm/ffm-wrapper.cpp -o build/temp.linux-x86_64-2.7/ffm/ffm-wrapper.o -Wall -O3 -std=c++11 -march=native -DUSESSE -DDEBUG=0 -DLINUX cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from ffm/ffm-wrapper.cpp:48:0: ffm/ffm-wrapper.h:8:17: fatal error: ffm.h: 没有那个文件或目录 #include "ffm.h" ^ compilation terminated. error: command 'gcc' failed with exit status 1

zenwan avatar Jul 25 '18 15:07 zenwan

Are you clone this project with --recursive option, such that

git clone --recursive https://github.com/keyunluo/python-ffm, @zenwan ?

keyunluo avatar Jul 28 '18 01:07 keyunluo