Re: [PD] Gem 0.94 on Mac OS X

2019-03-07 Thread me.grimm
maybe we should get another test version up on deken?

mark

On Thu, Mar 7, 2019 at 3:26 PM Philippe Boisnard via Pd-list <
pd-list@lists.iem.at> wrote:

> Dear Iohannes
>
> I have compiled gem ver 0.94 mar 7 2019
> all is perfect.
> pix_image, pix_film and pix_video
>
> Thank you !!!
>
> pH
> > Le 6 mars 2019 à 16:52, Csaba Láng  a écrit :
> >
> > Dear Iohannes, dear list,
> >
> > I compiled the latest Gem on Mac os X Mojave with success, and wanted to
> confirm, that in the new 64-bit version built-in webcam works again,
> pix_image, pix_video and pix_film renders the image as never before.
> > Happy to get all these functions back, and have a new feeling of Gem
> after 14 years!
> >
> > Thank you for all your good efforts!
> >
> > Best,
> >
> > Popesz
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 

m.e.grimm, m.f.a, ed.m.
cornell u., tc3
megrimm.net

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-07 Thread Philippe Boisnard via Pd-list
Dear Iohannes

I have compiled gem ver 0.94 mar 7 2019
all is perfect.
pix_image, pix_film and pix_video

Thank you !!! 

pH
> Le 6 mars 2019 à 16:52, Csaba Láng  a écrit :
> 
> Dear Iohannes, dear list,
> 
> I compiled the latest Gem on Mac os X Mojave with success, and wanted to 
> confirm, that in the new 64-bit version built-in webcam works again, 
> pix_image, pix_video and pix_film renders the image as never before.
> Happy to get all these functions back, and have a new feeling of Gem after 14 
> years!
> 
> Thank you for all your good efforts! 
> 
> Best,
> 
> Popesz
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Federico Camara Halac
I don't know why but in my previous compilation I had disabled
AVFoundation... which was probably why I could not load video backends or
films

Also: the wiki

recommended me not to run ./autogen.sh, and to do instead:
$ /usr/local/opt/gettext/bin/gettextize
$ autoreconf --install --verbose

*I think, but don't remember*, the above did not gave me the same console
prints as running ./autogen.sh

in my env I also had to do this, which I have asked on the list before

$ export PATH="/usr/local/opt/m4/bin:$PATH"

I configured as:

./configure --without-QuickTime-framework
--with-defaultwindow=gemglfw3window --without-ImageMagick
--without-gmerlin_avdec
--with-libvlc-CFLAGS='-I/Applications/VLC.app/Contents/MacOS/include'
--with-libvlc-LIBS='-L/Applications/VLC.app/Contents/MacOS/lib -lvlc'

$ make
$ sudo make install

without sudo:

install: /usr/local/lib/pd/extra/Gem/Gem.pd_darwin: Permission denied

make[3]: *** [install-pkglibLTLIBRARIES] Error 71

make[2]: *** [install-am] Error 2

make[1]: *** [install-recursive] Error 1



Everything seems to work now, 2 video backends + film support! happy! will
test more tomorrow.

However, even after running
pd -stderr -lib Gem -path Gem

And opening Gem>examples>04.video>00.SimpleVideo.pd, I get a:

 gemwin

error: ... couldn't create


... It does create it if I call the abstraction as [Gem/gemwin] *It also
happens without the -path flag, above...*


Thanks!!1!!1


f

On Wed, Mar 6, 2019 at 10:27 PM IOhannes m zmölnig  wrote:

> On 3/6/19 10:03 PM, Federico Camara Halac wrote:
> > objc[22972]: Class GemCocoaView is implemented in both
> > /usr/local/lib/pd/extra/Gem/gemmacoswindow.pd_darwin (0x107ffc5c8) and
> > /usr/local/lib/pd/extra/Gem/gemcocoawindow.pd_darwin (0x1090665b8). One
> of
> > the two will be used. Which one is undefined.
>
> on closer inspection, the two implementations are identical, so it
> shouldn't matter which one is used.
> anyhow, i've fixed this...
>
> gsamdr
> IOhannes
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
http://fdch.github.io/tv
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread IOhannes m zmölnig
On 3/6/19 10:03 PM, Federico Camara Halac wrote:
> objc[22972]: Class GemCocoaView is implemented in both
> /usr/local/lib/pd/extra/Gem/gemmacoswindow.pd_darwin (0x107ffc5c8) and
> /usr/local/lib/pd/extra/Gem/gemcocoawindow.pd_darwin (0x1090665b8). One of
> the two will be used. Which one is undefined.

