Skip to content

gourneau/pymotion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a fork of the pymotion library.

Links

Status and notes

I was able to patch unimotion.c - the copy here is the same as the original. Build arguments seem wrong, though.

Unimotion is written to become a dynamic library only. I was able to get it to build the required x86_64 arch by changing unimotion/Makefile:

CFLAGS=-Wall -Os -g -isysroot /Developer/SDKs/$(SDK) -arch i386 -arch ppc -arch x86_64 -fconstant-cfstrings
LFLAGS=-Wl,-syslibroot,/Developer/SDKs/$(SDK) -arch i386 -arch ppc -arch x86_64 -framework IOKit -framework CoreFoundation

But then the libUniMotion.dylib has to be in the Python binary directory, and still fails. Drat.

Tried creating unimotion.so, but that doesn't work either, I lack knowledge of the Framework/shared object boundary and interactions.

I'm currently stumped. Help is welcome.

About

Python bindings for the UniMotion library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.6%
  • Python 3.4%