Re: [PD] loading Gem

2017-06-28 Thread Lucas Cordiviola
Remember that you might use -stdlib instead of -lib.

The “std” stands for “standard places Pd will automatically include when 
searching.”

This known places are Os specific and are explained here:

http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files



Mensaje telepatico asistido por maquinas.



From: Pd-list <pd-list-boun...@lists.iem.at> on behalf of Lucas Cordiviola 
<lucard...@hotmail.com>
Sent: Wednesday, June 28, 2017 7:52 PM
To: marysgh...@gmail.com
Cc: pd-list@lists.iem.at
Subject: Re: [PD] loading Gem


Ok, now that you installed pdx you could be surprised that now gem works on 
vanilla.

This is because “msvcr71.dll” was placed on a windows system folder by pdx 
installer.

For your test on other machines put “msvcr71.dll” in the Gem folder.

Salutti,
Lucarda.



Mensaje telepatico asistido por maquinas.



From: sonia yuditskaya <marysgh...@gmail.com>
Sent: Wednesday, June 28, 2017 7:36 PM
To: Lucas Cordiviola
Cc: pd-list@lists.iem.at
Subject: Re: loading Gem

Hi All,
I ended up installing extended --womp womp, just to have something working 
relatively quickly.  But will try this on one machine and if it works will 
re-install on the others.
Thanks Lucas for the lay of the land!

Sofy Yuditskaya
The Source<http://yuditskaya.com>



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


Re: [PD] loading Gem

2017-06-28 Thread Lucas Cordiviola
Ok, now that you installed pdx you could be surprised that now gem works on 
vanilla.

This is because “msvcr71.dll” was placed on a windows system folder by pdx 
installer.

For your test on other machines put “msvcr71.dll” in the Gem folder.

Salutti,
Lucarda.



Mensaje telepatico asistido por maquinas.



From: sonia yuditskaya 
Sent: Wednesday, June 28, 2017 7:36 PM
To: Lucas Cordiviola
Cc: pd-list@lists.iem.at
Subject: Re: loading Gem

Hi All,
I ended up installing extended --womp womp, just to have something working 
relatively quickly.  But will try this on one machine and if it works will 
re-install on the others.
Thanks Lucas for the lay of the land!

Sofy Yuditskaya
The Source



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


Re: [PD] loading Gem

2017-06-28 Thread sonia yuditskaya
Hi All,
I ended up installing extended --womp womp, just to have something working
relatively quickly.  But will try this on one machine and if it works will
re-install on the others.
Thanks Lucas for the lay of the land!

Sofy Yuditskaya
The Source <http://yuditskaya.com>


On Tue, Jun 27, 2017 at 11:09 PM, Lucas Cordiviola <lucard...@hotmail.com>
wrote:

