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

can not install imusim since "no such file: imusim/maths/quaternions.c" #4

Open
wang-chen opened this issue Sep 7, 2015 · 1 comment

Comments

@wang-chen
Copy link

Hi, I am using ubuntu 14.04 to install the imusim, but i meet the following problem, it says can not find the quaternions.c file. I have search the whole repository, also cannot find it. Is there anyone can help me? Thanks very much!

Here are the part of the instructions:
building 'imusim.maths.quaternions' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c imusim/maths/quaternions.c -o build/temp.linux-x86_64-2.7/imusim/maths/quaternions.o
x86_64-linux-gnu-gcc: error: imusim/maths/quaternions.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 4

@boeboe26
Copy link

boeboe26 commented Nov 5, 2015

Some missing C files need to be generated manually with Cython: (If you don't do this you will get errors like "clang: error: no such file or directory: 'imusim/maths/quaternions.c'")

cython -a imusim/maths/*.pyx

More help:
http://stackoverflow.com/questions/24771491/how-to-install-imusim

Furthermore, SimPy2 needs to be installed:
https://bitbucket.org/simpy/simpy2/get/ea5887ea9527.zip

And in Spyder, you need to activate:
Ignore API change errors (sip.setapi) checkbox in Preferences > Console > External Modules.

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

2 participants