on closer inspection, the two implementations are identical, so it
shouldn't matter which one is used.
anyhow, i've fixed this...

gsamdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread IOhannes m zmölnig
On 3/6/19 10:03 PM, Federico Camara Halac wrote:
> macos Mojave
> 10.14.2 (18C54)
> 
>  re: the macoswindow:
> 
> error: [gemmacoswindow]: failed to init GLEW: your system only supports
> openGL-1.0

thanks.


> 
> re: cocoawindow:
> 
> objc[22972]: Class GemCocoaView is implemented in both
> /usr/local/lib/pd/extra/Gem/gemmacoswindow.pd_darwin (0x107ffc5c8) and
> /usr/local/lib/pd/extra/Gem/gemcocoawindow.pd_darwin (0x1090665b8). One of
> the two will be used. Which one is undefined.

you would only see the issue if you are loading *both* [gemmacoswindow]
and [gemcocoawindow] into the same instance of Gem, which is not the
expected use-case.
having said that, it needs fixing.

> 
>> --without-imagemagick
> 
>> why do you need this?
> 
> 
> I had the same issue here, and had to disable imagemagick, as in
> https://github.com/umlaeute/Gem/issues/211
> 

ah indeed thanks for reminding me.
so they still haven't fixed the imagemagick brew? tststs.

gfmsadr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Federico Camara Halac
macos Mojave
10.14.2 (18C54)

 re: the macoswindow:

error: [gemmacoswindow]: failed to init GLEW: your system only supports
openGL-1.0

verbose(4): ... you might be able to track this down from the Find menu.

error: [gemmacoswindow]: unable to switch to current window (do you have
one?), cannot render!



re: cocoawindow:

objc[22972]: Class GemCocoaView is implemented in both
/usr/local/lib/pd/extra/Gem/gemmacoswindow.pd_darwin (0x107ffc5c8) and
/usr/local/lib/pd/extra/Gem/gemcocoawindow.pd_darwin (0x1090665b8). One of
the two will be used. Which one is undefined.

error: [gemcocoawindow]: failed to init GLEW: your system only supports
openGL-1.0

error: [gemcocoawindow]: unable to switch to current window (do you have
one?), cannot render!




> --without-imagemagick


> why do you need this?


> again: weird because building against both ftgl & imagemagick (installed
> via "brew") is tested by our CI, without any problem.
> again: i suspect that your setup is somewhat broken.
>
>

I had the same issue here, and had to disable imagemagick, as in
https://github.com/umlaeute/Gem/issues/211
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Csaba Láng
Iohannes,

this is what made me clear why my system has broken pipes or something like
that:
https://stackoverflow.com/questions/54068035/linking-not-working-in-homebrews-cmake-since-mojave
I am not the only one who has troubles with homebrew.
My system was originally 10.11 if I remember well, and upgraded the system
already 3 times. Looks like Mojave cannot really handle the old headers
installed many years ago.
Anyway, was looking for this solution for a while, thought will never have
Gem back working again, but a total fresh Mac OS X install just scared me.

Popesz

On Wed, Mar 6, 2019 at 9:47 PM IOhannes m zmölnig  wrote:

> On 3/6/19 7:37 PM, Csaba Láng wrote:
> > Fede,
> >
> > here you are the commands I used:
> > $ ./autogen.sh
> > $ ./configure --with-pd=/Applications/Pd-0.49-1.app/Contents/Resources
> > --enable-videoAVF
>
> so far, on all macOS systems i have tested, AVFoundation is correctly
> detected automatically, without the need for that flag.
>
> > --without-Carbon-framework
>
> that shouldn't be necessary.
>
>
> > --without-ftgl
>
>
> > --without-imagemagick
> > GL_CFLAGS="-DDUMMY_GL" GL_LIBS="-framework OpenGL"
>
> why do you need this?
> incidentally, i am *currently* compiling Gem on an OSX-10.6 system that
> is no longer supported by brew and all the fun stuff (PowerPC anybody?).
> this system lacks "pkg-config" (and without brew i cannot really install
> it), and my hack (for compiling FTGL) eventually broke the
> build-process, so i also had to provide GL_LIBS.
> but after i fixed my hack, this is no longer required.
>
> also, Gem is built regularly on a (pristine) macOS/sierra system, and
> here those flags aren't required either.
>
> so i'm confident, that if you require to set GL_LIBS, something is
> broken in your installation.
> > feel free to delete those elements what you need, I had to cancel ftgl or
> > imagemmagick as looks like in Mojave for some reason cmake symlinks does
> > not work properly, and those elements which I updated with brew or
> macport
> > or compiled with cmake just cannot be found by Gem.
>
> again: weird because building against both ftgl & imagemagick (installed
> via "brew") is tested by our CI, without any problem.
> again: i suspect that your setup is somewhat broken.
>
>
> i intend to upload release packages in the next days.
> gfmards
> IOhannes
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread IOhannes m zmölnig
On 3/6/19 7:37 PM, Csaba Láng wrote:
> Fede,
> 
> here you are the commands I used:
> $ ./autogen.sh
> $ ./configure --with-pd=/Applications/Pd-0.49-1.app/Contents/Resources
> --enable-videoAVF

so far, on all macOS systems i have tested, AVFoundation is correctly
detected automatically, without the need for that flag.

> --without-Carbon-framework 

that shouldn't be necessary.


> --without-ftgl 


> --without-imagemagick 
> GL_CFLAGS="-DDUMMY_GL" GL_LIBS="-framework OpenGL"

why do you need this?
incidentally, i am *currently* compiling Gem on an OSX-10.6 system that
is no longer supported by brew and all the fun stuff (PowerPC anybody?).
this system lacks "pkg-config" (and without brew i cannot really install
it), and my hack (for compiling FTGL) eventually broke the
build-process, so i also had to provide GL_LIBS.
but after i fixed my hack, this is no longer required.

also, Gem is built regularly on a (pristine) macOS/sierra system, and
here those flags aren't required either.

so i'm confident, that if you require to set GL_LIBS, something is
broken in your installation.
> feel free to delete those elements what you need, I had to cancel ftgl or
> imagemmagick as looks like in Mojave for some reason cmake symlinks does
> not work properly, and those elements which I updated with brew or macport
> or compiled with cmake just cannot be found by Gem.

again: weird because building against both ftgl & imagemagick (installed
via "brew") is tested by our CI, without any problem.
again: i suspect that your setup is somewhat broken.


i intend to upload release packages in the next days.
gfmards
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread IOhannes m zmölnig
On 3/6/19 8:57 PM, Fede Camara Halac wrote:
> 
> Thanks!!
> 
> i will compile again later and report back
> 
> 
> 
>  but what is DUMMY_GL?
> 
>  i did not see that in the wiki. I can run gl stuff without that and without 
> GL_LIBS

it's nothing. it's just a dummy.

> 
> the issues i have so far:
> 
> pix_video cant find video backends
> pix_film only has quicktime4linux

what's your system?

> i also cant use cocoawindow, only glfw3


well, then use [gemglfw3window], there's nothing wrong with it.
(is there anything secret *why* you cannot use [gemcocoawindow]?)

mgfdsar
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Fede Camara Halac

Thanks!!

i will compile again later and report back



 but what is DUMMY_GL?

 i did not see that in the wiki. I can run gl stuff without that and without 
GL_LIBS

the issues i have so far:

pix_video cant find video backends
pix_film only has quicktime4linux
i also cant use cocoawindow, only glfw3

Thanks!



fdch.github.io

> On Mar 6, 2019, at 7:37 PM, Csaba Láng  wrote:
> 
> Fede,
> 
> here you are the commands I used:
> $ ./autogen.sh
> $ ./configure --with-pd=/Applications/Pd-0.49-1.app/Contents/Resources 
> --enable-videoAVF 
> --with-libvlc-CFLAGS=-I/Applications/VLC.app/Contents/MacOS/include 
> --with-libvlc-LIBS='-L/Applications/VLC.app/Contents/MacOS/lib -lvlc' 
> --without-Carbon-framework --with-defaultwindow=gemcocoawindow --without-ftgl 
> --without-imagemagick GL_CFLAGS="-DDUMMY_GL" GL_LIBS="-framework OpenGL"
> $ make
> $ make install
> 
> feel free to delete those elements what you need, I had to cancel ftgl or 
> imagemmagick as looks like in Mojave for some reason cmake symlinks does not 
> work properly, and those elements which I updated with brew or macport or 
> compiled with cmake just cannot be found by Gem.
> 
> Anyway, please let us all know if you can compile and have pix_video make 
> working properly.
> Best,
> Popesz
> 
>> On Wed, Mar 6, 2019 at 6:48 PM Jack  wrote:
>> Good news for Mac users !
>> ++
>> 
>> Jack
>> 
>> 
>> 
>> Le 06/03/2019 à 16:52, Csaba Láng a écrit :
>> > Dear Iohannes, dear list,
>> > 
>> > I compiled the latest Gem on Mac os X Mojave with success, and wanted to
>> > confirm, that in the new 64-bit version built-in webcam works again,
>> > pix_image, pix_video and pix_film renders the image as never before.
>> > Happy to get all these functions back, and have a new feeling of Gem
>> > after 14 years!
>> > 
>> > Thank you for all your good efforts! 
>> > 
>> > Best,
>> > 
>> > Popesz
>> > 
>> > ___
>> > Pd-list@lists.iem.at mailing list
>> > UNSUBSCRIBE and account-management -> 
>> > https://lists.puredata.info/listinfo/pd-list
>> > 
>> 
>> 
>> 
>> 
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Csaba Láng
Yes, more or less.



