Portmidi + AMD64 + GCC4

View: New views
7 Messages — Rating Filter:   Alert me  

Portmidi + AMD64 + GCC4

by José Serralde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.  I am trying to use Csound5 with its portmidi support;
unfortunately, Portmidi is reporting pointer to integer conversion of a
different size errors.  I have faced these compilation problems before
while at gcc4 and amd64, and had needed developer's intervention.  Could
anyone provide some information for the solution of my problem?

I would really need to work with portmidi support.

Thank you in advance,

José

Some of the output (some in spanish):

gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
pm_linux/pmlinuxalsa.c: En la función ‘alsa_out_open’:
pm_linux/pmlinuxalsa.c:150: aviso: conversión de puntero a entero de
tamaño diferente
pm_linux/pmlinuxalsa.c:151: aviso: conversión de puntero a entero de
tamaño diferente
pm_linux/pmlinuxalsa.c: En la función ‘alsa_in_open’:
pm_linux/pmlinuxalsa.c:292: aviso: conversión de puntero a entero de
tamaño diferente
pm_linux/pmlinuxalsa.c:293: aviso: conversión de puntero a entero de
tamaño diferente
pm_linux/pmlinuxalsa.c: En la función ‘pm_linuxalsa_init’:
pm_linux/pmlinuxalsa.c:702: aviso: conversión a puntero desde un entero
de tamaño diferente
pm_linux/pmlinuxalsa.c:712: aviso: conversión a puntero desde un entero
de tamaño diferente
gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
pm_linux/pmlinux.o pm_linux/pmlinux.c



_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Re: Portmidi + AMD64 + GCC4

by Andres Cabrera-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
It looks like you are on linux, so you don't really need portmidi. There
is a native alsa midi plugin, which can use alsa midi directly. I'm
trying to find the scons option to build it, but can't find it... (There
was a recent discussion about this on the dev-list) anyway, it is used
with the csound command line flag -+rtmidi=alsa. See if this works...

Cheers,
Andres


On Tue, 2005-11-01 at 11:22 -0600, José Serralde wrote:

> Hi.  I am trying to use Csound5 with its portmidi support;
> unfortunately, Portmidi is reporting pointer to integer conversion of a
> different size errors.  I have faced these compilation problems before
> while at gcc4 and amd64, and had needed developer's intervention.  Could
> anyone provide some information for the solution of my problem?
>
> I would really need to work with portmidi support.
>
> Thank you in advance,
>
> José
>
> Some of the output (some in spanish):
>
> gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
> pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
> pm_linux/pmlinuxalsa.c: En la función ‘alsa_out_open’:
> pm_linux/pmlinuxalsa.c:150: aviso: conversión de puntero a entero de
> tamaño diferente
> pm_linux/pmlinuxalsa.c:151: aviso: conversión de puntero a entero de
> tamaño diferente
> pm_linux/pmlinuxalsa.c: En la función ‘alsa_in_open’:
> pm_linux/pmlinuxalsa.c:292: aviso: conversión de puntero a entero de
> tamaño diferente
> pm_linux/pmlinuxalsa.c:293: aviso: conversión de puntero a entero de
> tamaño diferente
> pm_linux/pmlinuxalsa.c: En la función ‘pm_linuxalsa_init’:
> pm_linux/pmlinuxalsa.c:702: aviso: conversión a puntero desde un entero
> de tamaño diferente
> pm_linux/pmlinuxalsa.c:712: aviso: conversión a puntero desde un entero
> de tamaño diferente
> gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
> pm_linux/pmlinux.o pm_linux/pmlinux.c
>
>
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
>
>


_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Re: Portmidi + AMD64 + GCC4

by José Serralde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you so much Andres, sorry for getting back this late.
Actually, there's a thread at the Csound list, that actually talks about
this NEW Csound support to MIDI with ALSA.  Fortunately I wont be using
PortMidi, nor trying to compile it again... I recognise it is a great
technology though.

Thx,

José

El lun, 07-11-2005 a las 08:09 -0500, Andres Cabrera escribió:

