Hey Sean,

I compiled the HSS1394 library on OS X a while ago, just forgot to
document it for you, sorry!

I had to add this to Mixxx's SConscript under the hss1394 block:
        env.Append(LINKFLAGS = '-framework IOKit')

Then I had to put the following files in /usr/local/include/hss1394/ :
HSS1394.h
HSS1394Types.h

and I copied the library into /usr/local/lib :
libhss1394.a

This library .a file was the output of an XCode compile of the HSS1394
library, and was originally output as
HSS1394_R1-00/HSS1394/code/builds/osx/HSS1394lib/build/Release/libHSS1394lib.a
(I had to rename it to lowercase to get Mixxx to build.)


I'm hesistent to put these files in mixxx-maclib because we don't
currently use mixxx-maclib at all. (Search our SConscript if you don't
believe me) :)

Can you try writing a SConscript for the HSS1394 library and putting
it all in our lib/ directory instead? I don't want to force Windows +
Mac people to bother with compiling this obscure dependency. If we
could build it along with Mixxx, then that's probably the best
solution we can have for now.

Thanks,
Albert


On Tue, May 18, 2010 at 4:28 AM, Sean M. Pappalardo - D.J. Pegasus
<spappala...@mixxx.org> wrote:
> Hello again everyone.
>
> Would the OSX developers among us please stand up?
>
> In order to attempt to avoid platform-specific code in Mixxx, I'm
> exploring the option of porting Stanton's HSS1394 library to Linux
> starting with the supplied OSX code (since Linux is more similar to OSX
> than Windows.) I've already built three of the four source files
> required to make a library, but the fourth platform-specific one uses a
> number of OSX mechanisms for which Linux equivalents aren't immediately
> apparent (to this relatively new developer at least.)
>
> Specifically: CFRunLoop, IOCFPlugInInterface, io_service_t.
>
> (There's also IOFireWireLibDevice, FWAddress, and FWClientCommand but I
> think I can figure those out.)
>
> The OSX-specific files included are:
> #include <CoreFoundation/CoreFoundation.h>
> #include <Carbon/Carbon.h>              // Carbon multiprocessing support
> #include <mach/mach_time.h>             // Mach timing utilities
> #include <IOKit/IOKitLib.h>             // Kernel interface/1394 support
> #include <IOKit/firewire/IOFireWireLib.h>
> #include <IOKit/firewire/IOFireWireFamilyCommon.h>
> #include <libkern/OSAtomic.h>   // Kernel wait-free/atomic support
> #include <mach/mach_time.h>             // Time functions
>
>
> On another, easier note, I'm also still in need of an OSX dev to simply
> build the HSS1394 lib on OSX with the provided code, add the lib to the
> features_HSS1394 branch, and make sure that branch of Mixxx builds with
> it so we can add direct support on that OS as well.
>
> Thank you for any help you can provide!
>
> Sincerely,
> Sean M. Pappalardo
> "D.J. Pegasus"
> Mixxx Developer - Controller Specialist
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>

------------------------------------------------------------------------------

_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to