Re: [GEM-dev] Compiling Gem from git on osx mavericks

2014-05-08 Thread IOhannes m zmölnig
On 04/25/2014 11:44 AM, Nicolas Montgermont wrote:
 
 Le 24/04/2014 15:52, IOhannes m zmölnig a écrit :


 first comment (as seen by m.grimm)
 this error:
 
 videoBase.cpp:426:3: error: use of undeclared identifier 'select'
   select(0,0,0,0,sleep);
[...]
 
 outside of the test but i don't understand it because in my config.h i have
 #define HAVE_SYS_SELECT_H 1

because i have stupidly forgotten to actually *include* the config.h;
should be fixed now.

 
 --
 
 second comment
 even if i configure with --without-ftgl
 I have errors on text related objects, for example:
 TextBaseFTGL.cpp:57:3: error: member initializer 'm_font' does not name

indeed.
i hopefully fixed the issue by disabling compilation of TextBaseFTGL if
FTGL was disabled.
this should have been done all along...


 if i try make -k to get through the text errors, i have a few errors in
 imageQT and filmDarwin

to be expected.


 finally in the output folder i have more or less the same errors than
 before, but this time in gemmacwindow.cpp:

yes, to be expected as well.
[gemmacwindow] is really just a port of the original windowing code to a
standalong external.
the trick is, that there are now alternative [gemwindow]
implementations, that should succeed to compile, one (or some or all) of:
- [gemcocoawindow]
- [gemglutwindow]
and less likely (depending on 3rd party libs)
- [gemsdlwindow]
- [gemglfwindow]
- [gemglfw3window]

fmsadr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Compiling Gem from git on osx mavericks

2014-04-22 Thread IOhannes m zmölnig
On 04/22/2014 10:52 AM, Nicolas Montgermont wrote:
 Hello all,
 
 I'm trying to compile Gem from git on osx 10.9.2 intel i7. I was used to
 compile it on osx 10.6.8 with an Intel Core 2 duo with success.
 I tried to do it from a fresh install:
 
 $ git clone git://git.code.sf.net/p/pd-gem/gem
 
 first question: is this the good repository if I want a dev version of
 Gem? (Iohannes you said sourceforge, but I don't know which sourceforge
 repo...)

you are using the correct repo on sf (there's only a single git
repository for Gem on sf i know of)

 then:
 
 $ cd gem
 $ ./autogen.sh

ok.

 
 now i configure for a 32bit output and I desactivate ftgl for a first step:
 
 $ ./configure --without-ftgl --enable-fat-binary=i386

ok.

 
 then make, it stops with these errors:
 
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src
 -DGEM_INTERNAL -DGLEW_BUILD -g -O2 -MT glew.lo -MD -MP -MF
 .deps/glew.Tpo -c glew.c -o glew.o /dev/null 21
 mv -f .deps/glew.Tpo .deps/glew.Plo

this compiles one of the sources (glew.c) for the native arch (amd64)
instead of the requested arch (i386).
which in turn leads to:

 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
 archive member: .libs/libGem.a(libGem_la-Cache.o) cputype (7) does not
 match previous archive members cputype (16777223) (all members must match)

i'll try to commit a fix for that.



 TextBaseNone.cpp:25:13: error: constructor for 'TextBase' must
 explicitly initialize the member 'm_infoOut' which does not have a
 default constructor

ah ok, i'll commit a fix for that as well...



please update your clone.

gf,adsr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] anti-aliased [text3d]

2014-04-16 Thread IOhannes m zmölnig
On 04/16/2014 11:49 AM, Jack wrote:
  if so, then i guess it's a bug.
 I don't know, it was just a guess.
 What is the behavior of precision on antialiasing then ?
 


it's not a real anti-alias. it's rendering the font onto a texture of
a given size (evtl. rather small) and then scaling the texture to your
needs.
so the bluriness does not depend on the window size.

attached is a snapshot of two Gem windows displying text at
precision=0.1, the left one is 250x250, the right one 500x500. the
text on the small screen is [scale 2]d to have the same size as on the
big screen. as you can see, they look the same.

fgdsar
IOhannes
attachment: precision.png

signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] anti-aliased [text3d]

2014-04-15 Thread IOhannes m zmölnig
On 04/15/2014 10:27 AM, Philippe Boisnard wrote:
 Hello IOhannes

hi philippe.
please always answer via the list (unless your answer is indeed private).

 
 White can I find this new version of text3d ? 
 

it's currently only in the git version of Gem.
no binaries yet.

attached is a screenshot of how it looks like (compared to the old [text3d])


fmrdsa
IOhannes
attachment: text3d.png

signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] anti-aliased [text3d]

2014-04-14 Thread IOhannes m zmölnig
i've just committed an updated version of [text3d] that has a kind of
anti-aliasing built-in.

it uses textures internally. the size of the texture (and thus the
bluriness) can be controlled via the (revived) [precision( message.

the drawback is, that since the glyphs are textures, you cannot apply a
texture on the text anymore (e.g. using [pix_texture]).
since in older versions of Gem the texture was applied on each character
rather than on the entire text, i think the usefulness of this feature
was debatable.

in any case, you can get back to the original behaviour (with the ugly
rendering) by sending an [alias 0( message (or actually an [antialias 0(
message, which is the same).

let me know, whether this change breaks any patches.

fmdasr
IOhannes

PS: due to a bug in FTGL, the new object will eventually crash pd/Gem if
you chose a very high fontsize or precision (actually,
fontsize*precision is the value that matters) and your openGL
implementation has a limited texture size. i've submitted a bugreport to
the debian package of FTGL that fixes the problem.



signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Help Needed w / Clang Errors Compiling Gem OSX 10.9

2014-01-17 Thread IOhannes m zmölnig
On 01/07/2014 10:52 AM, IOhannes m zmölnig wrote:
 these things are easy enough to fix (do a *mixed* reset of your branch
 to the split-point and factor new commits from there).
 i could do that myself, but then the authorship of the patches would be
 lost and i'd rather leave that intact, so you get proper credits for
 your work.


i'll try to explain what i mean by this.
personally i'm using gitk (a graphical version browser) to navigate the
history and move my repository to a given revision, whenever it becomes
non-trivial.
in this case, i would fire up gitk, place my cursor on revision
28f58f488 (which is the one were you branched off), right click and
select reset branch to here. i'l lbe given the choice of whether i
want to do a hard reset (resetting working tree and index), a soft
reset (leaving working tree and index untouched) and a mixed reset
(leave working tree untouched, reset index).
i'd chose mixed reset, which results in having all the modified files
in the working tree, but none of them committed yet.

  git reset --mixed 28f58f488

then i'd start a new branch

   git checkout -b osx_fixes

and start creating new clean commits, where each commit does only a
single thing (though probably changing multiple files at once; e.g.
i'd remove all the default arguments in a single commit).

if a single file has multiple changes in it (that should belong to
multiple commits), then i'd use a graphical commit tool like:
   git gui
(which allows me to commit single lines).
you could also do this from the cmdline using
   git add -p thisfile.x


once this is done, i'd create *new* pull request on github and close the
old one.

fgmadsr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #220 [text3d] crashes PD if the letter p is typed

2013-12-30 Thread IOhannes m zmölnig
thanks for figuring out the problem.

anyhow: my opinion is that Gem is not at fault here. 

Gem uses [FTGL](http://ftgl.sf.net) for font rendering (FTGL in turn uses 
libfreetype to decide the font), and it seems that it is really FTGL that is 
crashing.

doing a quick check with FTGLDemo (2.1.3~rc5) shows that FTGL is indeed 
crashing:
  - start `./FTGLDemo /path/to/Beams.ttf`
  - (rendering seems to work though there are a lot of artefacts)
  - type kbdLeft/kbd (*ARROW-LEFT* to decrease font-size)
  - CRASH

alternatively running `./FTGLMFontDemo /path/to/Beams.ttf` immediately crashes.

the problem persists with the current SVN version of FTGL.


---

** [bugs:#220] [text3d] crashes PD if the letter p is typed**

**Status:** open
**Created:** Sun Dec 08, 2013 09:22 PM UTC by hellocatfood
**Last Updated:** Mon Dec 30, 2013 04:29 AM UTC
**Owner:** nobody

I'm using PD extednded 0.43.4 and have noticed that when using some fonts 
[text3d] will crash PD when a string with five or more characters is entered.

Font used is Beams: http://openfontlibrary.org/en/font/beams

And the error returned is:

``pd: ../src/libtess/priorityq.c:164: __gl_pqSortInit: Assertion `GLUvertex 
*)**(i+1))-s  ((GLUvertex *)**i)-s) || (((GLUvertex *)**(i+1))-s == 
((GLUvertex *)**i)-s  ((GLUvertex *)**(i+1))-t = ((GLUvertex *)**i)-t))' 
failed.
Pd: signal 6``

I using a Dell XPS 13 developer edition running Ubuntu 13.10 with Intel® 
Ivybridge Mobile graphics and Intel® Core™ i7-3537U CPU @ 2.00GHz × 4 processors

I've attached a patch and the font file for testing



---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #185 Someone sent a bogus pointer to copy2Image in 4 help patch

2013-09-23 Thread IOhannes m zmölnig
(as i don't follow the Pd-extended releases,) which version of Gem is this?

also the [schroenc] warning comes from the library used as the recording 
backend (e.g. QT4L), and there's nothing one can do about it (apart from 
disabling all warnings from the library - which is something i don't want to do)


---

** [bugs:#185] Someone sent a bogus pointer to copy2Image in 4 help patch**

**Status:** closed-out-of-date
**Created:** Thu Mar 22, 2012 01:54 PM UTC by Hans-Christoph Steiner
**Last Updated:** Sun Sep 22, 2013 08:00 PM UTC
**Owner:** nobody

From the load\_every\_help.py script run on Mac OS X 10.6.8 using Pd-extended 
0.43.1 2012-03-10:

Gem/pix\_multiimage-help.pd
Gem/pix\_set-help.pd
pix\_sig2pix~-help.pd
pix\_snap-help.pd

error: GEM: Someone sent a bogus pointer to copy2Image

Here's the entire log.
http://autobuild.puredata.info/auto-build/2012-03-21/logs/load\_every\_help\_palatschinken-3.local\_2012-03-21\_11.43.45.log


---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #217 Loading ImageMagick and videoVLC plug-ins together crash Pd

2013-08-16 Thread IOhannes m zmölnig
i don't think this is a problem that can be solved on the Gem side.
most likely it's a conflict between libvlc and libmagick++ that has to be 
resolved on their side.

(in any case i'm leaving this open until someone can confirm the source of the 
problem)


---

** [bugs:#217] Loading ImageMagick and videoVLC plug-ins together crash Pd**

**Status:** open
**Created:** Fri Aug 16, 2013 11:12 AM UTC by jack 
**Last Updated:** Fri Aug 16, 2013 11:12 AM UTC
**Owner:** nobody

Hello

Loading together plug-ins gem_imageMAGICK.so AND gem_videoVLC.so crash Pd.
No problem if i load gem_imageMAGICK.so OR gem_videoVLC.so.

My configuration :
Ubuntu 13.04 64 bits
Linux jack-GE60-0NC-0ND 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9
00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
GEM: ver: 0.93.git 374f713
GEM: compiled: Aug  5 2013
Pd 0.44.3
libmagick++-dev : 8:6.7.7.10-5ubuntu2
libvlc-dev : 2.0.8-0ubuntu0.13.04.1

++

Jack




---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #211 VLC plugin crash Pd

2013-08-05 Thread IOhannes m zmölnig
closing, as the problem is not wih Gem but with vlc (and fixable by upgrading)


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** closed-wont-fix
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Sat Jun 08, 2013 08:44 AM UTC
**Owner:** IOhannes m zmölnig

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #215 website links to old git repository location?

2013-07-25 Thread IOhannes m zmölnig
- **labels**: website documentation -- website, documentation
- **status**: open -- closed-fixed
- **assigned_to**: IOhannes m zmölnig



---

** [bugs:#215] website links to old git repository location?**

**Status:** closed-fixed
**Labels:** website documentation 
**Created:** Wed Jul 24, 2013 11:37 PM UTC by Anonymous
**Last Updated:** Thu Jul 25, 2013 09:33 AM UTC
**Owner:** IOhannes m zmölnig

gem.iem.at (right hand sidebar for Code Repository) links to an old repo before 
sf.net upgrade?) I noticed because git pull got unrecent code.  To switch 
(assuming your sf.net remote is called 'origin') is simple:

git remote set-url origin git://git.code.sf.net/p/pd-gem/gem
git pull



---

Sent from sourceforge.net because gem-...@lists.iem.at is subscribed to 
https://sourceforge.net/p/pd-gem/bugs/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/pd-gem/admin/bugs/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #211 VLC plugin crash Pd

2013-06-08 Thread IOhannes m zmölnig
i don't know either, but it might hint at a bug within VLC (or some linker 
problem due to a special config within VLC). it would be great if you forwarded 
that bug to the VLC devs.


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 08:03 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
could you provide a gdb backtrace?

$ gdb --args pd -nrt ...
[...]
(gdb) run
[...wait for crash...]
(gdb) bt


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:02 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
thanks.
Pd does *not* crash here (tested with the same libvlc (2.0.6-1) but on an i386 
machine running debian).


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] Re: #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
thanks.

my initial thought that the version of Gem you are running does not match the 
version of Gem the videoVLC plugin was compiled with (though it should detect 
that), seems to be highly unlikely given that setup.

anyhow, valgrind is *not* a replacement for gdb, they are complementing each 
other.
so i'd still like to have a gdb backtrace.

the trick (as outlined in the original post) is, that gdb is interactive. after 
starting it, you have to manually run the program (with the `run` command) and 
after it crashed, you have to manually ask it for a backtrace (with the `bt` 
command)
once you are done, you can exit it with the `quit` command. e.g. check the 
[debian help](http://wiki.debian.org/HowToGetABacktrace) for more information.


and i forgot: please add the flags `-stderr -verbose -verbose` when running Pd 
(in addition to `-rt`), it might reveal something that gets lost otherwise.


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] [pd-gem:bugs] #211 VLC plugin crash Pd

2013-06-06 Thread IOhannes m zmölnig
btw, doing a quick google for `libvlc_new segfault` (`libvlc_new` is the 
function that triggers the segfault) gives me a number of results, all related 
to C++-code. it might be a problem with libvlc (or a common compiler/linker 
issue that Gem triggers as well). maybe you can dig more info out of those 
search results.


---

** [bugs:#211] VLC plugin crash Pd**

**Status:** open
**Created:** Thu Jun 06, 2013 05:02 PM UTC by jack 
**Last Updated:** Thu Jun 06, 2013 05:08 PM UTC
**Owner:** nobody

Hello,
Using VLC plugin crash Pd.
Removing the symlink solve this problem.
Can I help to enable this plugin in a patch ?
Configuration :
Ubuntu 13.04, Pd 0.44.3, Gem ver: 0.93.git 374f713.
++

Jack




---

Sent from sourceforge.net because you indicated interest in 
https://sourceforge.net/p/pd-gem/bugs/211/

To unsubscribe from further messages, please visit 
https://sourceforge.net/auth/subscriptions/___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pb to compil pdgst on ubuntu studio 12.04

2013-03-06 Thread IOhannes m zmölnig
On 03/06/2013 21:28, pured...@11h11.com wrote:
 Good news!
 
 Using Debian to compile pdgst.pd_linux = working!
 
 I am now able to use gstreamer inside pd to stream to justin.tv:
 http://www.youtube.com/watch?v=SD6s2xeMB1w
 
 Next thing is to stream something from gem / pix, but i get this error:
 /usr/lib/pd/extra/pix_pix2gst.pd_linux:
 /usr/lib/pd/extra/pix_pix2gst.pd_linux: undefined symbol:
 _ZN9CPPExternaSERKS_

you need to compile pdgst/pix against the very version of Gem you are using.

fgmard
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] 2 gemwin with a switch

2013-03-01 Thread IOhannes m zmölnig
On 02/28/2013 21:35, Cyrille Henry wrote:
 
 
 Le 28/02/2013 21:29, Elektro Moon a écrit :
 Cyrille,

 I am totally aware of this limitation. What I thought, if I closed the
 first Gem window before opening the second from the 2nd patch, it
 would have worked. No luck.
 nope, all gemhead render in the only gemwindows.
 
 If I open 2 pd, can I send bang from one PD to the other pd as well?
 yes, use netsend / netreceive.
 


better still: render only the things that you want displayed.
rather than switching between two windows, turn on/off the [gemhead]s
you want to display at any given time.

a simple [gemgrouphead] abstraction to be used instead of [gemhead] can
simplify all this:

[r gemgroup]
|
[== $2]
|
[gemhead $1]
|
[outlet]

and then use the following to selectively render a given group.

[hsl]
|
[s gemgroup]

[gemgrouphead 50 0]
|
[square]

[gemgrouphead 50 1]
|
[circle]


fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Gem on Ubuntu 64bits

2013-02-21 Thread IOhannes m zmölnig
On 02/21/2013 18:22, j...@rybn.org wrote:
 Hello,
 
 I would like to know if it is a good idea to install the last Gem and last
 pd vanilla on an Ubuntu 64bits?
 Is there some problem with 64bits Linux Systems and Gem ?

i think i fixed most of them when i got my first 64bit system around 2003.

fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] error: Cannot open

2013-01-19 Thread IOhannes m zmölnig

On 01/18/2013 16:30, Elektro Moon wrote:

Iohannes,

I guess the plugins are loaded. PD writes the next after launch:
[pix_video]: backend #0='v4l2': v4l2 analog
[pix_video]: backend #1='v4l': v4l analog
[pix_video]: backend #2='vlc': vlc


looks good.



I force to load the vlc plugin as you mentioned, connecting message
[driver vlc( to pix_video, but nothing happens. After loading [device
file:///home/bunkier/Desktop/8z.mov(
PD says:
error: v4l2 : no v4l2 input device on bus
file:///home/bunkier/Desktop/8z.mov

error: Cannot open '': 2, No such file or directory
error: v4l: failed opening device: 'file://home/bunkier/Desktop/8z.mov'


works here, though i'm using [device file:///tmp/homer.avi(
are you sure, that the file exists and that vlc can play it?


You can check my simple patch in the attachment.


the only things i noticed:
- in your patch ou don't turn rendering on, (there's only a [create( but 
not a [create, 1( or simile)
- in your patch you have no order of the messages [driver( and [device( 
defined. **always use trigger when you want to connect one outlet to 
multiple inlets**.
- in your patch you are tring to open an mp3 file. i don't know what you 
expect to be displayed?





Does this plugin work with VLC playlists too? How would you loop it?



no idea about playlists.
most likely you can use them.

fmgsdt
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] upgrading Gem's sourceforge project

2013-01-17 Thread IOhannes m zmölnig

On 01/17/2013 18:45, Hans-Christoph Steiner wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


Sounds like a good idea, it can alwso serve s a trial run for the big
pure-data upgrade.



yes probably.

i have to admit though, that i was experiencing trouble with upgrades of 
an svn-based project.


at least with [1], the upgrade never really finished, and the migrated 
SVN-repository was incomplete (the 2500 revisions from the original 
repository ended up as 535 revisions).
i'm not sure what the cause of this is, but i'm under the impression 
that the import is still running (though i started in october!).
it might be the case that i forgot some trigger to really start the 
migration.


also keep in mind that it is very simple to sync multiple git 
repositories (e.g. the one before the migration and the one after the 
migration), which is a nice feature for slowly migrating the devs to the 
new system.
afaict, migrating the svn repository involves a change of the UUID, 
which means that you cannot do a simplesvn relocate.


otoh, what i really like is that you can now have multiple 
svn-repositories per project (not sure how we can use that for 
pure-data; but all those GB of external libraries found in /sources 
could be moved into a separate repository.


sf provides tools for moving an existing svn repository:
simply give it an URL to a public repo, and it will check out all of the 
commits.
this however is rather slow, as it will spend time checking out empty 
commits if you direct it to a subdirectory of an existing repo (and you 
will get all that meaningless history for commits outside of your 
subdirectory).


fgmsdr
IOhannes


[1] http://sf.net/projects/iem

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD-dev] pix_opencv

2012-12-27 Thread IOhannes m zmölnig

On 12/27/2012 16:03, Antoine Villeret wrote:

the default make install command from git repo install gem into
/usr/local/include


how about using pkg-config?
Gem installs a Gem.pc file, so you should do something like
CFLAGS_linux = `pkg-config --cflags opencv Gem`


fgmsdar
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_set new features

2012-12-11 Thread IOhannes m zmölnig

On 12/11/2012 19:24, Antoine Villeret wrote:

and what about the opposite ?
stay in discrete coordinate in the code and add a normalized message ?
in that way the conversion is done only once (when the ROI is set in
normalized coord) and not each time we set the data (for pix_set)
maybe i'm going wrong...


i'd rather not.
the way it is now, [pix_roi] is independent of the actual pixes.
i very much like it that way.

one could provide helper-functions to easily convert a given ROI/pix to 
absolute coordinates on the C++ layer, if you care about the programming 
overhead.

the computational overhead is small enough.


fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_set new features

2012-12-11 Thread IOhannes m zmölnig

On 12/11/2012 20:38, Antoine Villeret wrote:


about the pix_set, i had a fill method which doesn't care about the ROI
should it ?



i dunno, so i left in untouched.
i guess, it would make sense if ROI applied to the fill as well.

fgamdsr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_set new features

2012-12-07 Thread IOhannes m zmölnig

On 12/07/2012 01:50, Antoine Villeret wrote:

hi all,

i've added some new features to pix_set :
- roisize and roioffset which allow to set only a small part of the whole image
- fill which set all the pixels by sending only one value (no need to
make a huge list...)

the help patch have been updated
and i also make an example 04.pix/27.bitmap_font.pd

feedback are welcome
feel free to include it in Gem


thanks for your patches.

eventually i would like to have generic ROI support for all pix_ objects 
(apart from some objects where it doesn't make sense).
this however, would require a rewrite (substantial adaption) of the 
processing core of all objects :-(



fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pics with transparency

2012-12-06 Thread IOhannes m zmölnig

On 12/06/2012 16:47, Фывапр Олджэвич wrote:

but i mean the format of file ?

i'm not profi in it.. should i use TIFF file or wht the format with
transparent layer it could be ?


that's what cyrille wrote: tif or TIFF both mean Tag Image File 
Format.

it's a image fileformat with transparency.


fgadmsr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Different Alpha Blending Methods in Alpha Object

2012-11-23 Thread IOhannes m zmölnig

On 11/20/2012 06:52 PM, Santi wrote:

Hello,

i don't know if this is the right place to write, sorry if don't.


definitely the right place.



My question: Is there any reason to not include different alpha blending
methods? the modification i've made is very simple and obvious, so i'm
thinking about why not had made before...


applied.


do i have lost something?


in the future it would be nice if you could provide a patch from the 
current git-master (preferrably generated using git format-patch).


gmsdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] any word on the Mac OS X 1 frame video bug

2012-09-22 Thread IOhannes m zmölnig
On 09/21/2012 11:09 PM, Hans-Christoph Steiner wrote:
 
 I am almost positive that alea.mpg used to play fine in Gem/OSX before
 the current version, so regardless of the frame count, it should be able
 to play alea.mpg and not just make weird fractals. ;)

it doesn't make weird fractals.
or rather, the weird fractals are produced by [pix_convolve] and
QuickTime being unable to tell whether a new image is displayed.


anyhow, [1] has seen an update early august, and nobody has yet reviewed
whether the changes fixed the issue.

to repeat myself:
quote
i think that i was able to fix this OSX-omly bug in the master-branch
of Gem.
it would be great if people could test whether it now works as
expected (and does not introduce new bugs).

if it does work, i will backport it to 0.93 and eventually make a
0.93.4 release (that can be included with PdX-0.43)
/quote

fmgdasr
IOhannes



[1]
https://sourceforge.net/tracker/?func=detailatid=507079aid=3517368group_id=64325

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] recordV4L2.cpp:81:5: error: '::close' has not been declared

2012-09-22 Thread IOhannes m zmölnig
On 09/20/2012 10:33 PM, Hans-Christoph Steiner wrote:
 From the nightly Pd-extended 0.43.1 build, it is unhappy on Debian/testing:
 
 last 20 errors 
 recordV4L2.cpp:81:5: error: '::close' has not been declared
 recordV4L2.cpp:159:3: error: '::write' has not been declared
 recordV4L2.cpp:184:3: error: '::write' has not been declared
 rsync error: syntax or usage error (code 1) at main.c(1246) [Receiver=3.0.9]

afaict, this has been fixed in both the master branch (4f5db6d3a1) and
the 0.93 bugfix branch (af4dcc65).

gmadstr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] imageCOCOA plugin

2012-05-09 Thread IOhannes m zmölnig

On 05/08/2012 11:48 PM, m.e.grimm wrote:

hey

i just wrote a quick imageCOCOA gem plugin that compiles fine. Im
using cocoas NSImage (not sure if it works). What I have is
imageCOCOA.mm which is objective-C (obviously)...


cool. it's good someone takes a lead here!

would you mind publishing your code somewhere?
(e.g. cloning on github[*], and pushing your code to your personal 
repository, so it's easy to integrate once it's done.




when starting PD and getting something like GEM: image loading
support: SGI i was hoping to get GEM: image loading support: SGI
COCOA ... i am assuming this is whether the plugin has been loaded or
not based on Gem just recognizing that it is there?

anyway. whether the plugin works or not is not the point. i just want
notification that Gem actually sees that its there and at least tries
to load it...


Gem should be pretty verbose on the cmdline about what it does when 
trying to load the plugin (supposed it can find it)




maybe im going about this all wrong. so i need advice. this is all
assuming I can just write any old plugin, drop it in the Gem folder
and as long as the plugin is written correctly and find all the
libs/frameworks it needs it will load... or does Gem itself have to be
compiled knowing that a plugin may or may not exist...


no, that's the idea of the plugins.
Gem will simply look for files named gem_image*.so and try to load all 
of those.
the cmdline should give you some hints though, what goes wrong, if there 
is a file named correctly, and it still doesn't show up.


you code will need to have a line like:
 REGISTER_IMAGELOADERFACTORY(cocoa, imageCOCOA);

that will actually add the plugin to the plugin-factory.


fgmasdr
IOhannes



[*] due to recent sourceforge outages, i have created a mirror of Gem on 
github: http://github.com/umlaeute/Gem


___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Segfault with mjpeg movie and [pix_film]

2012-05-09 Thread IOhannes m zmölnig

On 05/09/2012 04:57 PM, Jack wrote:


A problem with libquicktime ?


check by trying display the image using libquicktime-tools (lqtplay from 
the quicktime-x11utils)



Can I solve this issue ?


depends...
if lqtplay can play the movie, please provide an example movie (that 
triggers the crash) so we can reproduce the problem.


in the meantime you could try using gmerlin-avdecoder.

fgamsdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Segfault with mjpeg movie and [pix_film]

2012-05-09 Thread IOhannes m zmölnig

On 05/09/2012 06:47 PM, Jack wrote:


Same problem with lqtplay : segfault.


you should report this to libquicktime and/or your distribution (i think 
it's fixed in lqt)



I will try with gmerlin.


It works with gmerlin.
++


so you should make sure you have the filmGMERLIN plugin installed.

famard
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Files.cpp:171:7: error: ?::close? has not been declared

2012-04-08 Thread IOhannes m zmölnig

On 04/08/12 19:05, Jakub Pišek wrote:



any more such problems or are those the only 2 occurences?


there is one more in src/Base/CPPExtern.cpp


thanks





and maybe in some disabled features, like plugins(as it was in recordV4L2)

i think i have now fixed all of those.

fgmasrd
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Files.cpp:171:7: error: ‘::close’ has not been declared

2012-04-06 Thread IOhannes m zmölnig

On 04/06/12 18:46, Jakub Pišek wrote:

here it stops, when i try to compile Gem from git:


which compiler (gcc-version) is this?

i pushed a change to Files.cpp that would include unistd.h, maybe this 
fixes the problem.

please check (and tell us of success/failure)

fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] vlc plugin under OSX

2012-04-03 Thread IOhannes m zmölnig

On 04/03/12 22:06, Nicolas Montgermont wrote:

Hello all,

Do I miss something obvious?



what does it say on the console?

i suspect that it simply cannot find the libvlc.so when loading the 
gem_videoVLC.so plugin.

try something like:
$ cd /path/to/Gem
$ LD_LIBRARY_PATH=/Applications/VLC.app/Contents/MacOS/lib pd -lib Gem

fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] help trying to debug the draw message in curve3d and surface3d

2012-03-25 Thread IOhannes m zmölnig

On 03/25/12 14:44, Cyrille Henry wrote:

hello,



i don't really understand why this 2 post did not post the same value.

did anyone have any pointer that could help debugging?



you are experiencing the joys of inheritance in oop languages:
m_drawType is a member variable of GemShape.
it will get updated whenever you send a draw message to a GemShape 
object (and is referred to in GemShape.cpp)


now, in (curve|surface)3d.h you declare _another_ variable m_drawType, 
which will get referenced whenever you call it in the curve3d class.


i pushed a fix for the problem to the master branch.

fgamdsr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Gem + gem_filmGMERLIN Plugin Crash 10.7.3

2012-03-24 Thread IOhannes m zmölnig

On 03/23/12 21:44, m.e.grimm wrote:


um... no we can wait for release although it looks to me like the last
one he made was over a year ago...



it seems like you come to some conclusions on when the next release will 
appear, based on the last release.


which ones?
why?

fgmasd
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] filmGMERLIN colorspace correction Solved

2012-03-24 Thread IOhannes m zmölnig

On 03/23/12 18:49, m.e.grimm wrote:

Hey,

I figured it out

in filmGMERLIN.cpp:

finalformat-pixelformat=GAVL_UYVY;

m_image.image.setCsizeByFormat(GL_YUV422_GEM);



that works. I attached screenshot to prove I am not lying.

should i file a bug report anyway with solution?




yes please.
and i would prefer if you could make a proper patch, e.g. with
$ git format-patch master

(assuming that you branched off from master; if you did not, supply the 
last master commit...)


fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] alternative for quicktime

2012-03-18 Thread IOhannes m zmölnig

On 03/18/12 18:45, Patrice Colet wrote:


Ok, in fact the linker couldn't use the gmerlin_avdecoder lib I've made because 
it's compiled statically,
the build system couldn't make a dll, I'm trying to look further with svn 
sources, because I've used the archive...



ahm, that's something i've wanted to ask you anyhow:
- which version of Gem are you using?

furthermore:
Gem development has left svn more than a year ago and is now using git.

i'm always assuming you are using the current git/master.



PS: I've tried different objects, the draw mode doesn't work on [curve3d] with 
my gem.dll



while totally unrelated, there was a recent post about this on this list [1]

fgmasdr
IOhannes

[1] http://lists.puredata.info/pipermail/gem-dev/2012-03/005961.html

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Gem + gem_filmGMERLIN Plugin Crash 10.7.3

2012-03-04 Thread IOhannes m zmölnig

On 03/03/12 16:15, m.e.grimm wrote:

OK. Sent your example. Rebuilt gavl and gmerlin_avdec. Your example
works with output:

trying to create video converter
created video converter 0x7ff77ac334a0...destroying it
destroyed video converter 0x7ff77ac334a0
bye


since your rebuild only involved enabling some debug-flags, this 
unfortunately doesn't tell us much (apart from that we will have a hard 
time tracking down the real cause of the problem)



rebuilt Gem from recent git. Pd-ex still crashes immediately (even
prior to Gem import). Here is crash report:
http://pastebin.com/3AQDnYAw

hm... ideas on net step?


no, not really.

first of all, make sure that you are indeed using the new and 'fixed' 
gmerlin-avdecoder ('fixed' being in quotes since nobody fixed it yet)


then i would do:
- do a complete rebuild of Gem
 $ make clean; make
- eventually disable all other plugins (by deleting their binaries)

if you still get crashes, start pd/Gem in a debugger (gdb) to get proper 
backtraces.
you could also set some a breakpoint in filmGERMLIN::filmGMERLIN and 
step through execution until you get the crash.


fgamdsr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Gem + gem_filmGMERLIN Plugin Crash 10.7.3

2012-02-28 Thread IOhannes m zmölnig

On 02/28/12 19:09, m.e.grimm wrote:

does any of the gmerlin-avdec tools work?

ok. yeah i get usage options when bins are run for example:
megrimm-mbp:~ megrimm$ bgavdemux
Usage: bgavdemux [-dp] [-t track] [-asnum] [-vsnum]location

so I am assuming they work ok?


well, run them on a file, so they can actually do something.


fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_opencv not working with Gem from git

2012-02-16 Thread IOhannes m zmölnig

On 02/16/12 17:28, IOhannes m zmölnig wrote:

On 02/16/12 03:21, Antoine Villeret wrote:


i hope thoses informations are enough to quickly fix the issue cause it
freaks me out !


unfortunately not.
i'm pretty sure that the revision you found with git bisect is totally
unrelated to the problem, which might indicate some memory corruption.

would you mind using some debugging beasts, like gdb (to get a
backtrace) and valgrind (to check for memory corruption)?



hmm, i checked and i can indeed confirm the problem.
i think this is the same bug i currently experience with pdgst, that 
crashes (that is the pdgst/Gem bindings) on my 64bit system, but not on 
a 32bit system (iirc).


fgamdsr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_opencv not working with Gem from git

2012-02-16 Thread IOhannes m zmölnig

On 02/16/12 03:21, Antoine Villeret wrote:


i hope thoses informations are enough to quickly fix the issue cause it
freaks me out !


unfortunately not.
i'm pretty sure that the revision you found with git bisect is totally 
unrelated to the problem, which might indicate some memory corruption.


would you mind using some debugging beasts, like gdb (to get a 
backtrace) and valgrind (to check for memory corruption)?


oh, and what OS ar you on?

fgm,asdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_opencv not working with Gem from git

2012-02-16 Thread IOhannes m zmölnig

On 02/16/12 20:20, IOhannes m zmölnig wrote:

but the real fix will be to remove -mms-bitfields from Gem on non-w32.



i pushed a fix to Gem which seems to fix the problem

fgnasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pb to compil pdgst on ubuntu 10.04

2012-02-10 Thread IOhannes m zmölnig

On 02/08/12 15:49, Benjah @ 01xy.fr wrote:

Hello,
I add pdgst so as to load it at startup and everything is working fine now
many thanks for the help


btw, is this a 32bit system?

pdgst/gem keeps crashing here on 64bit and i haven't found out yet, why...


fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] videoV4L2 update

2012-02-07 Thread IOhannes m zmölnig

On 02/05/12 19:27, Antoine Villeret wrote:


i didn't want to put some backend specific code in pix_video.cpp so I
only work on videoV4L2.cpp


right, that's the idea.


but to open a device with it's bus location, i'm assuming that all paths
to devices start with a slash '/'
it could be a limitation but i didn't find a better way...


you could check first whether the devicename is an existing (v4l2) 
devicefile, and if not check whether it is a valid bus-id...




all the things are in the branch *videoV4L2* on my github repos :
git://github.com/avilleret/Gem.git http://github.com/avilleret/Gem.git


cool, thanks; i merged that into master.


 i've updated the pix_video-help.pd patch with the add of a v4l2-specific
 abstraction to explain what i've done

i rejected that, and instead tried to implement a more generic approach 
(allowing plugins to come with their own help-file extensions which are 
then dynamically displayed in the pix_video help-patch




hope this help
and i hope i've done the things in the right way this time :-)
feedbacks are welcome


thanks a lot.

fga,sdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pb to compil pdgst on ubuntu 10.04

2012-02-07 Thread IOhannes m zmölnig

On 02/07/12 10:47, Benjah @ 01xy.fr wrote:

hello,

++thanks for your replies, i finally managed to compile pdgst
In fact at the first trial, I missed the 2 makefile in src and src/gem
directory and I stayed sticked on the makefile in the pdsg dir, which
appeared blur to me so I tried the punk method to compile, copying pd
source files in the src directory.


you should never ever do something like that!


Then I discovered the 2 other
makefile, deleted deleted pd source files but forgot to delete this
s_main.c ...

but now when I try the examples, a few problems :

  pdgst-test.pd
  videotestsrc
... couldn't create
  glimagesink
... couldn't create
pdgst $Revision: 0.0 $
 (copyleft) IOhannes m zmoelnig @ IEM / KUG
 compiled on Feb  7 2012 at 01:51:23
 compiled against Pd version 0.42.5.extended
  audio/x-raw-float channels=10
... couldn't create

  pix2gst.pd
pdgst
... couldn't create
  typefind
... couldn't create
  ffmpegcolorspace
... couldn't create
error: GEM: Someone sent a bogus pointer to copy2Image
/usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux:
/usr/lib/pd-extended/extra/Gem/pix_pix2gst.pd_linux: undefined symbol:
s_pdgst__gst
  pix_pix2gst yuv 128 64
... couldn't create
  aasink
... couldn't create

I added before the object to /usr/lib/pd-extended/extra/Gem and the path
to Pd
did i missed an elephant ?


might be.
it seems like gstreamer isn't fully initialized, but in this case you 
should get an error message when loading pdgst.



are you sure, your pdgst sources are as they should be?

and i assume, that gstreamer is properly installed, so you can run a 
pipeline from the cmdline, like:

$ gst-launch videotestsrc ! aasink


___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] gemframebuffer flood

2011-10-25 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/25/2011 02:06 PM, IOhannes m zmoelnig wrote:
 On Tue, Oct 25, 2011 at 12:43:47PM +0200, cyrille henry wrote:

 switching to rectangle 1 then to 0, will result in repeat 0 mode, even if 
 you switch it to 1 before.
 can anyone reproduce this?
 look like a bug for me.
 
 could be.
 i'll check

should be fixed in git.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6muzMACgkQkX2Xpv6ydvSVYACeJZ0P0Z+fXe5v03mNvQR/lzHx
U24AnivNehMF2sor4ZtUAAPbQ9/1DXCY
=rphJ
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] gemframebuffer flood

2011-10-25 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/25/2011 05:59 PM, cyrille henry wrote:
 here is a gdb backtrace.

thanks.
 Program received signal SIGSEGV, Segmentation fault.
 0x771d1f45 in __strcat_chk () from /lib/libc.so.6
 (gdb) backtrace
 #0  0x771d1f45 in __strcat_chk () from /lib/libc.so.6
 #1  0x7fffef2e6817 in strcat (this=value optimized out) at
 /usr/include/bits/string3.h:146
 #2  GemSIMD (this=value optimized out) at SIMD.cpp:20
 #3  0x7fffef2b95f8 in GemMan::initGem () at Manager.cpp:247

aha.
it seems the reason for this is the recent patch from hans that i
added...should have done more checks.


fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6m4I4ACgkQkX2Xpv6ydvS92QCeM68PPfjAGb/JAG/MCip2wBs4
bdMAniAZBrAooKSfvZK7ASGBIA9A4zz4
=VlpE
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] using logpost(3) for version message

2011-09-29 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/28/2011 03:05 PM, Hans-Christoph Steiner wrote:
 
 Ah, I see.  Are there any runtime tests for the Pd version in Gem?

how it that supposed to help?

 I'm perfectly happy if you want to use verbose() instead of logpost(). 
 I didn't use it because I can't remember what level it posts at, there
 is something about +4.

so you are saying that there is a loglevel between post() and
verbose(0)? how come?

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6EF2YACgkQkX2Xpv6ydvTsAACg4pokdmaPXBlLUeH0Mlx3PK5k
NLcAn0rJysYYVnLav2XlpY326XMnNLxl
=HvAO
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Output two images from pix_ object

2011-09-29 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/28/2011 07:19 PM, Antoine Villeret wrote:
 hi,
 
 did you finally found a way to output more than one pix image from a pix
 object ?
 i'm interessed in it too and also on adding severals pix_image input
 

there shouldn't be any problem outputting with outputting 2 separate
states (holding 2 separate images) onto 2 separate outlets.

what are you struggling with?

fgmadsr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6EGCAACgkQkX2Xpv6ydvQXoQCgvuo1IFIvUugSsWlGVLVMrLRV
j4UAn0BZOoAiGUldA6qn43H8lvKA/mE7
=p863
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] more mingwoes32

2011-08-03 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/03/2011 08:38 PM, Hans-Christoph Steiner wrote:
  
 The files need to end up in
 /c/home/pd/auto-build/pd-extended/packages/win32_inno/build/ .  The
 installer will then take everything in that directory and install it
 into %ProgramFiles%\pd.  So DESTDIR is
 /c/home/pd/auto-build/pd-extended/packages/win32_inno/build, then in
 order to get everything in DESTDIR to end up installed in
 %ProgramFiles%\pd, prefix has to be blank.  Then

hmm, if the prefix is /, it would end up there as well, or do i miss
something?

fgmadr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk45nioACgkQkX2Xpv6ydvRk6wCgloyaH5NA/YR+QG6ZY8zGmIne
4FEAoKLbsZUp0oIcWpd+bMKBHZBnOGZJ
=z68D
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] more mingwoes32

2011-07-28 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


the mingw32 autobuilds still fail (too early [*])


log
make[6]: Leaving directory
`/home/pd/auto-build/pd-extended/externals/Gem/src/deprecated'
make[6]: Entering directory
`/home/pd/auto-build/pd-extended/externals/Gem/src'
/bin/sh ../libtool --tag=CXX --preserve-dup-deps  --mode=link g++ -DPD
- -I/home/pd/auto-build/pd-extended/pd/src  -DHAVE_S_STUFF_H -O2
- -mcpu=i586 -mtune=pentium3 -freg-struct-return -O3 -falign-loops
- -falign-functions -falign-jumps -funroll-loops -ffast-math -msse2
- -module -avoid-version -shared -shrext .pd_mingw32   -o Gem.la -rpath
- -L/home/pd/auto-build/pd-extended/pd -lopengl32  -lm -lglu32 -lopengl32
 -lm Gem/libGem.la RTE/libRTE.la Utils/libUtils.la Base/libBase.la
plugins/libplugins.la Controls/libControls.la Geos/libGeos.la
Manips/libManips.la Nongeos/libNongeos.la openGL/libopenGL.la
Particles/libParticles.la Pixes/libPixes.la  -ldl -lz -lm
- -L/home/pd/auto-build/pd-extended/pd
libtool: link: only absolute run-paths are allowed
make[6]: *** [Gem.la] Error 1
/log

now that's a weird error.
after some frustratingg googling, i also noticed:

log
./configure \
CXXFLAGS=-DHAVE_S_STUFF_H -O2 -mcpu=i586 -mtune=pentium3 \
--prefix= \
--libdir=/extra \
--disable-mmx \
--enable-sse2 \
--without-quicktime \
--with-video=plugins \
--with-film=plugins \
--with-pd=/home/pd/auto-build/pd-extended/pd
/log

the weird part here is
log
- --prefix= --libdir=/extra
/log

what is the exact reasoning behind this? i guess that the idea is to set
DESTDIR to /path/to/PD/, but i do believe that this is confusing
automake/libtool.

probably a better idea (though not tested at all) would be do add a
libdir=/foo/bar (or pkgdir=/foo/bar) stanza to the make install
invocation rather than trying to do this via configure flags.

mfgasdr
IOhanens


[*] i have to admit, that even in my testbuilds, the w32 autobuilds
would not suceed; however, the problem is a different one (and i believe
it's triggered after the one discussed here)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4yGrwACgkQkX2Xpv6ydvTUdACcCYDtAfNYOEywX92BshIdCHmk
CUsAnjfr/jrU/MvUOo7tjk4H/WU2uV7K
=8315
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] error: 'gem' has not been declared (Mac OS X 10.6)

2011-07-27 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/27/2011 07:50 PM, Hans-Christoph Steiner wrote:
 
 Here's the current build issue on Mac OS X 10.6, its seems that the
 10.6/64-bit build should not try to build the QT plugins:
 

fixed today at 14:30 CEST

gamsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4whloACgkQkX2Xpv6ydvQQzACeN/TRxaT8I0kBCt7KuklewtPG
JpwAniQPe5SspaUgEuGQHzys7mFXVTEE
=jA6C
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


[GEM-dev] Dylib on MinGW (was Re: nightly builds using Gem build system)

2011-07-23 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/21/2011 10:31 PM, Hans-Christoph Steiner wrote:
 I'm up for doing that as a temporary fix.  My guess is the real fix will
 be using the MinGW64 toolchain... too bad there is no package management
 for that.

definitely.

 
 In the meantime, it seems that the MinGW build is dying on something
 different, which is not making sense to me:
 

 Dylib.cpp:104: error: ISO C++ forbids casting between
 pointer-to-function and pointer-to-object
 Dylib.cpp: In member function `bool GemDylib::run(std::string)':
 Dylib.cpp:113: error: ISO C++ forbids casting between
 pointer-to-function and pointer-to-object
 

obivously, the compiler thinks that void* is a pointer to an object,
and it knows that we need a pointer to a function, and ISO C++ forbids
the conversion between the two...
weird, it doesn't happen anywhere else (and i'm not sure that they are
right in saying that (void*) is indeed a pointer to an object...)


anyhow, i hope i fixed it with rev4361

fgmasr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4q1FIACgkQkX2Xpv6ydvQqOwCfeQRkPnVJMRAiqSyxwARfprLC
9MwAni7FqXA2MnA9Daz48Kzd9agx3NqC
=Blfj
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] An other problem to compile Gem

2011-07-12 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/12/2011 08:07 PM, j...@rybn.org wrote:
 Hello,
 
 I have an error when i try to compile Gem with pd 0.42.6 on Ubuntu 11.04
 (natty) :
 
 imageMAGICK.cpp: In constructor ?gem::plugins::imageMAGICK::imageMAGICK()?:
 imageMAGICK.cpp:63:54: error: invalid conversion from ?long unsigned int*?
 to ?size_t*?


i really strongly suspect that this machine has the wrong headers
installed all over (just like yesterday with the libquicktime-dev
headers claiming to be 1.0.0 but really being 0,9.x

please check in /usr/include/ImageMagick/magick/version.h
the value of:
- - MagickLibVersion
- - MagickLibInterface
- - MagickLibVersionNumber

fgmsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4crK0ACgkQkX2Xpv6ydvQt5QCghfFi5Je1yYIibyvmYBg/ruqm
LAoAoPWC+PBCVmne+7Xwa7lNmO9FXDf8
=Ui93
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] more build-system updates

2011-07-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/01/2011 01:56 AM, Nicolas Montgermont wrote:
 but pix_image crashes pd, this happens with the QT plugin as I have no
 gem_imageDarwin.

yes, there is none.

 if you want more info i can test with gdb when i have more time.
 

yes please.

however, i will leave for a 1 week holiday tomorrow, so i might not be
able to do anything before july 10th


fgasmdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4NivQACgkQkX2Xpv6ydvTn3QCgwoE6+9d4OTV1RTQA0+ITPDhl
Tv8Anjuv4CTkaCBoAuZSFBKBrW1vzUZ4
=T5to
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] more build-system updates

2011-07-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/01/2011 01:56 AM, Nicolas Montgermont wrote:
 Hello Iohannes,
 
 cool, here it compiles very easily (osx 10.6 / 0.42.5),
 pix_film, pix_video are working with the Darwin.so plugin
 text2d is rendered (using libftgl2 from fink)
 but pix_image crashes pd, this happens with the QT plugin as I have no
 gem_imageDarwin.
 if you want more info i can test with gdb when i have more time.
 

one more guess:
could you try sending a [thread 0( message to [pix_image] before loading?
afaik, QT is not thread save, and in theory the new image loading code
should respect this, but maybe something went wrong.

and also try to run pd/Gem from the cmdline with
-stderr -verbose -verbose and see what it gets you:
$ /Applications/Pd.app/Contents/Resources/bin/pd -stderr -verbose
- -verbose -lib /path/to/Gem/Gem
masdrt
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4Nki8ACgkQkX2Xpv6ydvTpVwCeLXqBab1OY7nLzAukpB+49hCW
zjMAoNE4XiLNel4UVyOaAjbj6geBhq/o
=EXoW
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] compiling GEM on osx

2011-06-18 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/17/2011 08:17 PM, Nicolas Montgermont wrote:
 
 do you _have_ a working gem_filmDarwin backend? that's the preferred way
 to load films on OSX.
 I don't know, I've tried to create [pix_movieDarwin] but it fails, how
 can I test that?

oh, forget [pix_movieDarwin].

the current idea is:
- - there is only a single [pix_film] (or [pix_movie]) object.
- - various backends are provided using a plugin system.
- - there are plugins for e.g gmerlin (called gem_filmGMERLIN.so), for
'QuickTime' (gem_filmQT.so, this is what used to be [pix_filmQT] and
is mainly for w32), for 'Darwin' (gem_filmDarwin.so; this is QuickTime
as well, but it's what was used for [pix_filmDarwin]).

so you should make sure that you have the Darwin-backend ==
gem_filmDarwin.so in your path.
then [pix_film] should give you a line like pix_film:: Darwin support.

you could have both gem_filmDarwin.so and gem_filmQT.so in your path,
and Gem will try each backends until it finds one that is able to open
the file.
 it may be related to special lines when recompiling, lots of:
 running CONFIG_SHELL=/bin/sh /bin/sh ./configure
 --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/
 --without-ftgl CXXFLAGS=-arch i386 --no-create --no-recursion
 configure: error: cannot find install-sh, install.sh, or shtool in .
 ./.. ./../..
 make[3]: *** [config.status] Error 1
 
 trying to reconfigure gives me:
 CXXFLAGS=-arch i386 ./configure
 --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/
 --without-ftgl
 configure: error: cannot find install-sh, install.sh, or shtool in .
 ./.. ./../..
 
 is it normal?

well it's not normal, but it is expected.
again i did some more cleanups and removed some leftover files that are
generated by autotools, namely install.sh and Base/config.h.in.

i hope this was the last major change here (but who knows...)

so in order to get it to compile again, do:

$ ./autogen.sh
$ ./config.state --recheck
$ ./config.state
$ make

fmgadsr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk38aQ4ACgkQkX2Xpv6ydvRoUgCfXweJw7DH287uK52bdwPa0LwK
TEQAn3UTXQzkGiDOWTOAi9XL0Wt1YW3m
=zsFn
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] trying to access idc1394 camera parameter

2011-04-14 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/13/2011 08:30 PM, Antoine Villeret wrote:
 Hi Iohannes,
 
 Thanks a lot for thoses tips.
 
 Since this morning I succeed to make my cam work and to control gain and
 shutter.
 Unfortunately, the code is very ugly and I didn't use the Properties to hold
 the features of the cam.
 I just intercept 'set shutter value' or 'set gain value' messages and
 set the corresponding feature.
 It's not very useful, but it's enougth for us :-)

though i don't know exactly what you do when intercepting, it feels
like this is exactly the reason why the entire properties stuff came
into being: allow various devices have a consistent behavior without
touching the object the user interacts with (pix_video): in the past
those objects have continued to accumulate highly specific messages,
which are guaranteed to not work for about 95% of the users.

 Moreover, I had some troubles with my Sony XCD-V60 camera.
 This cam is IIDC compliant but can sent grey images in 16 bit resolution.
 And in the openDevice method, the loop that set the video mode is very
 similar to the example provided with libdc1394 ;-) but there is no condition
 about the color coding and the loop took the
 DC1394_VIDEO_MODE_640x480_MONO16 by default and I think we don't have any
 possibilities to set it in PD. With this , the capture setup failed and i

if you mean, we don't have the possibilities to use a 16bit greyscale
video in Gem right away, then yes.

 can't get any image from the camera by default...
 I just add a test on color coding and get the best one on
 DC1394_VIDEO_MODE_640x480_MONO8 just like in the example ;-);

the problem is obviously that the best image is very much depending on
the use case.
in some applications a 1024x768 greyscale image might be preferred over
a 640x480 color image, in others it might be the other way round.

the use should have the possibility to choose what they think it is
best, and they should be able to do so without having to recompile.

 Well, just to say that I have what I need for now, but it will be very very
 appreciated that all of those things will be implemented soon. I don't think
 i will have time to spent on this in before easter so it's up to you !

well, i would say: you should feel free to spend some time in it after
easter as well :-)

fgamdsr
IOhannes

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2mlvUACgkQkX2Xpv6ydvQp1gCfRPdB/rUAe1DjXDW6uyREoL9B
Y1UAnRlPycTsvhiotXyw3HGHYNlwVeCC
=TYOD
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] kinect camera object for Gem

2011-02-19 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/18/2011 07:30 PM, cyrille henry wrote:
 pix_video can connect to 1 hardware that can send multiple images. as a
 capture card with many input.
 if you want 2 images, you can use 2 pix_video.

exatly.
also from what i hear, the 2 images of kinect (real, and depth) are not
linked anyhow, so they might run at different speeds, which makes the 2
pix_video approach even more feasible.

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1fq+kACgkQkX2Xpv6ydvTkCACgs91JNNh1JCpl2RdHEphnmWqd
kUEAnje6eFnYee/RQjY+MGnC3C/+4c4/
=h6ER
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] weirdeness