> Hi,
> It looks like you are on linux, so you don't really need portmidi. There
> is a native alsa midi plugin, which can use alsa midi directly. I'm
> trying to find the scons option to build it, but can't find it... (There
> was a recent discussion about this on the dev-list) anyway, it is used
> with the csound command line flag -+rtmidi=alsa. See if this works...
>
> Cheers,
> Andres
>
>
> On Tue, 2005-11-01 at 11:22 -0600, José Serralde wrote:
> > Hi.  I am trying to use Csound5 with its portmidi support;
> > unfortunately, Portmidi is reporting pointer to integer conversion of a
> > different size errors.  I have faced these compilation problems before
> > while at gcc4 and amd64, and had needed developer's intervention.  Could
> > anyone provide some information for the solution of my problem?
> >
> > I would really need to work with portmidi support.
> >
> > Thank you in advance,
> >
> > José
> >
> > Some of the output (some in spanish):
> >
> > gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
> > pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
> > pm_linux/pmlinuxalsa.c: En la función ‘alsa_out_open’:
> > pm_linux/pmlinuxalsa.c:150: aviso: conversión de puntero a entero de
> > tamaño diferente
> > pm_linux/pmlinuxalsa.c:151: aviso: conversión de puntero a entero de
> > tamaño diferente
> > pm_linux/pmlinuxalsa.c: En la función ‘alsa_in_open’:
> > pm_linux/pmlinuxalsa.c:292: aviso: conversión de puntero a entero de
> > tamaño diferente
> > pm_linux/pmlinuxalsa.c:293: aviso: conversión de puntero a entero de
> > tamaño diferente
> > pm_linux/pmlinuxalsa.c: En la función ‘pm_linuxalsa_init’:
> > pm_linux/pmlinuxalsa.c:702: aviso: conversión a puntero desde un entero
> > de tamaño diferente
> > pm_linux/pmlinuxalsa.c:712: aviso: conversión a puntero desde un entero
> > de tamaño diferente
> > gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
> > pm_linux/pmlinux.o pm_linux/pmlinux.c
> >
> >
> >
> > _______________________________________________
> > csoundtekno mailing list
> > csoundtekno@...
> >
> > Subscribe, unsubscribe, change mailing list options:
> > http://plot.bek.no/mailman/listinfo/csoundtekno
> >
> >
>
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno

_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Parent Message unknown Re: Portmidi + AMD64 + GCC4

by Michael Gogins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If people keep trying it and dropping it, it's not such a great technology after all.

Regards,
Mike

-----Original Message-----
From: Jos� Serralde <sonojm@...>
Sent: Nov 15, 2005 12:30 AM
To: andres@..., "Making electronic dance music with csound." <csoundtekno@...>
Subject: Re: [CsndTek] Portmidi + AMD64 + GCC4

Thank you so much Andres, sorry for getting back this late.
Actually, there's a thread at the Csound list, that actually talks about
this NEW Csound support to MIDI with ALSA.  Fortunately I wont be using
PortMidi, nor trying to compile it again... I recognise it is a great
technology though.

Thx,

Jos�

El lun, 07-11-2005 a las 08:09 -0500, Andres Cabrera escribi�:

> Hi,
> It looks like you are on linux, so you don't really need portmidi. There
> is a native alsa midi plugin, which can use alsa midi directly. I'm
> trying to find the scons option to build it, but can't find it... (There
> was a recent discussion about this on the dev-list) anyway, it is used
> with the csound command line flag -+rtmidi=alsa. See if this works...
>
> Cheers,
> Andres
>
>
> On Tue, 2005-11-01 at 11:22 -0600, Jos� Serralde wrote:
> > Hi.  I am trying to use Csound5 with its portmidi support;
> > unfortunately, Portmidi is reporting pointer to integer conversion of a
> > different size errors.  I have faced these compilation problems before
> > while at gcc4 and amd64, and had needed developer's intervention.  Could
> > anyone provide some information for the solution of my problem?
> >
> > I would really need to work with portmidi support.
> >
> > Thank you in advance,
> >
> > Jos�
> >
> > Some of the output (some in spanish):
> >
> > gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
> > pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
> > pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_out_open?:
> > pm_linux/pmlinuxalsa.c:150: aviso: conversi�n de puntero a entero de
> > tama�o diferente
> > pm_linux/pmlinuxalsa.c:151: aviso: conversi�n de puntero a entero de
> > tama�o diferente
> > pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_in_open?:
> > pm_linux/pmlinuxalsa.c:292: aviso: conversi�n de puntero a entero de
> > tama�o diferente
> > pm_linux/pmlinuxalsa.c:293: aviso: conversi�n de puntero a entero de
> > tama�o diferente
> > pm_linux/pmlinuxalsa.c: En la funci�n ?pm_linuxalsa_init?:
> > pm_linux/pmlinuxalsa.c:702: aviso: conversi�n a puntero desde un entero
> > de tama�o diferente
> > pm_linux/pmlinuxalsa.c:712: aviso: conversi�n a puntero desde un entero
> > de tama�o diferente
> > gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
> > pm_linux/pmlinux.o pm_linux/pmlinux.c
> >
> >
> >
> > _______________________________________________
> > csoundtekno mailing list
> > csoundtekno@...
> >
> > Subscribe, unsubscribe, change mailing list options:
> > http://plot.bek.no/mailman/listinfo/csoundtekno
> >
> >
>
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno

_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno




_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Re: Portmidi + AMD64 + GCC4

by iain duncan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I haven't had any problems with it yet, what have been the issues?

Iain

Michael Gogins wrote:

> If people keep trying it and dropping it, it's not such a great technology after all.
>
> Regards,
> Mike
>
> -----Original Message-----
> From: Jos� Serralde <sonojm@...>
> Sent: Nov 15, 2005 12:30 AM
> To: andres@..., "Making electronic dance music with csound." <csoundtekno@...>
> Subject: Re: [CsndTek] Portmidi + AMD64 + GCC4
>
> Thank you so much Andres, sorry for getting back this late.
> Actually, there's a thread at the Csound list, that actually talks about
> this NEW Csound support to MIDI with ALSA.  Fortunately I wont be using
> PortMidi, nor trying to compile it again... I recognise it is a great
> technology though.
>
> Thx,
>
> Jos�
>
> El lun, 07-11-2005 a las 08:09 -0500, Andres Cabrera escribi�:
>
>>Hi,
>>It looks like you are on linux, so you don't really need portmidi. There
>>is a native alsa midi plugin, which can use alsa midi directly. I'm
>>trying to find the scons option to build it, but can't find it... (There
>>was a recent discussion about this on the dev-list) anyway, it is used
>>with the csound command line flag -+rtmidi=alsa. See if this works...
>>
>>Cheers,
>>Andres
>>
>>
>>On Tue, 2005-11-01 at 11:22 -0600, Jos� Serralde wrote:
>>
>>>Hi.  I am trying to use Csound5 with its portmidi support;
>>>unfortunately, Portmidi is reporting pointer to integer conversion of a
>>>different size errors.  I have faced these compilation problems before
>>>while at gcc4 and amd64, and had needed developer's intervention.  Could
>>>anyone provide some information for the solution of my problem?
>>>
>>>I would really need to work with portmidi support.
>>>
>>>Thank you in advance,
>>>
>>>Jos�
>>>
>>>Some of the output (some in spanish):
>>>
>>>gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
>>>pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
>>>pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_out_open?:
>>>pm_linux/pmlinuxalsa.c:150: aviso: conversi�n de puntero a entero de
>>>tama�o diferente
>>>pm_linux/pmlinuxalsa.c:151: aviso: conversi�n de puntero a entero de
>>>tama�o diferente
>>>pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_in_open?:
>>>pm_linux/pmlinuxalsa.c:292: aviso: conversi�n de puntero a entero de
>>>tama�o diferente
>>>pm_linux/pmlinuxalsa.c:293: aviso: conversi�n de puntero a entero de
>>>tama�o diferente
>>>pm_linux/pmlinuxalsa.c: En la funci�n ?pm_linuxalsa_init?:
>>>pm_linux/pmlinuxalsa.c:702: aviso: conversi�n a puntero desde un entero
>>>de tama�o diferente
>>>pm_linux/pmlinuxalsa.c:712: aviso: conversi�n a puntero desde un entero
>>>de tama�o diferente
>>>gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
>>>pm_linux/pmlinux.o pm_linux/pmlinux.c
>>>
>>>
>>>
>>>_______________________________________________
>>>csoundtekno mailing list
>>>csoundtekno@...
>>>
>>>Subscribe, unsubscribe, change mailing list options:
>>>http://plot.bek.no/mailman/listinfo/csoundtekno
>>>
>>>
>>
>>
>>_______________________________________________
>>csoundtekno mailing list
>>csoundtekno@...
>>
>>Subscribe, unsubscribe, change mailing list options:
>>http://plot.bek.no/mailman/listinfo/csoundtekno
>
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
>
>
>
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
>

_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Re: Portmidi + AMD64 + GCC4

by istvan_v@mailbox.hu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andres Cabrera wrote:

> It looks like you are on linux, so you don't really need portmidi. There
> is a native alsa midi plugin, which can use alsa midi directly. I'm
> trying to find the scons option to build it, but can't find it... (There
> was a recent discussion about this on the dev-list) anyway, it is used
> with the csound command line flag -+rtmidi=alsa. See if this works...

You do not need an scons option, the MIDI driver is included
with the ALSA audio plugin (useALSA=1) which is built by default.
However, the use of ALSA for audio and MIDI can be enabled
separately with -+rtaudio=alsa and -+rtmidi=alsa.

_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno

Re: Portmidi + AMD64 + GCC4

by José Serralde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As I said before Mike, I was having problems with PortMidi compiling
with GCC4 at AMD64.  The problems I had were exposed at my original
post at this thread.  I have heard no complains but laudatory comments
about PortMidi for 32 bits architectures though.

Thx guys for following up.

José

2005/11/15, Iain Duncan <iainduncan@...>:

> I haven't had any problems with it yet, what have been the issues?
>
> Iain
>
> Michael Gogins wrote:
> > If people keep trying it and dropping it, it's not such a great technology after all.
> >
> > Regards,
> > Mike
> >
> > -----Original Message-----
> > From: Jos� Serralde <sonojm@...>
> > Sent: Nov 15, 2005 12:30 AM
> > To: andres@..., "Making electronic dance music with csound." <csoundtekno@...>
> > Subject: Re: [CsndTek] Portmidi + AMD64 + GCC4
> >
> > Thank you so much Andres, sorry for getting back this late.
> > Actually, there's a thread at the Csound list, that actually talks about
> > this NEW Csound support to MIDI with ALSA.  Fortunately I wont be using
> > PortMidi, nor trying to compile it again... I recognise it is a great
> > technology though.
> >
> > Thx,
> >
> > Jos�
> >
> > El lun, 07-11-2005 a las 08:09 -0500, Andres Cabrera escribi�:
> >
> >>Hi,
> >>It looks like you are on linux, so you don't really need portmidi. There
> >>is a native alsa midi plugin, which can use alsa midi directly. I'm
> >>trying to find the scons option to build it, but can't find it... (There
> >>was a recent discussion about this on the dev-list) anyway, it is used
> >>with the csound command line flag -+rtmidi=alsa. See if this works...
> >>
> >>Cheers,
> >>Andres
> >>
> >>
> >>On Tue, 2005-11-01 at 11:22 -0600, Jos� Serralde wrote:
> >>
> >>>Hi.  I am trying to use Csound5 with its portmidi support;
> >>>unfortunately, Portmidi is reporting pointer to integer conversion of a
> >>>different size errors.  I have faced these compilation problems before
> >>>while at gcc4 and amd64, and had needed developer's intervention.  Could
> >>>anyone provide some information for the solution of my problem?
> >>>
> >>>I would really need to work with portmidi support.
> >>>
> >>>Thank you in advance,
> >>>
> >>>Jos�
> >>>
> >>>Some of the output (some in spanish):
> >>>
> >>>gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime -c
> >>>pm_linux/pmlinuxalsa.c -o pm_linux/pmlinuxalsa.o
> >>>pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_out_open?:
> >>>pm_linux/pmlinuxalsa.c:150: aviso: conversi�n de puntero a entero de
> >>>tama�o diferente
> >>>pm_linux/pmlinuxalsa.c:151: aviso: conversi�n de puntero a entero de
> >>>tama�o diferente
> >>>pm_linux/pmlinuxalsa.c: En la funci�n ?alsa_in_open?:
> >>>pm_linux/pmlinuxalsa.c:292: aviso: conversi�n de puntero a entero de
> >>>tama�o diferente
> >>>pm_linux/pmlinuxalsa.c:293: aviso: conversi�n de puntero a entero de
> >>>tama�o diferente
> >>>pm_linux/pmlinuxalsa.c: En la funci�n ?pm_linuxalsa_init?:
> >>>pm_linux/pmlinuxalsa.c:702: aviso: conversi�n a puntero desde un entero
> >>>de tama�o diferente
> >>>pm_linux/pmlinuxalsa.c:712: aviso: conversi�n a puntero desde un entero
> >>>de tama�o diferente
> >>>gcc -DPMALSA -DPM_CHECK_ERRORS -g -Ipm_common -Iporttime    -c -o
> >>>pm_linux/pmlinux.o pm_linux/pmlinux.c
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>csoundtekno mailing list
> >>>csoundtekno@...
> >>>
> >>>Subscribe, unsubscribe, change mailing list options:
> >>>http://plot.bek.no/mailman/listinfo/csoundtekno
> >>>
> >>>
> >>
> >>
> >>_______________________________________________
> >>csoundtekno mailing list
> >>csoundtekno@...
> >>
> >>Subscribe, unsubscribe, change mailing list options:
> >>http://plot.bek.no/mailman/listinfo/csoundtekno
> >
> >
> > _______________________________________________
> > csoundtekno mailing list
> > csoundtekno@...
> >
> > Subscribe, unsubscribe, change mailing list options:
> > http://plot.bek.no/mailman/listinfo/csoundtekno
> >
> >
> >
> >
> > _______________________________________________
> > csoundtekno mailing list
> > csoundtekno@...
> >
> > Subscribe, unsubscribe, change mailing list options:
> > http://plot.bek.no/mailman/listinfo/csoundtekno
> >
>
> _______________________________________________
> csoundtekno mailing list
> csoundtekno@...
>
> Subscribe, unsubscribe, change mailing list options:
> http://plot.bek.no/mailman/listinfo/csoundtekno
>


--
j.m. serralde ruiz
sonojm@...

_______________________________________________
csoundtekno mailing list
csoundtekno@...

Subscribe, unsubscribe, change mailing list options:
http://plot.bek.no/mailman/listinfo/csoundtekno