denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Fairly good news Re: MIDI in on windows binaries


From: Richard Shann
Subject: Re: [Denemo-devel] Fairly good news Re: MIDI in on windows binaries
Date: Wed, 02 Jan 2013 16:39:04 +0000

On Wed, 2013-01-02 at 07:53 -0600, Jeremiah Benham wrote:
> On 01/02/13 06:37, Richard Shann wrote:
> > Have you reverted all changes you made introducing/removing the
> > -mwindows flag?
> 
> I removed this -mwindows flag on this one I just uploaded:
> denemo-1.0.0.~rc.4-0.mingw.exe. If I could get this to build in debian 
> stable, I could have snapshots automated by a server.

Great- I ran denemo-console.exe and I got the output given below.
The important bit is

audio driver is 'portaudio' 0
initializing PortAudio backend
opening output device 'MME: Microsoft Sound Mapper - Output'

** (denemo-console.exe:3160): WARNING **:
The default soundfont has been loaded

MIDI driver is 'dummy'
initializing dummy MIDI backend

I tracked this back to the denemorcV2 file which had <midi_driver> set
to none, I changed it to portaudio and then re-ran denemo-console.exe
this time it gave
MIDI driver is 'portmidi' and then
a g_warning that PortMidi backend is not enabled

and went back to the dummy backend. You can see in audiointerface.c

#ifdef _HAVE_PORTMIDI_
    backends[MIDI_BACKEND] = &portmidi_backend;
#else
    g_warning("PortMidi backend is not enabled\n");
#endif

so it would seem that _HAVE_PORTMIDI_ was not defined when that file was
compiled. I hope this gives you something to nail down the problem with
(obviously if necessary you can put in stuff to force the build to tell
you more, or you may be able to look at the actual log of the compile
step that generated audiointerface.o and see if it has -D_HAVE_PORTMIDI_
e.g. is there a missing underscore in the define, etc etc)

this is *soooo* close...

Richard

below is the full output from denemo-console.exe, I notice an enormous
PATH with the denemo bit repeated many times - is it somehow sticky I
wonder?


PS C:\Program Files\Denemo\usr\bin> .\denemo-console.exe
Setting GUILE_LOAD_PATH=C:\Program Files\Denemo\usr\share\guile;C:\Program 
Files\Denemo\usr\share\guile\1.8;C:\Program F
iles\Denemo\usr\share\lilypond\current\scm
Setting PANGO_PREFIX=C:\Program Files\Denemo\usr
Setting GTK_PREFIX=C:\Program Files\Denemo\usr
Setting FONTCONFIG_PATH=C:\Program Files\Denemo\usr\etc\fonts
Setting FONTCONFIG_FILE=C:\Program Files\Denemo\usr\etc\fonts\fonts.conf
PATH set to C:\Windows\system32\WindowsPowerShell\v1.0\;C:\Program Files\PC 
Connectivity Solution\;C:\Windows\system32;C
:\Windows;C:\Windows\System32\Wbem;C:\Program 
Files\GNU_Denemo\usr\bin;C:\Program Files\GNU_Denemo\usr\bin;C:\Program Fi
les\GNU_Denemo\usr\bin;C:\Program Files\GNU_Denemo\usr\bin;C:\Program 
Files\GNU_Denemo\usr\bin;C:\Program Files\LilyPond
\usr\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\
Program Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\Program 
Files\Denemo\usr\bin;C:\Program Files\Denemo\usr
\bin;C:\Program Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\Program 
Files\Denemo\usr\bin;C:\Program Files\De
nemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\Program 
Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\Program
Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\Program 
Files\Denemo\usr\bin;C:\Program Files\Denemo\usr\bin;C:\
Program Files\Denemo\usr\lib
LILYPOND_DATA_PATH will be C:\Program Files\Denemo\usr\share\lilypond\current 
if not already setGUILE_LOAD_PATH is C:\Pr
ogram Files\Denemo\usr\share\guile;C:\Program 
Files\Denemo\usr\share\guile\1.8;C:\Program Files\Denemo\usr\share\lilypon
d\current\scm;C:\Program Files\Denemo\usr\share\denemo
rootdir=C:\Program Files\Denemo\usr
bindir=C:\Program Files\Denemo\usr\bin
rootdir=C:\Program Files\Denemo\usr
datadir=C:\Program Files\Denemo\usr\share\denemo

