caseOf: MacOSX

1. MIDIPlugin in Pharo vm requires SerialPlugin (see sqMacMIDI.c).
2. source of SerialPlugin is sqUnixSerial.c (see MacOSConfig>>
configureSerialPlugin: in vmmaker-image).
3. at midiInit() of sqMacMIDI.c, it checks the functions of SerialPlugin,
but functions below ware missing.
  serialPortIsOpen
  serialPortSetControl
  serialPortNames
  serialPortCount
So midiInit() returns interpreterProxy success: false. it causes primitive
error while loading.

2013/05/03, i'd tried to build vm after these ioLoadFunctionFrom 4
functions comment out, and load sound package from PharoExtras, it could
use ScorePlayer. yes, checked midi-out only.

at least up to Pharo 1.2 MIDIPlugin was loaded.

regards.




2013/6/20 jannik.laval <[email protected]>

> In a previous version it was loaded, but I don't remember which one.
>
> Jannik
>
> On Jun 19, 2013, at 9:24 PM, Stéphane Ducasse <[email protected]>
> wrote:
>
> yes.
>
> On Jun 19, 2013, at 6:56 PM, NISHIHARA Satoshi <[email protected]> wrote:
>
> Mac OS X?
>
>
> 2013/6/19 jannik laval <[email protected]>
>
>> Hi pharoers,
>>
>> It seems that MidiPlugin is not loaded in Pharo2.0.
>> The plugin is present in the repository, but when I try "Smalltalk
>> loadModule: 'MIDIPlugin'" it raises an error.
>>
>> In "Smalltalk listLoadedModules" and "Smalltalk listBuiltinModules" there
>> is no MIDIPlugin.
>> Could someone give me some help to solve this ?
>>
>> Jannik
>>
>
>
>
> --
> --
> "NISHIHARA Satoshi"
> [:goonsh :nsh | ^ nishis perform: goonsh with: nsh]
>
>
>
>


-- 
--
"NISHIHARA Satoshi"
[:goonsh :nsh | ^ nishis perform: goonsh with: nsh]

Reply via email to