> Before I forget,
>
> We will fail to load the lib if the path to GEM contains any “white
> space”, i.e:
> declare -lib C:/Users/john smith/AppData/Roaming/pd/Gem
> here: john smith
>
> or
>
> declare -lib C:/Program Files (x86)/pd/extra/Gem
> here: Program Files (x86)
>
> Report your complete path to the Gem folder.
> Depending on your report you we can tell if you can use the “-stdlib”
> switch, so you can just put:
> declare -stdlib Gem
>
>
> Mensaje telepatico asistido por maquinas.
>
>
> --
> *From:* Pd-list <pd-list-boun...@lists.iem.at> on behalf of Lucas
> Cordiviola <lucard...@hotmail.com>
> *Sent:* Tuesday, June 27, 2017 8:53 PM
> *To:* Sofy Yuditskaya; pd-list@lists.iem.at
> *Subject:* Re: [PD] loading Gem
>
>
> Hi,
>
> Please also reply to the Pd-list.
>
> First find the “Gem” folder on your computer. This place has been selected
> by you when you downloaded the external.
>
> In my case is:
> C:\Users\Lucarda\AppData\Roaming\pd\Gem
>
> Start a new patch and create a [declare] object, like this:
>
> [declare -lib C:/Users/Lucarda/AppData/Roaming/pd/Gem]
>
> note that inside Pd I have changed the windows path “\” with this “/” .
>
> If the object was correctly created you will get this message on the
> console:
>
> *
>
> GEM: Graphics Environment for Multimedia
> GEM: ver: 0.93.3
> GEM: compiled: Nov 10 2011
> GEM: maintained by IOhannes m zmoelnig
> GEM: Authors : Mark Danks (original version)
> GEM: Chris Clepper
> GEM: Cyrille Henry
> GEM: IOhannes m zmoelnig
> GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle,
> Hans-Christoph Steiner, et al.
> GEM: found a bug? miss a feature? please report it:
> GEM: homepage http://gem.iem.at/
> GEM: bug-tracker http://sourceforge.net/projects/pd-gem/
> GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/
> GEM: compiled for SIMD architecture: SSE2 MMX
> GEM: using SSE2 optimization
>
> **
>
>
> If you don't, you will have to download “msvcr71.dll” and place it on the
> Gem folder. And restart Pd and create the [declare] object.
>
> Please report if this work, then we will move to the start-up flag if
> necessary.
>
>
> ---
> This is for Gem/0.93.3
>
> Please note that I'm a regular audio Pd user, this only makes sure that
> Gem is correctly loaded, I have no experience on video.
>
>
>
> Salutti,
>
> Lucarda.
>
>
> Mensaje telepatico asistido por maquinas.
>
>
> --
> *From:* Sofy Yuditskaya <marysgh...@gmail.com>
> *Sent:* Tuesday, June 27, 2017 5:48 PM
> *To:* lucard...@hotmail.com
> *Subject:* loading Gem
>
> Yes hello,
> thank you for your clarification and reply!
> I am indeed not sure how to load GEM.
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] loading Gem

2017-06-28 Thread cyrille henry



Le 28/06/2017 à 19:29, Lucas Cordiviola a écrit :


/>the actual entries to the [declare] object should always be relative./

Not always.


wowww
if you want to challenge Iohannes on what is a good practice, I think you need 
better arguments.
;-)

cheers
Cyrille




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


Re: [PD] loading Gem

2017-06-27 Thread Lucas Cordiviola
Before I forget,

We will fail to load the lib if the path to GEM contains any “white space”, i.e:
declare -lib C:/Users/john smith/AppData/Roaming/pd/Gem
here: john smith

or

declare -lib C:/Program Files (x86)/pd/extra/Gem
here: Program Files (x86)

Report your complete path to the Gem folder.
Depending on your report you we can tell if you can use the “-stdlib” switch, 
so you can just put:
declare -stdlib Gem



Mensaje telepatico asistido por maquinas.



From: Pd-list <pd-list-boun...@lists.iem.at> on behalf of Lucas Cordiviola 
<lucard...@hotmail.com>
Sent: Tuesday, June 27, 2017 8:53 PM
To: Sofy Yuditskaya; pd-list@lists.iem.at
Subject: Re: [PD] loading Gem


Hi,

Please also reply to the Pd-list.

First find the “Gem” folder on your computer. This place has been selected by 
you when you downloaded the external.

In my case is:
C:\Users\Lucarda\AppData\Roaming\pd\Gem

Start a new patch and create a [declare] object, like this:

[declare -lib C:/Users/Lucarda/AppData/Roaming/pd/Gem]

note that inside Pd I have changed the windows path “\” with this “/” .

If the object was correctly created you will get this message on the console:

*

GEM: Graphics Environment for Multimedia
GEM: ver: 0.93.3
GEM: compiled: Nov 10 2011
GEM: maintained by IOhannes m zmoelnig
GEM: Authors : Mark Danks (original version)
GEM: Chris Clepper
GEM: Cyrille Henry
GEM: IOhannes m zmoelnig
GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, 
Hans-Christoph Steiner, et al.
GEM: found a bug? miss a feature? please report it:
GEM: homepage http://gem.iem.at/
GEM: bug-tracker http://sourceforge.net/projects/pd-gem/
GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/
GEM: compiled for SIMD architecture: SSE2 MMX
GEM: using SSE2 optimization

**


If you don't, you will have to download “msvcr71.dll” and place it on the Gem 
folder. And restart Pd and create the [declare] object.

