Hi,
I want to write a new Geo.
Looking for a tutorial, I found the documentation at
gem/doc/manual/WriteCode.html which essentially says "use the source,
Luke". But 140k lines of code are quite daunting...
Where should I start?
I need 3 methods, respectively called after OpenGL context creation, at
render time, and before context destruction.
Thanks,
Claude
--
http://mathr.co.uk
---
** [bugs:#219] text2d bug**
**Status:** open
**Created:** Mon Oct 28, 2013 01:07 PM UTC by Anonymous
**Last Updated:** Mon Oct 28, 2013 01:07 PM UTC
**Owner:** IOhannes m zmölnig
text2d crash on windows if we don't explicitly load a font file before render it.
pd-extended 0.43 with gem 0.93.3 on windows7 / windows8
---
Sent from sourceforge.net because gem-dev(a)lists.iem.at is subscribed to http://sourceforge.net/p/pd-gem/bugs/
To unsubscribe from further messages, a project admin …
[View More]can change settings at http://sourceforge.net/p/pd-gem/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
[View Less]
hi,
I tried to build Gem under Windows 7 with MinGW.
It failed on pix_film with this error :
$ make
Making all in src
make[1]: Entering directory `/home/antoine/pd/externals/Gem/src'
make all-recursive
make[2]: Entering directory `/home/antoine/pd/externals/Gem/src'
Making all in Gem
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Gem'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Gem'
Making all in RTE
make[3]: Entering directory `/home/…
[View More]antoine/pd/externals/Gem/src/RTE'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/RTE'
Making all in Utils
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Utils'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Utils'
Making all in Base
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Base'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Base'
Making all in plugins
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/plugins'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/plugins'
Making all in Controls
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Controls'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Controls'
Making all in Geos
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Geos'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Geos'
Making all in Manips
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Manips'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Manips'
Making all in Nongeos
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Nongeos'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Nongeos'
Making all in openGL
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/openGL'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/openGL'
Making all in Particles
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Particles'
UNUSED SOURCES:
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Particles'
Making all in Pixes
make[3]: Entering directory `/home/antoine/pd/externals/Gem/src/Pixes'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../.
./src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -DPD
-I/home/antoine/pd/pd.git//
src -g -O2 -freg-struct-return -mms-bitfields -O3 -falign-loops
-falign-functio
ns -falign-jumps -funroll-loops -ffast-math -mmmx -MT
libPixes_la-pix_film.lo -M
D -MP -MF .deps/libPixes_la-pix_film.Tpo -c -o libPixes_la-pix_film.lo
`test -f
'pix_film.cpp' || echo './'`pix_film.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src
-DGEM_INTERNA
L -DGLEW_BUILD -DPD -I/home/antoine/pd/pd.git//src -g -O2
-freg-struct-return -m
ms-bitfields -O3 -falign-loops -falign-functions -falign-jumps
-funroll-loops -f
fast-math -mmmx -MT libPixes_la-pix_film.lo -MD -MP -MF
.deps/libPixes_la-pix_fi
lm.Tpo -c pix_film.cpp -DDLL_EXPORT -DPIC -o .libs/libPixes_la-pix_film.o
pix_film.cpp: In constructor 'pix_film::pix_film(t_symbol*)':
pix_film.cpp:192:46: error: no matching function for call to
'ptw32_handle_t::pt
w32_handle_t(int)'
pix_film.cpp:192:46: note: candidates are:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
ptw32_handle_t::ptw32_handle_t()
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
candidate expects 0 arguments, 1 provided
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
ptw32_handle_t::ptw32_handle_t(const ptw32_handle_t&)
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
no known conversion for argument 1 from 'int' to 'const ptw32_handle_t&'
pix_film.cpp: In member function 'virtual void pix_film::closeMess()':
pix_film.cpp:268:15: error: no match for 'operator=' in
'((pix_film*)this)->pix_
film::m_thread_id = 0'
pix_film.cpp:268:15: note: candidate is:
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
ptw32_handle_t& ptw32_handle_t::operator=(const ptw32_handle_t&)
c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/pthread.h:583:3:
note:
no known conversion for argument 1 from 'int' to 'const ptw32_handle_t&'
make[3]: *** [libPixes_la-pix_film.lo] Error 1
make[3]: Leaving directory `/home/antoine/pd/externals/Gem/src/Pixes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/antoine/pd/externals/Gem/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/antoine/pd/externals/Gem/src'
make: *** [all-recursive] Error 1
I tried to disable pthread by adding --disable-threads flag to ./configure
but it doesn't help.
Does this flag only disable threading for make ?
note that configure with relative path to Pd doesn't work. (can't find
m_pd.h)
best regards
a
--
do it yourself
http://antoine.villeret.free.fr
[View Less]
Hello,
I have an error when i try to compile pix_opencv :
pix_opencv_lk.cc: In member function ‘virtual void
pix_opencv_lk::processRGBAImage(imageStruct&)’:
pix_opencv_lk.cc:165:42: erreur: ‘cvCreateSubdiv2D’ was not declared in
this scope
pix_opencv_lk.cc:166:51: erreur: ‘cvInitSubdivDelaunay2D’ was not
declared in this scope
pix_opencv_lk.cc:212:62: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:213:45: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared …
[View More]in this scope
pix_opencv_lk.cc:244:69: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:245:52: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared in this scope
pix_opencv_lk.cc:351:59: erreur: ‘cvSubdiv2DEdgeOrg’ was not declared in
this scope
pix_opencv_lk.cc:352:59: erreur: ‘cvSubdiv2DEdgeDst’ was not declared in
this scope
pix_opencv_lk.cc: In member function ‘virtual void
pix_opencv_lk::processRGBImage(imageStruct&)’:
pix_opencv_lk.cc:443:42: erreur: ‘cvCreateSubdiv2D’ was not declared in
this scope
pix_opencv_lk.cc:444:51: erreur: ‘cvInitSubdivDelaunay2D’ was not
declared in this scope
pix_opencv_lk.cc:490:62: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:491:45: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared in this scope
pix_opencv_lk.cc:522:69: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:523:52: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared in this scope
pix_opencv_lk.cc:628:59: erreur: ‘cvSubdiv2DEdgeOrg’ was not declared in
this scope
pix_opencv_lk.cc:629:59: erreur: ‘cvSubdiv2DEdgeDst’ was not declared in
this scope
pix_opencv_lk.cc: In member function ‘virtual void
pix_opencv_lk::processGrayImage(imageStruct&)’:
pix_opencv_lk.cc:722:42: erreur: ‘cvCreateSubdiv2D’ was not declared in
this scope
pix_opencv_lk.cc:723:51: erreur: ‘cvInitSubdivDelaunay2D’ was not
declared in this scope
pix_opencv_lk.cc:769:62: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:770:45: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared in this scope
pix_opencv_lk.cc:796:69: erreur: ‘cvSubdivDelaunay2DInsert’ was not
declared in this scope
pix_opencv_lk.cc:797:52: erreur: ‘cvCalcSubdivVoronoi2D’ was not
declared in this scope
pix_opencv_lk.cc:902:59: erreur: ‘cvSubdiv2DEdgeOrg’ was not declared in
this scope
pix_opencv_lk.cc:903:59: erreur: ‘cvSubdiv2DEdgeDst’ was not declared in
this scope
make: *** [pix_opencv_lk.o] Erreur 1
rm pix_opencv_bgsubstract.o pix_opencv_haarcascade.o pix_opencv_edge.o
pix_opencv_dft.o pix_opencv_laplace.o pix_opencv_motempl.o
pix_opencv_contours_convexity.o pix_opencv_distrans.o
pix_opencv_contours_boundingrect.o pix_opencv_morphology.o
I do this :
$ sudo apt-get install libopencv-dev libcv-dev libhighgui-dev libcvaux-dev
$ ./configure --with-pd='/home/jack/Téléchargements/pd-0.44-3'
--with-gem='/home/jack/Gem'
then
$ make
How can i avoid this error ?
Thanx.
++
Jack
[View Less]