2011-02-14 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/14/2011 06:58 PM, Mathieu Bouchard wrote:
 Do you really think that it's a good idea to use a loader in this manner ?

yes.
the idea is to make 3rd party plugins integrate seamlessly into Gem.

 
 What is the possibility of nameclashes here ?
 

obviously it's there.
e.g. there is a frei0r plugin called multiply, which could be accessed
as [pix_multiply].
since [pix_multiply] is already built into Gem, you will never get the
frei0r plugin this way, you have to explicitely use
[pix_frei0r multiply]

(btw, [pix_frei0r multiply] won't do either, simply because this plugin
is a mixer, which is currently unsupported by Gem's frei0r implementation)

fgmadr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ZfSsACgkQkX2Xpv6ydvT9MQCeOL1G4qrIspoYoGNt6yO/buXl
eu8AoI0Zkssel5dVMk98EGsxY3CbFZYH
=S1HC
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] unicap?

2011-01-21 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/18/2011 05:16 PM, IOhannes m zmoelnig wrote:
 
 i'm not sure when i will be able to find the time in the near future :-(
 

while i was waiting for people offering money to implement unicap
support for Gem, i wrote a little plugin that allows [pix_video] to use
UNICAP for capturing.
it's  available in svn.

fgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk05u3AACgkQkX2Xpv6ydvSe+ACgzqCjwIa4fzDacfnCzYi7a49B
lTEAoK6+/uGRGOQhQh71GXAMymP8W9/B
=LOO6
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pylon driver and latency

