Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some questions about installing #5

Open
Twinkle123321 opened this issue May 22, 2018 · 5 comments
Open

some questions about installing #5

Twinkle123321 opened this issue May 22, 2018 · 5 comments

Comments

@Twinkle123321
Copy link

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
Copy link
Author

thank you advanced!

@UCC-team
Copy link

image

@UCC-team
Copy link

How do you solve this same problem ? thank you

@zenwan
Copy link

zenwan commented Jul 25, 2018

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

@keyunluo
Copy link
Owner

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants