Hello. What I need to to for build pd-extended from sourceforge git right way? I compiled and installed pd-extended from git, but as I see -- in this repo directory 'extra' contains only output~.pd and help patch for this. And when I opening some of my pd-patches I have no [bnd], [tgl], etc. I need something else before compiling or after? Thanks.
Check out this and other docs in that section: http://puredata.info/docs/developer/BuildingPdExtended
.hc
On Jan 30, 2014, at 6:52 AM, John Smith wrote:
Hello. What I need to to for build pd-extended from sourceforge git right way? I compiled and installed pd-extended from git, but as I see — in this repo directory ‘extra’ contains only output~.pd and help patch for this. And when I opening some of my pd-patches I have no [bnd], [tgl], etc. I need something else before compiling or after? Thanks. _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I try to build pd-extended now.
I cloned 3 repos by this doc: http://puredata.info/docs/developer/WorkingWithPdExtendedSources (pd-svn, pd-extended, gem), and created necessary symlinks. Also I created this symbolic links: ./externals/iemlib/iemlib1/src/iemlib.h ./externals/iemlib/iemlib2/src/iemlib.h ./externals/iemlib/iem_t3_lib/src/iemlib.h ./externals/iem/iem_delay/src/iemlib.h ./externals/iem/iem_ambi/src/iemlib.h to "./externals/iemlib/include/iemlib.h", because I have errors with #include in building process.
I try to build by this way:
cd packages/linux_make/
make install prefix=/opt/pd-ext-bc8e8b3
But I have this error with Gem:
Result:
Target : Gem.pd_linux
Objects :
default window : gemglxwindow
Configuration:
Compiler : g++
CXXFLAGS : -DHAVE_S_STUFF_H -freg-struct-return -O3
-falign-loops -falign-functions -falign-jumps -funroll-loops
-ffast-math -mmmx
: -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL
DEFINES :
LIBS : -lXxf86vm -ldl -lz -lm
: -lraw1394 -ldc1394 -lSDL -lpthread
LDFLAGS :
:
Install path : /opt/pd-ext-bc8e8b3-2014-10-27
RTE (Pure Data):
external-extension : pd_linux
CFLAGS : -DPD
-I/home/unclechu/.compile_n_build/PD/2/pd-svn/pd/src
LIBS : -L/home/unclechu/.compile_n_build/PD/2/pd-svn/pd
used optional libraries:
font-rendering :
default font :
image-support
use ImageMagick : no
use QuickTime : no
use TIFF : yes
use JPEG : yes
moviefile-support
use PLUGINS : yes
use mpeg : no
use mpeg-3 : no
use QuickTime : no
use aviplay : no
use gmerlin : no
capture-support
use PLUGINS : yes
use v4l : no
use v4l2 : no
use ieee1394 : yes (libdc1394)
use DV : no
use Unicap : yes
use Video-for-WinDOS : no
use QuickTime : no
configure: error: GL (headers) not found! you need openGL!!!
make[2]: *** [/home/unclechu/.compile_n_build/PD/2/pd-svn/externals/Gem/Gem.pd_linux]
Error 1
make[2]: Leaving directory
`/home/unclechu/.compile_n_build/PD/2/pd-svn/externals'
make[1]: *** [externals_install] Error 2
make[1]: Leaving directory
`/home/unclechu/.compile_n_build/PD/2/pd-svn/packages'
make: *** [install] Error 2
I have "/usr/local/include/GL" as symbolic link to /opt/Mesa-10.2.4/include/GL/
$ ls -Al /opt/Mesa-10.2.4/include/GL/
total 1076
-r--r--r-- 1 root root 730696 Aug 2 21:39 glext.h
-r--r--r-- 1 root root 80615 Aug 2 21:39 gl.h
-r--r--r-- 1 root root 149958 Aug 2 21:39 gl_mangle.h
-r--r--r-- 1 root root 43788 Aug 2 21:39 glxext.h
-r--r--r-- 1 root root 18549 Aug 2 21:39 glx.h
-r--r--r-- 1 root root 3471 Aug 2 21:39 glx_mangle.h
dr-xr-xr-x 2 root root 28 Aug 2 21:39 internal
-r--r--r-- 1 root root 8980 Aug 2 21:39 osmesa.h
-r--r--r-- 1 root root 41377 Aug 2 21:39 wglext.h
-r--r--r-- 1 root root 4451 Aug 2 21:39 wmesa.h
What I'm doing wrong?
Or how I can remove Gem from build list?
On 17 February 2014 08:45, Hans-Christoph Steiner hans@at.or.at wrote:
Check out this and other docs in that section: http://puredata.info/docs/developer/BuildingPdExtended
.hc
On Jan 30, 2014, at 6:52 AM, John Smith wrote:
Hello. What I need to to for build pd-extended from sourceforge git right way? I compiled and installed pd-extended from git, but as I see — in this repo directory ‘extra’ contains only output~.pd and help patch for this. And when I opening some of my pd-patches I have no [bnd], [tgl], etc. I need something else before compiling or after? Thanks. _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 10/27/2014 01:04 AM, Viacheslav Lotsmanov wrote:
configure: error: GL (headers) not found! you need openGL!!! make[2]: *** [/home/unclechu/.compile_n_build/PD/2/pd-svn/externals/Gem/Gem.pd_linux] Error 1 make[2]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/packages' make: *** [install] Error 2I have "/usr/local/include/GL" as symbolic link to /opt/Mesa-10.2.4/include/GL/
[...]
What I'm doing wrong?
hard to tell without the output of Gem's configure. hint: openGL consists of more than just header-files...the linker needs to find libGL.so
fgmadsr IOhannes
There's no problem with linking with libGL, see:
$ ldd /usr/bin/glxgears | grep libGL
libGL.so.1 => /usr/local/lib64/libGL.so.1 (0x00007fd00ac65000)
Here full log of Gem configure: http://pastebin.com/VuNDAjMM Some about OpenGL:
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
On 1 November 2014 20:23, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 10/27/2014 01:04 AM, Viacheslav Lotsmanov wrote:
configure: error: GL (headers) not found! you need openGL!!! make[2]: *** [/home/unclechu/.compile_n_build/PD/2/pd-svn/externals/Gem/Gem.pd_linux] Error 1 make[2]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/packages' make: *** [install] Error 2I have "/usr/local/include/GL" as symbolic link to /opt/Mesa-10.2.4/include/GL/
[...]
What I'm doing wrong?
hard to tell without the output of Gem's configure. hint: openGL consists of more than just header-files...the linker needs to find libGL.so
fgmadsr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello,
first of all, the repository you used to cloned are outdated, and the Wiki page you linked to seems to be redundant with this one : http://puredata.info/docs/developer/GettingPdSource anyway, the two are now up-to-date with (not so) new SourceForge URL syntax.
to update, see git remote set-url
option, there is a similar command for
SVN.
but please also note that current Gem master is not ready to release.
Concerning the error you get, did you try to run make despite of this error ?
As IOhannes said, you should also tell configure where you lib is. Maybe you can do this with with GL_CFLAGS, GL_LIBS or CXX_FLAGS and LD_FLAGS.
why your Mesa installation is in /opt instead of /usr ? when installing it from package repository, it should be well detected by ./configure
a
-- do it yourself http://antoine.villeret.free.fr
2014-11-01 19:52 GMT+01:00 Viacheslav Lotsmanov lotsmanov89@gmail.com:
There's no problem with linking with libGL, see:
$ ldd /usr/bin/glxgears | grep libGL libGL.so.1 => /usr/local/lib64/libGL.so.1 (0x00007fd00ac65000)
Here full log of Gem configure: http://pastebin.com/VuNDAjMM Some about OpenGL:
checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking OpenGL/gl.h usability... no checking OpenGL/gl.h presence... no checking for OpenGL/gl.h... no
On 1 November 2014 20:23, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 10/27/2014 01:04 AM, Viacheslav Lotsmanov wrote:
configure: error: GL (headers) not found! you need openGL!!! make[2]: ***
[/home/unclechu/.compile_n_build/PD/2/pd-svn/externals/Gem/Gem.pd_linux]
Error 1 make[2]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/externals' make[1]: *** [externals_install] Error 2 make[1]: Leaving directory
/home/unclechu/.compile_n_build/PD/2/pd-svn/packages' make: *** [install] Error 2I have "/usr/local/include/GL" as symbolic link to
/opt/Mesa-10.2.4/include/GL/
[...]
What I'm doing wrong?
hard to tell without the output of Gem's configure. hint: openGL consists of more than just header-files...the linker needs to find libGL.so
fgmadsr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks for the output of configure: Gem finds the headers nicely, but fails to link with the GL-library.
Am 01. November 2014 19:52:16 MEZ, schrieb Viacheslav Lotsmanov lotsmanov89@gmail.com:
There's no problem with linking with libGL, see:
$ ldd /usr/bin/glxgears | grep libGL libGL.so.1 => /usr/local/lib64/libGL.so.1 (0x00007fd00ac65000)
This is the dynamic "runtime" linker. I was referring to the linking stage during the build-process, which is not exactly the same.
E.g. the build process searches for libGL.so, whereas the runtime linker uses libGL.so.1
Also the build linker might not automatically search for libs in /usr/local/lib64 (check the docs)
Here full log of Gem configure: http://pastebin.com/VuDAjMM Some about OpenGL:
checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking OpenGL/gl.h usability... no checking OpenGL/gl.h presence... no checking for OpenGL/gl.h... no
Btw, the real error was a little further below... OpenGL/gl.h are OSX-specific headers...no wonder they cannot be found on a linux system...
I have "/usr/local/include/GL" as symbolic link to
/opt/Mesa-10.2.4/include/GL/
[...]
What I'm doing wrong?
Btw, do these headers match the library installation? Also mesa is notorious for mangling the exported names.
Ideally your opengl installation provides a pkg-config script that tells configure where to find stuff.
mfg.ugd.fhj IOhannes
-- Sent from my pdp-11