2011-01-08 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/06/2011 03:59 PM, cyrille henry wrote:
 
 So, i'm very happy...
 

great!

thanks for providing the hardware.

as a sidenote: if anybody has exotic hardware they want to get working
they ought to send it to me, and i'll do the best i can (time
permitting, and preferrably on linux)


gfmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0ob48ACgkQkX2Xpv6ydvQ7vwCfdLU+rdv9AE0ko5lhZdXtjNW+
HuQAn3DO4LMefnVkXOR/HpzdvRSgr/Zw
=wC3d
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [ pd-gem-Feature Requests-3027360 ] add control to uvc devices on linux

2011-01-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/30/2010 11:37 AM, cyrille henry wrote:
 hello,
 
 i'd like to test this.
 but i have no idea of the message to send to pix_video.
 culd you send a short overview of the message to send so that i can
 update the help file?

i updated the help-patch (and the messages to [pix_video] as well, so
please recompile) to give you an idea how it works.

if you feel that the help-patch needs reworking (probably true), then
please go ahead.

fgame5
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0fjN8ACgkQkX2Xpv6ydvQJVgCfXjcBnuxdzdXmcBq6POACX9wU
fCMAniH4YfZNrCjnNyaT/H38tHQ2NfKT
=O1YG
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Gem, pix_video and Plugins

