enki-community / enki

A fast 2-D robot simulator. To contact us, please open an issue.
Other
36 stars 34 forks source link

pyenki include #1

Closed pallegro closed 11 years ago

pallegro commented 11 years ago

The pyenki module fails to build due to missing enki includes:

python/CMakeLists.txt:

20c20
<               include_directories(${PYTHON_INCLUDE_DIRS})

---
>               include_directories(${PYTHON_INCLUDE_DIRS} ${enki_SOURCE_DIR})
stephanemagnenat commented 11 years ago

I do not understand why we would need to include the Enki source directory, as enki.cpp of pyenki is including Enki with a relative path (#include "../enki/Types.h", etc.)

pallegro commented 11 years ago

I tried building again and it worked. Sorry for the noise, closing. It was an include from Epuck.h (itself successfully included from enki.cpp) that was giving trouble.