[PD] aka.wiiremote object for os x

2009-01-20 Thread Florian Krebs
I would like to work on akawiiremote a bit, because it seems to be the only 
external for wiimote and pd on mac.
Can somebody, who has successfully compiled it yet, tell which version of Pd 
he/she has used ?
I still haven't managed to compile it with neither pd-extended-0.40-3, nor 
pd-0.42-3, and would like to try it with another build system.
Thanks,

Florian 



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] aka.wiiremote object for os x

2009-01-18 Thread Florian Krebs
Hello, I was trying a lot, but unfortunately I still don't get it 
compiled/linked...

i assume you got the aka.wiiremote sources via svn from
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/io/aka.wiiremote

yes I do.

by checkout the entire 'externals' branch i meant, you should checkout
the entire externals directory:
$ svn co
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/

then repeat the steps (aka.wiiremote has no real makefile, instead it's
make instructions are within
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/Makefile)

I did, but when calling the makefile I get:
make: *** No rule to make target `pre_all_', needed by `all'.  Stop.

try to compile another external (that works) and see which exact
compiler/linker commands are called.

I tried a modified makefile from tm's iemlib (see attachement) and I get:

Macintosh-2:aka.wiiremote-2008-07-22$ make
:: aka.wiiremote.o wiiremote.o
cc -bundle -bundle_loader 
/Applications/Pd-extended.app/Contents/Resources/bin/pd -o 
akawiiremote.pd_darwin *.o -ldl -lm -lpthread
Undefined symbols:
  _CFRelease, referenced from:
  _wiiremote_search in wiiremote.o
  _IOBluetoothDeviceInquiryDelete, referenced from:
  _wiiremote_search in wiiremote.o
  _wiiremote_stopsearch in wiiremote.o
(...)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [all] Error 1

I don't find any mentioning of the wiiremote.h header file in the makefile. 
Maybe I have to include it somehow in the makefile ?
Thanks,

Greetings
Florian


  

Makefile
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] aka.wiiremote object for os x

2009-01-17 Thread Florian Krebs

Thanks for your answer.

ah i think you are experiencing the joys of pd-extended.
the solution is simple: just checkout the entire externals branch and
redo what you have done.

You are right I do use Pd version 0.40.3-extended...
What do you mean with checkout the eternals branch ? I renamed the directory 
Contents/Resources/extra to extra_temp, but nothing changed. 

there are certainly simpler ways, e.g. copy an existing Makefile for
multi-source libraries (e.g. one of tm's iemlib libraries) and adapt it
to your needs.

Unfortunately I don't know so much about Makefiles.
But shouldn't this basically work with :

akawiiremote.pd_darwin: aka.wiiremote.c wiiremote.c wiiremote.h
gcc -o akawiiremote.pd_darwin aka.wiiremote.c wiiremote.c wiiremote.h

(but unfortunately it doesn't)

Thanx,

Florian



  ___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list