Please report if this work, then we will move to the start-up flag if necessary.


---
This is for Gem/0.93.3

Please note that I'm a regular audio Pd user, this only makes sure that Gem is 
correctly loaded, I have no experience on video.




Salutti,

Lucarda.


Mensaje telepatico asistido por maquinas.



From: Sofy Yuditskaya <marysgh...@gmail.com>
Sent: Tuesday, June 27, 2017 5:48 PM
To: lucard...@hotmail.com
Subject: loading Gem

Yes hello,
thank you for your clarification and reply!
I am indeed not sure how to load GEM.

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


Re: [PD] loading Gem

2017-06-27 Thread Lucas Cordiviola
Hi,

Please also reply to the Pd-list.

First find the “Gem” folder on your computer. This place has been selected by 
you when you downloaded the external.

In my case is:
C:\Users\Lucarda\AppData\Roaming\pd\Gem

Start a new patch and create a [declare] object, like this:

[declare -lib C:/Users/Lucarda/AppData/Roaming/pd/Gem]

note that inside Pd I have changed the windows path “\” with this “/” .

If the object was correctly created you will get this message on the console:

*

GEM: Graphics Environment for Multimedia
GEM: ver: 0.93.3
GEM: compiled: Nov 10 2011
GEM: maintained by IOhannes m zmoelnig
GEM: Authors : Mark Danks (original version)
GEM: Chris Clepper
GEM: Cyrille Henry
GEM: IOhannes m zmoelnig
GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, 
Hans-Christoph Steiner, et al.
GEM: found a bug? miss a feature? please report it:
GEM: homepage http://gem.iem.at/
GEM: bug-tracker http://sourceforge.net/projects/pd-gem/
GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/
GEM: compiled for SIMD architecture: SSE2 MMX
GEM: using SSE2 optimization

**


If you don't, you will have to download “msvcr71.dll” and place it on the Gem 
folder. And restart Pd and create the [declare] object.

Please report if this work, then we will move to the start-up flag if necessary.


---
This is for Gem/0.93.3

Please note that I'm a regular audio Pd user, this only makes sure that Gem is 
correctly loaded, I have no experience on video.




Salutti,

Lucarda.


Mensaje telepatico asistido por maquinas.



From: Sofy Yuditskaya 
Sent: Tuesday, June 27, 2017 5:48 PM
To: lucard...@hotmail.com
Subject: loading Gem

Yes hello,
thank you for your clarification and reply!
I am indeed not sure how to load GEM.

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


Re: [PD] loading Gem under Windows msys2 build

2016-04-04 Thread Jonathan Wilkes via Pd-list


 On Monday, April 4, 2016 5:40 PM, IOhannes m zmölnig  wrote:
 

 On 04/04/2016 10:57 PM, Jonathan Wilkes via Pd-list wrote:
>> Just starting with the most obvious, Gem.dll can't find pd.dll.  Any clues?  
>> pd.dll 
>> is sitting there in the same directory as pd.exe and pd.com.

TL;DR a false positive

> most likely because the Dependecy Walker (or whatever you are using)
does not know that Gem.dll is loaded by pd.exe and therefore the pd.dll
is already in the PATH.
Ok, that makes sense.

> if i understand your description of the problem correctly, Gem.dll *can*
be loaded, it is only the plugins (e.g. gem_filmeAVI.dll) that make
problems?
That's correct.

> to see whether the plugin-loading mechanism works, try building/loading
one of the test-plugins (filmTEST, videoTEST): they should be virtually
dependency free (apart from the obvious pd.dll and Gem.dll)
Ok I'll try it.


gfmasr
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] loading Gem under Windows msys2 build

2016-04-04 Thread IOhannes m zmölnig
On 04/04/2016 10:57 PM, Jonathan Wilkes via Pd-list wrote:
> Just starting with the most obvious, Gem.dll can't find pd.dll.  Any clues?  
> pd.dll 
> is sitting there in the same directory as pd.exe and pd.com.

TL;DR a false positive

most likely because the Dependecy Walker (or whatever you are using)
does not know that Gem.dll is loaded by pd.exe and therefore the pd.dll
is already in the PATH.

