openworm / sibernetic

This is a C++/OpenCL implementation of the PCISPH algorithm supplemented with a set of biomechanics related features applied to C. elegans locomotion
Other
353 stars 106 forks source link

Can't compile Sibernetic under Ubuntu Linux #39

Closed slarson closed 10 years ago

slarson commented 10 years ago

Building file: ../src/PyramidalSimulation.cpp Invoking: GCC C++ Compiler g++ -I/usr/include/python2.7/ -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/PyramidalSimulation.d" -MT"src/PyramidalSimulation.d" -o "src/PyramidalSimulation.o" "../src/PyramidalSimulation.cpp" In file included from ../src/PyramidalSimulation.cpp:12:0: ../src/PyramidalSimulation.h:8:42: fatal error: C:/Python27/include/Python.h: No such file or directory compilation terminated. make: *\ [src/PyramidalSimulation.o] Error 1

Originally filed by @msasinski

Transferred here from the main OpenWorm board in this issue

slarson commented 10 years ago

@a-palyanov and @skhayrulin bringing this to your attention and the comment from @neurophile:

"I'm pretty sure I have fixed this error before. Somebody who is developing on Windows needs to be more careful about inserting hard paths into the source file without wrapping them in ifdef. Really there shouldn't be any hard paths in the .cpp or .h files, that stuff belongs in the project / makefiles."

NHDaly commented 10 years ago

any better?

msasinski commented 10 years ago

It compiles but as soon as it's run it segfaults. But since that is another issue, this can be closed now..until it gets reintroduced again :)