Touchpy under windows
Posted: 26 June 2008 12:25 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  32
Joined  2007-12-05

Hi all,

I am trying to setup touchpy under windows and the problem that I have is liblo is not in the standard python modules, so it needs to be compiled. So I set up MinGW and MSYS to compile it but I got errors at the make command. I am going to try to correct those errors but if someone has done this before it would be great to hear from his/her experiences.
The other thing is, at the end I will need pyliblo right? So I will need to compile that as well, but since it depends on liblo that must be compiled first.
So if anyone has something please share. Otherwise I will, if I get to resolve this.

Thanks a lot
Greg

Profile
 
 
Posted: 26 June 2008 12:39 PM   [ Ignore ]   [ # 1 ]
Elite
Avatar
RankRankRankRank
Total Posts:  275
Joined  2008-04-22

Can you post the errors you get? 

Yes, you will need pyliblo, but that is a Python file, so it will install no problem.  When you get TouchPy running some things will not work, for instance, Windows does not use X, so wmxlibutil won’t work.  That isn’t that big of a problem, you just won’t be able to use movewindows.py or mouse.py.  You could write a windows version, if you wanted to.  We would really appreciate some getting started on windows notes, and a windows version of mouse.py and movewindows.py if you ever get that far.

Good Luck!

Alex

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile
 
 
Posted: 26 June 2008 02:16 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  47
Joined  2007-03-04

i couldn’t get liblo compiled through cygwin… there is an OSC.py floating around here or there that may work, i think it is based on twisted… of course there is always twisted

Profile
 
 
Posted: 26 June 2008 02:18 PM   [ Ignore ]   [ # 3 ]
Elite
Avatar
RankRankRankRank
Total Posts:  275
Joined  2008-04-22

If you are going to use OSC.py, then use the old TouchPy.  We used it there, and it may work.  It was rather buggy, however.

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile
 
 
Posted: 26 June 2008 03:16 PM   [ Ignore ]   [ # 4 ]
Jr. Member
RankRank
Total Posts:  32
Joined  2007-12-05

The thing is that there are a lot of missing header files. I tried to download a couple of them from the internet but the other headers that are included in them are missing too. So I don’t really know if its possible to get all the files…

Profile
 
 
Posted: 26 June 2008 04:43 PM   [ Ignore ]   [ # 5 ]
Jr. Member
RankRank
Total Posts:  32
Joined  2007-12-05

Here is where I am at:
I downloaded pthreads and I put the headerfiles in the src directory of liblo, so now the compilation goes quite a bit but then I get this error:
mingw32\bin\ld.exe: cannot find -lpthread
Since I could compile pthreads, I have the pthreadGC2.dll but I dont know where ld.exe is looking for it? Does anyone know?

Profile
 
 
Posted: 01 July 2008 08:55 AM   [ Ignore ]   [ # 6 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  79
Joined  2008-03-02

Ok pthreadGC2.dll should be in your LIBRARY path .. when you are compiling (if it’s done with mingw), you need the pthreadGC in your lib folder,
there is an issue with pthread as far I remmember .. you will need also the pthread.a or pthread.la (not sure anymore). If you have difficulties with it
I could try to compile that myself, but anyway I’m doing the osc.py fallback in touchpy so pyliblo would be used just as primary option.
Anyway here is a guide to help you trough compiling liblo: http://iua-share.upf.es/wikis/clam/index.php/Devel/Windows_MinGW_cross_compile#liblo
That worked for me .. I was able to compile liblo and pthread (dll and exe release for windows) when doing the toxy app.
(it was compiled however on linux, but that means crosscompiled = more brain damage and harder) smile

Profile
 
 
Posted: 02 July 2008 06:39 AM   [ Ignore ]   [ # 7 ]
Jr. Member
RankRank
Total Posts:  32
Joined  2007-12-05

Thanx for the info jet-plane, I will try this one.

Profile
 
 
Posted: 15 July 2008 05:10 PM   [ Ignore ]   [ # 8 ]
Elite
Avatar
RankRankRankRank
Total Posts:  275
Joined  2008-04-22

Any info on this?  Did it work?

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile
 
 
   
 
 
‹‹ Multi-Touch and Python      Pyliblo on Mac ››