systemwide == C:\Program Files\Denemo\usr\etc\denemo\denemo.conf

xmlsource == C:\Program Files\Denemo\usr\etc\denemo\denemo.conf

xmlsource == C:\Users\jen\.denemo-1.0.0~rc4\denemorcV2

GNU Denemo, a free and open music notation editor
(c) 1999-2005, 2009 Matthew Hiller, Adam Tee, and others, 2010-2011 Richard 
Shann, Jeremiah Benham, Nils Gey and others.



This program is provided with absolutely NO WARRANTY; see
the file COPYING for details.

This software may be redistributed and modified under the
terms of the GNU General Public License; again, see the file
COPYING for details.

audio driver is 'portaudio' 0
initializing PortAudio backend
opening output device 'MME: Microsoft Sound Mapper - Output'

** (denemo-console.exe:3160): WARNING **:
The default soundfont has been loaded

MIDI driver is 'dummy'
initializing dummy MIDI backend

(denemo-console.exe:3160): Gtk-WARNING **: Error loading icon from file 
'C:\Program Files\Denemo\usr\share\denemo\icons\
denemo.png':
        Failed to open file 'C:\Program 
Files\Denemo\usr\share\denemo\icons\denemo.png': No such file or directory

(denemo-console.exe:3160): GLib-CRITICAL **: g_utf8_to_utf16: assertion `str != 
NULL' failed
recent (null)
Version 1_0_0_WinSimple Profile
Gtk version 2.17.9
Created temp dir C:\Users\jen\AppData\Local\Temp\Denemo1088459066

(denemo-console.exe:3160): Pango-WARNING **: couldn't load font "times Bold 
Italic Not-Rotated 10.7998046875", falling b
ack to "Sans Bold Italic Not-Rotated 10.7998046875", expect ugly output.

(denemo-console.exe:3160): Pango-WARNING **: couldn't load font "times Bold 
Not-Rotated 10.7998046875", falling back to
"Sans Bold Not-Rotated 10.7998046875", expect ugly output.

(denemo-console.exe:3160): GLib-CRITICAL **: g_dir_open_utf8: assertion `path 
!= NULL' failed




> 
> Jeremiah
> 
> > If you do that then it should be the case that
> > denemo-console.exe will throw up a terminal and I can see what is
> > happening (and, because of the change to calling lilypond-windows.exe
> > which I introducted into prefops.c the continuous typesetting will
> > continue to work without disturbing the user).
> >
> > Richard
> >
> >
> > On Wed, 2013-01-02 at 06:29 -0600, Jeremiah Benham wrote:
> >> It sounds like I am going to have to install windows in order to
> >> fascilitate testing:(
> >>
> >> Jeremiah
> >>
> >> Richard Shann <address@hidden> wrote:
> >>          On Mon, 2012-12-31 at 08:01 -0600, Jeremiah Benham wrote:
> >>                  This should have midi in. Does it not?
> >>          No sign of MIDI in unfortunately - and denemo-console.exe is still
> >>          without a console so I still cannot report on any messages.
> >>          
> >>          Richard
> >>          
> >>          
> >>          
> >>                  Jeremiah
> >>                  
> >>                  Richard Shann <address@hidden> wrote:
> >>                  On Sun, 2012-12-30 at 07:26 -0600, Jeremiah Benham wrote:
> >>                  I reverted the automake stuff (but did not yet commit to 
> >> git). I ran a
> >>                  test using a function with printf and portmidi it seems 
> >> to be linking
> >>                  now. I called this one rc4.
> >>                  
> >>                  I tried the 29th Dec rc4 windows
> >>                  exe, which has the call to
> >>                  lilypond-windows.exe ok - should that also do the MIDI 
> >> in? The
> >>                  denemo-console is still without a console in that 
> >> version...
> >>                  
> >>                  Richard
> >>                  
> >>                  
> >>                  
> >>                  --
> >>                  Sent from my Android phone with K-9 Mail. Please excuse 
> >> my brevity.
> >>          
> >>          
> >>
> >> -- 
> >> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> >
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]