if i understand your description of the problem correctly, Gem.dll *can*
be loaded, it is only the plugins (e.g. gem_filmeAVI.dll) that make
problems?

to see whether the plugin-loading mechanism works, try building/loading
one of the test-plugins (filmTEST, videoTEST): they should be virtually
dependency free (apart from the obvious pd.dll and Gem.dll)


gfmasr
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] loading Gem under Windows msys2 build

2016-04-04 Thread Jonathan Wilkes via Pd-list
Just starting with the most obvious, Gem.dll can't find pd.dll.  Any clues?  
pd.dll 
is sitting there in the same directory as pd.exe and pd.com.
-Jonathan
 

On Monday, April 4, 2016 4:23 PM, IOhannes m zmölnig  
wrote:
 

 On 04/04/2016 06:47 PM, Jonathan Wilkes via Pd-list wrote:
> However, when loading Gem I get errors like the following to stderr:
> dylib loading file 'gem_fileAVI.dll'!GemDylib failed: #126: The specified 
> module could not be found.
>
> I also see this on the console:"please manually add 
> 'blah/blah/blah/extra/gem' to your search path!
> gem_fileAVI.dll is in the same extra/Gem folder as Gem.dll.
> Shouldn't Windows search by default for library dependencies in the same 
> directory as the library itself?

Gem is dlopen()ing (well LoadLibrary()ing) the plugins manually, so it
doesn't really matter where W32 is looking for them.


> Does "add manually" mean to add the search path 

yes, this is what the message means.


afaict (googling for "LoadLibrary returns 126") the problem is that the
dependencies of gem_fileAVI.dll cannot be resolved.
use Dependency Walker or simile to find out what is missing.


also, i happily accept PRs for the Gem-wiki [1] detailing the process of
building Gem with msys2.

gfmstd
IOhannes

[1] https://github.com/umlaeute/Gem/wiki
  clone as https://github.com/umlaeute/Gem.wiki.git

___
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] loading Gem under Windows msys2 build

2016-04-04 Thread IOhannes m zmölnig
On 04/04/2016 06:47 PM, Jonathan Wilkes via Pd-list wrote:
> However, when loading Gem I get errors like the following to stderr:
> dylib loading file 'gem_fileAVI.dll'!GemDylib failed: #126: The specified 
> module could not be found.
>
> I also see this on the console:"please manually add 
> 'blah/blah/blah/extra/gem' to your search path!
> gem_fileAVI.dll is in the same extra/Gem folder as Gem.dll.
> Shouldn't Windows search by default for library dependencies in the same 
> directory as the library itself?

Gem is dlopen()ing (well LoadLibrary()ing) the plugins manually, so it
doesn't really matter where W32 is looking for them.


> Does "add manually" mean to add the search path 

yes, this is what the message means.


afaict (googling for "LoadLibrary returns 126") the problem is that the
dependencies of gem_fileAVI.dll cannot be resolved.
use Dependency Walker or simile to find out what is missing.


also, i happily accept PRs for the Gem-wiki [1] detailing the process of
building Gem with msys2.

gfmstd
IOhannes

[1] https://github.com/umlaeute/Gem/wiki
  clone as https://github.com/umlaeute/Gem.wiki.git



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


[PD] loading Gem under Windows msys2 build

2016-04-04 Thread Jonathan Wilkes via Pd-list
Hi list,I've got Gem running under the GUI port of Pd-l2ork on Windows XP.  
Both 
Gem and Pd were built using msys2.
However, when loading Gem I get errors like the following to stderr:
dylib loading file 'gem_fileAVI.dll'!GemDylib failed: #126: The specified 
module could not be found.
I also see this on the console:"please manually add 'blah/blah/blah/extra/gem' 
to your search path!
gem_fileAVI.dll is in the same extra/Gem folder as Gem.dll.
Shouldn't Windows search by default for library dependencies in the same 
directory as the library itself?Does "add manually" mean to add the search path 
to Pd?
Details:Windows XPcompiled using msys2Pd and Gem 32 bit binariesGem version 
0.93.git 374f713
-Jonathan

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