At some point, I remember that there have been a mess when merging changes from interpreter-VM in cog-vm branch. This might have infected the Pharo-branch and this plugin may have been retracted at that time. I'm not really sure, but that would be my starting point for inquiring about MIDIPlugin status (that's what a CI server can serve well). 2013/6/19 jannik.laval <jannik.laval@gmail.com>
MIDIPlugin is loaded in a prvious PharoVM version (7.zip in the file directory). Here is the system report, probably something has change since this version:
=== Image ----- /Users/janniklaval/Desktop/Pharo-2.0/Pharo-2.0.image Pharo2.0 Latest update: #20593 Unnamed
Virtual Machine --------------- /Users/janniklaval/Desktop/Pharo-2.0/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012 NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012 git://gitorious.org/cogvm/blessed.git Commit: 452863bdfba2ba0b188e7b172e9bc597a2caa928 Date: 2012-12-07 16:49:46 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #5922
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString git://gitorious.org/cogvm/blessed.git Commit: 452863bdfba2ba0b188e7b172e9bc597a2caa928 Date: 2012-12-07 16:49:46 +0100 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #5922 NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012 NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Dec 12 2012 ===
Jannik
On Jun 19, 2013, at 10:05 PM, NISHIHARA Satoshi <goonsh@gmail.com> wrote:
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 <jannik.laval@gmail.com>
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 <stephane.ducasse@inria.fr> wrote:
yes.
On Jun 19, 2013, at 6:56 PM, NISHIHARA Satoshi <goonsh@gmail.com> wrote:
Mac OS X?
2013/6/19 jannik laval <jannik.laval@gmail.com>
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]