[PD-dev] compiling HID

Hans-Christoph Steiner hans at eds.org
Mon Feb 6 22:13:32 CET 2006


No need for symlinks, just my overcomplicated build system for hid (it  
should be simplified).

To generate input_arrays.c and input_arrays.h, do this:

cd externals/hcs/hid
./make-arrays-from-input.h.pl

.hc

On Feb 6, 2006, at 3:37 PM, B. Bogart wrote:

> Hi Hans,
>
> Alas, another need for symlinks in CVS..
>
> So I checked out packages and now "make" in hcs/hid gives me:
>
> make -C ../../ hid
> make[1]: Entering directory `/home/bbogart/pd-stuff/externals'
> make[1]: *** No rule to make target
> `/home/bbogart/pd-stuff/externals/../externals/hcs/hid/input_arrays.c',
> needed by
> `/home/bbogart/pd-stuff/externals/../externals/hcs/hid/input_arrays.o'.
> Stop.
> make[1]: Leaving directory `/home/bbogart/pd-stuff/externals'
> make: *** [default] Error 2
>
> Indeed there seems to be no input_arrays.c in packages nor externals.
>
> I guess I'll get the extended package to get the binary.
>
> Thanks Hans,
>
> .b..
>
> On Mon, February 6, 2006 12:00 pm, Hans-Christoph Steiner said:
>>
>> Its all just a directory tree starting at /cvsroot/pure-data, so it
>> seems somewhat arbitrary to specify a level at with each directory
>> should be a standalone module.  I do believe that there should be no
>> sources dependencies outside of /cvsroot/pure-data (headers and
>> libraries are a different story of course).
>>
>> If you don't want to check out all of /packages/ (which is not big)  
>> you
>> can just:
>>
>> cvs co packages/Makefile.buildlayout
>>
>> I originally had a Makefile.buildlayout in each of the first level
>> directories (abstractions, externals, etc), but since they were all
>> exactly the same file, it was a maintenance headache and seemed like a
>> bad idea.
>>
>> .hc
>>
>> On Feb 6, 2006, at 11:24 AM, B. Bogart wrote:
>>
>>> Hey Hans,
>>>
>>> After trying to compile HID from CVS I got this error:
>>>
>>> Makefile:24:
>>> /home/bbogart/pd-stuff/externals/hcs/hid/../../../packages/
>>> Makefile.buildlayout:
>>> No such file or directory
>>> make: *** No rule to make target
>>> `/home/bbogart/pd-stuff/externals/hcs/hid/../../../packages/
>>> Makefile.buildlayout'.
>>>  Stop.
>>>
>>> I'd like to be able to compile HID without depending on the packages
>>> module. Does it make sense that one module in CVS depends on another?
>>>
>>> Thanks,
>>>
>>> .b.
>>>
>>>
>>> _______________________________________________
>>> PD-dev mailing list
>>> PD-dev at iem.at
>>> http://lists.puredata.info/listinfo/pd-dev
>>>
>>
>> ______________________________________________________________________ 
>> __
>> ____
>>
>> I spent 33 years and four months in active military service and during
>> that period I spent most of my time as a high class muscle man for Big
>> Business, for Wall Street and the bankers.
>>                                              - General Smedley Butler
>>
>>
>
>

________________________________________________________________________ 
____

Using ReBirth is like trying to play an 808 with a long stick.
                                               -David Zicarelli





More information about the Pd-dev mailing list