2010-12-31 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/30/2010 05:56 PM, cyrille henry wrote:
 hello,
 this is strange.
 since you use to compile Gem yourself, i supose you have everything
 correctly install and configure on your computer.
 so, i have no idea of the problem.


chances are, that you (jack) did install the plugins into
/usr/local/lib/pd/extra/Gem and then started Pd/Gem from
/home/jack/src/Gem/src (wherein a Gem.pd_linux lives)

this won't work, because Gem searches for the plugins besides the Gem
binary it loaded.
so if it loaded /usr/local/lib/pd/extra/Gem/Gem.pd_linux it will search
in /usr/local/lib/pd/extra/Gem/ for plugins (which are named
gem_typename.so, e.g. gem_videoV4L2.so).
if you loaded /home/jack/src/Gem/src/Gem.pd_linux, then it will search
in the src path (rather than the /usr/local/...)

the simple fixes are, either:
1) do a make install (so everything is in
/usr/local/lib/pd/extra/Gem/) and then make sure that you are using the
installed binary (e.g. by starting Pd in a new terminal)
OR
2) create local copies of the plugins besides the Gem.pd_linux you want
to use; i usually do symlinks:

~/src/Gem/src$ ln -s plugins/*/.libs/gem_*.so .
~/src/Gem/src$ ls Gem.* gem_*.so
gem_filmAVIPLAY.so  gem_filmDarwin.so  gem_filmGMERLIN.so
gem_filmMPEG3.so  gem_filmQT.so  gem_recordV4L2.so
gem_filmAVI.so  gem_filmDS.so  gem_filmMPEG1.so
gem_filmQT4L.so   Gem.pd_linux   gem_videoPYLON.so



mfgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0eMkUACgkQkX2Xpv6ydvTjlQCg7angI/XejkJP1ScxtV1SChm5
c8wAoK3YreryGciuyoGim7t1vKyCsHC4
=TO/t
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] OpenGL 2.0 ES

2010-05-29 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 Hey all,
 
 Is it feasible to get Gem running OpenGL 2.0 ES devices like Android or
 webOS?  I'm working on a pd port for embedded platforms, and it would be
 awesome to be able to directly use Gem for the GUIs.  Both Android and
 webOS allow full screen C++ OpenGL 2.0 ES apps.

i always wanted to support ogl ES, but never managed to setup a running
testing environment.

any help is welcome.

fgmsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkwBNskACgkQkX2Xpv6ydvTtJACfaNLAy1WG6JmzxWrfCAmCg8cX
T4QAnjoRbZjKqlfcfZFalcXdFXJFRQrY
=+5en
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] shipping Gem as libdir

2010-05-08 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 It just shows what's in the directory.  

ah cool
next release, i will put everything but a README.txt into the subfolder Gem/

 But you highlight a good reason
 to have standardized names: internationalization.  It would be pretty
 easy to have 'examples' and 'manual' translated in the Help Browser,
 even tho the folder is called 'examples' etc. on the file system.  A lot
 of OS's are doing it like this these days for common folders like
 Desktop, Documents, etc.
 

i don't have a Desktop nor a Documents folder.
instead i organize my content by type, so i have a Directories and a
Files folder.

mgfasr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvlF8sACgkQkX2Xpv6ydvTYvgCdGpE8AwQ6i9x1DHrVpcQGYCsv
JJcAniUmFlEcawzjBUP0dMOopODz7rVX
=QqZ2
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] shipping Gem as libdir

2010-05-07 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 The problem is that the manual and examples then don't show up in the
 new help browser since that stuff is now based on libdirs.  So if the
 'doc' folder was added to the 'Gem' folder as 'manual' and the
 'examples' folder was moved to the 'Gem' folder, then the Gem standalone
 releases would be a pretty solid libdir.

why does it has to be called manual?
shouldn't this manual path be (manually) settable via the -meta file?

and what is offered by Pd if it was indeed called manual?
i suggest to add all the libdirs to the docbrowser.
(and introduce libdir versions...)


fmadft
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvjzWgACgkQkX2Xpv6ydvT/BACfdXbSNuBMGmesJxbW5nbYvT2q
QDoAoL3ox6xY74BiJ583GRza9RZPZrVL
=QpIn
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [ pd-gem-Feature Requests-2998083 ] raw camera

2010-05-07 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

SourceForge.net wrote:
 
 Comment By: Cyrille Henry (nusmuk)
 Date: 2010-05-07 10:40
 
 Message:
 i try coriender, and it segfault...
 

what segfaults? coriander or Gem?

the important thing is, that you have to manually set the dimension of
the loopback video for [pix_video].

mfgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvj8QwACgkQkX2Xpv6ydvT8EQCgpP5io2RzmvW7Uh/qGa+0SHoM
SoUAoLzYQ5HcE1NF3l2iTHBkbjAqg20W
=Vx3o
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pb compiling svn

2010-04-23 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cyrille henry wrote:
 
 on the autobuild machine the following helped:
 % LIBTOOL=glibtool make
 it does not change anything.

actually, this really should have changed the error...
 
 i now see that the problem indeed happened yesterday on the karmic
 autobuild machine as well...
 ok
 
 tell me if i can be more helpfull.

i think i fixed it.
could you try again?

fgmadsr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvRqhAACgkQkX2Xpv6ydvRlkgCgrOjRNwdI5wwzCubigDrktG6k
2EYAn0TUwEJhVC8s3m2LOR9CkpUgkN9P
=quQb
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pb compiling svn

2010-04-23 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cyrille henry wrote:
 not yet!
 
 

i've seen that too.
i think, just running make again, fixes the problem.
(it's not good enough for autobuild though...)


fasdrm
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvRu/sACgkQkX2Xpv6ydvSy/gCdHjMVp+sSN6v4EOgXB6f8ZtdQ
rHMAnj9sFfQPVdEqigbSs5CIQgftJUYe
=xESd
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] 2nd outlet of [pix_film]

2010-01-04 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jack wrote:
 Hello Iohannes,
 
 Thanx for your answer.
 Here is what i get from qtinfo :
 
 Type: AVI
   1 audio tracks.
 2 channels, 0 bits, sample rate 48000, length 273663360 samples,
 wav_id 0x55.
 Sample format: 16 bit signed.
 Channel setup: Not available
 Language: eng
 supported.
   1 video tracks.
 576x320, depth 12
 rate 12.50 [25:2] not constant
 length 142530 frames
 compressor XVID.
 Native colormodel:  YUV 4:2:0 planar
 Interlace mode: None (Progressive)
 Chroma placement: MPEG-2
 No timecodes available
 supported.
   0 text tracks.
 
 It seems i have 'rate 12.50 [25:2] not constant'. What does it
 mean ?
 So in my case, i would like to get 25 (from [pix_film]) to play my movie
 at a 'normal' speed.
 Is there a way to get this ?

hmm, i can only think of 2 issues here:
- - either libquicktime is buggy and wrongly detects the framerate as 12.5
(it says 25:2, because framerates are usually expressed as an integer
numerator/denumerator pair)
- - or your video has indeed a variable framerate, with the default (or
1st frame) at 12.5fps, and then speeding up the video to 25fps

gem only reports the framerate after opening, so it doesn't really
handle variable framerates at all.
if the problem is indeed libquicktime related, you could also try to
compile Gem with gmerlin_avdec support and see whether this helps (even
though the author of libquicktime and gmerlin_avdec is the same; so the
bug might be in both libs)

 At least, I can use qtinfo and grep with [shell].

yes; but what would that help?

mgdasr
IOhannes

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktB+HoACgkQkX2Xpv6ydvRZLQCfabkBbfpK7e2HK50hoPrejJ2h
9cgAoIcTiUyOJJVUU6I+Xn2LPslVdFHs
=CVYe
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] using the same shader in multiple places

2010-01-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matteo Sisti Sette wrote:
 Hi,
 
 Is it legal to load the same shader (i.e. the same .vert and .frag
 files) multiple times? I.e. have an abstraction with a [glsl_vertex], a
 [glsl_fragment] and a [glsl_program], and multiple instances of this
 abstraction?

yes, i'm using this myself.

 
 I ask this because I did this and pd crashes as soon as I open the
 gemwin. I had some trivial errors in the shader files before, and I got
 the compiler error messages without crashes, but then I corrected the
 error and now it crashes.
 Obviously there may be a lot of other reasons for the crash but I have
 to guess.

obviously it shouldn't crash at all.
could you post the crashing patch? (preferrably in the sf bug tracker)

 
 Is there another way to use the same shader in multiple places? For
 example, I see [glsl_program] outputs an id in its right outlet: can I
 perhaps use that ID to use that shader elsewhere? If so, how? 

i don't think it's currently possible to use the ID output by glsl_program.
good idea though.

 
 By the way, I should probably ask a more basic question: is it legal to
 have more than one [glsl_program]s (meaning a [glsl_vertex] a
 [glsl_fragment] and a [glsl_program]), no matter whether with the same
 or different shader programs, under the same [gemhead], provided that
 they are in different subchains with [separator]s?
 

it's legal, even without your restriction.

fgmasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAks+TYQACgkQkX2Xpv6ydvRR2QCfdzCb2FlLlT/9IfNDT8uQu3pJ
54YAoOdT3jfcvwj+ValZE+rsoEPmnPLc
=YMR6
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] using the same shader in multiple places

2010-01-01 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matteo Sisti Sette wrote:
 IOhannes m zmölnig escribió:
 
 I'm not sure I can reproduce the crashing version. Even if I can, in
 these cases I don't know what to post in the bug tracker: a bug report
 titled gem crashes with this patch and attached a complicated and
 unreadable patch?

well, then send me your complicated and unreadable patch so i can
confirm that it is a bug in Gem or not, and eventually fix it.

the title of the bug report shouldn't hinder you to report, as it can be
easily changed later to something more meaningful (even after the bug
has been detected and fixed)

masdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAks+VJAACgkQkX2Xpv6ydvScqgCg0+IwWGvvVwUXFybTlHSJ8uGD
eHgAoJdOEuormWzZh7wJy8+FPI1pTR5c
=x3k1
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] Blending mode directly on objects, not pixes?

2009-11-29 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matteo Sisti Sette wrote:
 Ohhh, ok!!!
 
 [env ( is the way the texture blends with the color of the survace (i.e.
 the one set by [color])!!!

ah right. that answer was late at night...

 That's useless to my purpose: by blending mode I meant the way the
 object (with its resulting color however it results from its color and
 rexture) blends with its background

yep. you should be able to control this on low level with
[GEMglBlendFunc] and [GEMglAlphaFunc]

 
 At the end I think I'll use glsl: with a very small and trivial
 modification to the multitexture example I've been able to
 add/multiply/subtract two textures, so I'll use that to blend a
 [framebuffer]ed image with another one as textures.


well, if you only want to change the blending between a surface and the
background, then you should be able to do this without [gemframebuffer],

but then you would have to re-implement the default fragment shader
which is probably not worth it.

i wonder why i miss something like ftransform() for fragment shaders.

fgamr
IOhannes


mfasr
IOhannes




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksSVfoACgkQkX2Xpv6ydvQL4gCeKrTEJ4xH5k3mqZeTpxwyB43P
2B8AoO7iI3pCXLV51RbeKwo+3RXtPo3o
=7lWh
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] Blending mode directly on objects, not pixes?

2009-11-28 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matteo Sisti Sette wrote:
 Hi,
 
 Now, I don't know if this is possible at all.
 
 Suppose I have a [rectangle] (or whatever primitive indeed) with a
 texture, and something behind the rectangle.
 Is it possible to have the rectangle blend with the background with
 some blending mode (such as add, multiply, etc)?
 (without having to render all the rest of the scene except the rectangle
 into a texture via gemframebuffer, and then blending the two textures
 with pix_add and friends)???
 

there's [env $1( (with $1=0..5 or so) to [pix_texture] which will give
you a number of different blending modes.

there's a bug in the released versions of Gem, that will set the
blending mode for all texture blendings. so you might want to reset it
after you changed it.
should be fixed in svn/trunk.


then you can (in a very limited way) change the general blending
function (no tex involved) by sending a number to the 2nd inlet to [alpha].
if you want more control, use [GEMglBlendFunc] (and get a copy of the
openGL red book to see what it does and what you can do)



 Isn't it a matter of shaders? I guess it could be achieved using openGL
 functions... but is there a simple way?

that will give you all the flexibility in the world.


fgamsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksRqd4ACgkQkX2Xpv6ydvTutwCfWX7iJbhbfUQeJ7qhOOh+FBgL
clEAoONVjuv9vXSP4BCWRQvR7XpPspRl
=rdbt
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] Blending mode directly on objects, not pixes?

2009-11-28 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matteo Sisti Sette wrote:

 (without having to render all the rest of the scene except the rectangle
 into a texture via gemframebuffer, and then blending the two textures
 with pix_add and friends)???

and don't do that if you can avoid it. uses shaders if possible.


fgm asr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksRqhYACgkQkX2Xpv6ydvSVbACcCi7mmNp0P1JtAFMmjRpdyo54
xEkAn1Ed69fNQtXFSe5P9XG0C2QfjzPT
=q9Bx
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] error: invalid conversion from 'GLint*' to 'long int*'

2009-11-28 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 This 10.4 build issue seems to be fixed in trunk (pd-devel builds
 include Gem from trunk) but not for the 0.92 branch (pd-extended builds
 use the 0.92 branch).
 

well yes. half true.
i prefer to not backport fixes until there is some prove that they
actually work.
since it seems that the CGL-related fixes actually do work, i have
incorporated them into the 0.92 line with revision 3014 (about 4 hours
prior to your post)

fgsmaddr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksRq90ACgkQkX2Xpv6ydvQbgQCgvKB5vrrr8nZtEu2dyZpfVm7H
NaIAoOR6MnzG/Enx9sytkjOp+LMAtmYZ
=EnHg
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] gem fails on 10.4

2009-11-21 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 If you mean Gem, its what's in the Pd-extended builds, isn't that the
 0.92 branch? 

don't know. i don't think _i_ have changed anything here.
i thought PdX-trunk would use Gem-trunk whereas PdX-0.42 would use
Gem-0.92.

 You can login into that machine if you need to, its a
 proper part of the PdLab machines:

i'd like to but my key is not installed on that machine.


fmasdr5
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksHwpkACgkQkX2Xpv6ydvSbLACghHqzUIUb/bF+zWnp4KPBoh2c
P8kAoLR3HFdFlhOopmAD7w0pzT0zL86d
=cMLV
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] gem fails on 10.4

2009-11-20 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans-Christoph Steiner wrote:
 
 I got the 10.4/i386 build server going, and I see this:
[...]
 

which version?


i seem to remember having seen this bug (either on list or in real live)
and i also seem to remember having fixed it.


fgmasr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksGaIYACgkQkX2Xpv6ydvThWQCgmYYKJivS0OnL5FzCo3TswXuG
OQ4AoNXG+0GFpIU0uKCJAttuDmgLgKYl
=hSTJ
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] pix_image inefficient with ubuntu 9.10

2009-11-18 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

cyrille henry wrote:
 hello Pierre,
 
 yes, you are right, thread 0 solve the problem. thanks

btw, i had the same problem recently on a ubuntu machine  (no idea which
version since i did not set it up; this was in september though).
but since i loaded some hundred images, i thought that creating 100
threads is probably not so ideal :-)



 i'm wondering why there is such difference with ubuntu 8.10
 
 anyone?

since i was under time pressure i did not investigate any further.
so i really don't know (yet)


fmgasdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksDtvcACgkQkX2Xpv6ydvTZ8gCgpE3+sP2Ipa4mxJN+N1XrdupE
ChwAoOvucmtal8IrMdM/qaFx2FnA0Cg6
=vqwj
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] Trying to build Gem 0.92.1 on openSUSE 11.2

2009-11-15 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

M. Edward (Ed) Borasky wrote:
 
 Am I missing a dependency?
 

no.
this is a bug fixed both in svn TRUNK and svn 0.92 branch. (but not in
the released tar.gz)

either upgrade, or read the archives (it was a post by claude on 5th of
november) to get the fix.

fgmasdr
IOhannees
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksBA8oACgkQkX2Xpv6ydvQ8QQCffSfdDvAnr2dtcR/F6M3VHk7I
uRUAnRz0oKk6WHaFjYae266sNHXNoC17
=YlJF
-END PGP SIGNATURE-

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] GemPBuffer.cpp:271: error: invalid conversion from 'GLint*' to 'long int*'

2009-11-04 Thread IOhannes m zmölnig
Hans-Christoph Steiner wrote:
 
 Build error on Mac OS X 10.4/Intel.  I almost have a new build server
 deployed:
 
 g++ -c  -I/sw/include   -I/sw/include/freetype2 -I.. 
 -I/usr/include/FTGL -I/usr/include/freetype2
 -I/Users/pd/auto-build/pd-devel/pd/src  -DHAVE_CONFIG_H -I/sw/include
 -I/sw/include/FTGL -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32
 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx
 -fpascal-strings GemPBuffer.cpp -o ../Objects/GemPBuffer.o
 GemPBuffer.cpp: In constructor 'PBuffer::PBuffer(int, int, int)':
 GemPBuffer.cpp:269: error: invalid conversion from 'GLint*' to 'long int*'
 GemPBuffer.cpp:269: error:   initializing argument 2 of 'CGLError
 CGLGetVirtualScreen(_CGLContextObject*, long int*)'

according to
http://developer.apple.com/mac/library/DOCUMENTATION/GraphicsImaging/Reference/CGL_OpenGL/Reference/reference.html#//apple_ref/c/func/CGLGetVirtualScreen,
the function CGLGetVirtualScreen(CGLContextObj ctx, GLint *screen) and
not long int*.
either apple have broken their API without documenting it, or i'm
looking at the wrong place, or you are including some broken header-files.
could you try to find out where the
CGLGetVirtualScreen(_CGLContextObject*, long int*) is defined?

(simplest thing should be to just redeclare it as
CGLGetVirtualScreen(_CGLContextObject*, GLint*); and see whether the
compiler chokes on the previous declaration...)


 GemPBuffer.cpp:271: error: invalid conversion from 'GLint*' to 'long int*'
 GemPBuffer.cpp:271: error:   initializing argument 3 of 'CGLError
 CGLChoosePixelFormat(const CGLPixelFormatAttribute*,
 _CGLPixelFormatObject**, long int*)'

the same should apply here.



fmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] GEM Compilation under Ubuntu 9.10

2009-10-27 Thread IOhannes m zmölnig
g...@itchybit.org wrote:
 Hi hello,
 
 
 when i try to compile GEM under Ubuntu 9.10 i get a:
 
 recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’:
 recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’
 make[3]: *** [recordQT4L.o] Error 1
 make[3]: Leaving directory `/root/src/Pd-0.41.4-extended/Gem/src/Pixes'
 make[2]: *** [Pixes] Error 2
 make[2]: Leaving directory `/root/src/Pd-0.41.4-extended/Gem/src'
 make[1]: *** [/root/src/Pd-0.41.4-extended/Gem/src/Gem.pd_linux] Error 2
 make[1]: Leaving directory `/root/src/Pd-0.41.4-extended/packages' make:
 *** [install] Error 2
 
 I fixed it by making
 
 static lqt_file_type_t guess_qtformat(const char* filename) be
 static lqt_file_type_t guess_qtformat(char* filename)
 


thanks for the bug-report.
did you compile with -Werror -Wall?
which version of g++ is included in karmic?

mdfgsr
IOhannes



___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev


Re: [GEM-dev] [PD] [GEM] pix_external makefile?

2009-10-16 Thread IOhannes m zmölnig
Jaime Oliver wrote:
 Hi all,
 
 Is there a makefile for a pix_external somewhere?
 OR
 could someone give me some pointers on how to make one?

interesting coincidence, as i had in mind to do something like that in
the last few days.

the reason is, that i would like to move out some of the objects that
pull in external dependencies (like [pix_artoolkit]).
these extra objects (which are technically externals for Gem), live in
Gem/src/extra/

just yesterday i submitted the M$VC project for building [pix_artoolkit]
as a single object external.
there should be a simple autoconf based build system as well, which
might work for you just fine.

(after doing a quick check, i think it won't work as i stripped down the
configure to the bare essentials)

i'm currently looking for a non-existing Gem-object without any
dependencies that could be included as a skeleton for new objects
(mainly focusing on the build-system).



 
 I am looking for something I can put in a folder with the .cpp and .h
 files and run make...
 
 I suppose I would have to link to GEM somehow...

just like you have to link against Pd...usually you don't :-)

 
 So far, I can only think of the output of compiling gem pix_ in osx
 and start from there:


i would recommend looking at pix_opencv


if you external does not have any dependencies, would you consider
adding it as an example to the Gem/extra section?
in this case, it ought to be GPL.

fgmasdr
IOhannes

___
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev