…
gcc -D_GNU_SOURCE=1 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC
-DUSE_TIMIDITY_MIDI -I./timidity -DUSE_NATIVE_MIDI -I./native_midi -c
./native_midi/native_midi_mac.c -fno-common -DPIC -o
build/.libs/native_midi_mac.o
./native_midi/native_midi_mac.c:51: error: ‘NoteRequest’ undeclared here
(not in a function)
./native_midi/native_midi_mac.c:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
’attribute’ before ‘gTunePlayer’
./native_midi/native_midi_mac.c: In function ‘native_midi_loadsong’:
./native_midi/native_midi_mac.c:134: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:134: error: (Each undeclared identifier is
reported only once
./native_midi/native_midi_mac.c:134: error: for each function it appears
in.)
./native_midi/native_midi_mac.c:135: error: 'kTunePlayerComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_loadsong_RW’:
./native_midi/native_midi_mac.c:197: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:198: error: 'kTunePlayerComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_freesong’:
./native_midi/native_midi_mac.c:239: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_start’:
./native_midi/native_midi_mac.c:251: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:260: error: ‘kTuneStartNow’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_stop’:
./native_midi/native_midi_mac.c:310: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_active’:
./native_midi/native_midi_mac.c:322: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:324: error: ‘TuneStatus’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c:324: error: expected ‘;’ before ‘ts’
./native_midi/native_midi_mac.c:326: error: ‘ts’ undeclared (first use in
this function)
./native_midi/native_midi_mac.c: In function ‘native_midi_setvolume’:
./native_midi/native_midi_mac.c:335: error: ‘gTunePlayer’ undeclared (first
use in this function)
./native_midi/native_midi_mac.c: In function ‘BuildTuneSequence’:
./native_midi/native_midi_mac.c:432: error: ‘kFirstDrumkit’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:434: error: ‘kFirstGMInstrument’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:504: error: ‘kControllerVolume’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:516: error: ‘kControllerPan’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:567: error: ‘kControllerPitchBend’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:618: error: ‘kEndMarkerValue’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c: In function ‘BuildTuneHeader’:
./native_midi/native_midi_mac.c:627: error: ‘myNoteRequest’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:628: error: ‘NoteAllocator’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:628: error: expected ‘;’ before
’myNoteAllocator’
./native_midi/native_midi_mac.c:633: error: ‘myNoteAllocator’ undeclared
(first use in this function)
./native_midi/native_midi_mac.c:638: error: 'kNoteAllocatorComponentType’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:661: error: 'kGeneralEventNoteRequest’
undeclared (first use in this function)
./native_midi/native_midi_mac.c:662: error: expected expression before ')'
token
./native_midi/native_midi_mac.c:688: error: ‘kEndMarkerValue’ undeclared
(first use in this function)
make: *** [build/native_midi_mac.lo] Error 1
This has been updated (and tested) with some ALSA fixes from
yesterday, and if everything looks good, we’ll release today!On Wed, Oct 7, 2009 at 1:19 AM, Sam Lantinga <@slouken> wrote:
I can confirm that all of the new builds, build ok on Haiku. I didn’t
get time to test them all, but they are at least building ok.
-scottmcOn Mon, Oct 19, 2009 at 8:27 AM, Sam Lantinga wrote:
Any more word on this? ?Good? ?Bad? ?Ugly?
This has been updated (and tested) with some ALSA fixes from
yesterday, and if everything looks good, we’ll release today!
The bug is listed as #849 and Sam did provide a patch with revision 5120
(prior 1.2.14 release) that fixed the problem for the GDI driver as
introduced with revision 4478.
But now I noticed while testing our app under various OS combinations
that the revision 4478 introduced the same bug for directx, too! Bug #849 has been closed with just a partial fix.
Can anyone supply a fix for directx?
Thanks,
Ronald> On Fri, Oct 16, 2009 at 3:01 AM, Ronald Lamprecht <R.Lamprecht at t-online.de> wrote:
Hi,
Sam Lantinga wrote:
Barring any showstoppers, this is going live on Sunday!
Noooo - just detected a no_go for the average Windows user:
The mouse cursor totally disappears when other applications get active and
happen to move the mouse over the area of an SDL application!
Details:
When the SDL app releases the mouse grab and shows and redraws the cursors
to allow the user to use other applications the standard Windows cursor
appears when the mouse leaves the SDL app window. The SDL app cursor appears
and moves again when the mouse enters the SDL window area - this is correct
and unmodified to earlier releases.
But when the user once activates another application by clicking in another
window and move then the cursor back to SDL app window the standard cursor
disappears and no SDL cursor appears. The user has no idea where the mouse
is! Just when activating the SDL app by clicking blindly anywhere within the
SDL window the SDL cursor reappears. This behaviour has changed to earlier
SDL releases and is certainly a serious bug.
I just tested this feature on Windows XP with the todays prerelease of
1.2.14. The application is a MinGW compilation. I will check other operating
systems like Linux later on.