On Wed, Mar 6, 2019 at 7:59 PM Nicolas Montgermont  wrote:

> Yes!
>
> Back in business!
> You compiled following this guide:
>
> https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-macOS-Sierra-%2810.12%29
> ?
>
> Best,
> n
>
> http://nimon.org
>
> Le 06/03/2019 à 18:45, Jack a écrit :
> > Good news for Mac users !
> > ++
> >
> > Jack
> >
> >
> >
> > Le 06/03/2019 à 16:52, Csaba Láng a écrit :
> >> Dear Iohannes, dear list,
> >>
> >> I compiled the latest Gem on Mac os X Mojave with success, and wanted to
> >> confirm, that in the new 64-bit version built-in webcam works again,
> >> pix_image, pix_video and pix_film renders the image as never before.
> >> Happy to get all these functions back, and have a new feeling of Gem
> >> after 14 years!
> >>
> >> Thank you for all your good efforts!
> >>
> >> Best,
> >>
> >> Popesz
> >>
> >> ___
> >> Pd-list@lists.iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >>
> >
> >
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Nicolas Montgermont
Yes!

Back in business!
You compiled following this guide:
https://github.com/umlaeute/Gem/wiki/How-to-build-Gem-on-macOS-Sierra-%2810.12%29
?

Best,
n

http://nimon.org

Le 06/03/2019 à 18:45, Jack a écrit :
> Good news for Mac users !
> ++
>
> Jack
>
>
>
> Le 06/03/2019 à 16:52, Csaba Láng a écrit :
>> Dear Iohannes, dear list,
>>
>> I compiled the latest Gem on Mac os X Mojave with success, and wanted to
>> confirm, that in the new 64-bit version built-in webcam works again,
>> pix_image, pix_video and pix_film renders the image as never before.
>> Happy to get all these functions back, and have a new feeling of Gem
>> after 14 years!
>>
>> Thank you for all your good efforts! 
>>
>> Best,
>>
>> Popesz
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Csaba Láng
Fede,

here you are the commands I used:
$ ./autogen.sh
$ ./configure --with-pd=/Applications/Pd-0.49-1.app/Contents/Resources
--enable-videoAVF
--with-libvlc-CFLAGS=-I/Applications/VLC.app/Contents/MacOS/include
--with-libvlc-LIBS='-L/Applications/VLC.app/Contents/MacOS/lib -lvlc'
--without-Carbon-framework --with-defaultwindow=gemcocoawindow
--without-ftgl --without-imagemagick GL_CFLAGS="-DDUMMY_GL"
GL_LIBS="-framework OpenGL"
$ make
$ make install

feel free to delete those elements what you need, I had to cancel ftgl or
imagemmagick as looks like in Mojave for some reason cmake symlinks does
not work properly, and those elements which I updated with brew or macport
or compiled with cmake just cannot be found by Gem.

Anyway, please let us all know if you can compile and have pix_video make
working properly.
Best,
Popesz

On Wed, Mar 6, 2019 at 6:48 PM Jack  wrote:

> Good news for Mac users !
> ++
>
> Jack
>
>
>
> Le 06/03/2019 à 16:52, Csaba Láng a écrit :
> > Dear Iohannes, dear list,
> >
> > I compiled the latest Gem on Mac os X Mojave with success, and wanted to
> > confirm, that in the new 64-bit version built-in webcam works again,
> > pix_image, pix_video and pix_film renders the image as never before.
> > Happy to get all these functions back, and have a new feeling of Gem
> > after 14 years!
> >
> > Thank you for all your good efforts!
> >
> > Best,
> >
> > Popesz
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Gem 0.94 on Mac OS X

2019-03-06 Thread Jack
Good news for Mac users !
++

Jack



Le 06/03/2019 à 16:52, Csaba Láng a écrit :
> Dear Iohannes, dear list,
> 
> I compiled the latest Gem on Mac os X Mojave with success, and wanted to
> confirm, that in the new 64-bit version built-in webcam works again,
> pix_image, pix_video and pix_film renders the image as never before.
> Happy to get all these functions back, and have a new feeling of Gem
> after 14 years!
> 
> Thank you for all your good efforts! 
> 
> Best,
> 
> Popesz
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list