LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2016, 06:15 AM   #1
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
Problem to compile cogl with Slackware 14.2


Hi guys

I could always compile the cogl normally, but now i can no longer compile cogl, this error appears to me.

Code:
C       driver/nop/cogl-driver-nop.lo
In file included from ./winsys/cogl-winsys-private.h:36:0,
                 from ./cogl-context-private.h:35,
                 from driver/nop/cogl-driver-nop.c:38:
../cogl/gl-prototypes/cogl-in-gles-core-functions.h:123:21: error: unknown type name 'GLsizeiptr'
                     GLsizeiptr   size,
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-in-gles-core-functions.h:128:21: error: unknown type name 'GLintptr'
                     GLintptr   offset,
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-in-gles-core-functions.h:129:21: error: unknown type name 'GLsizeiptr'
                     GLsizeiptr   size,
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-glsl-functions.h:226:21: error: unknown type name 'GLchar'
                     GLchar* name))
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-glsl-functions.h:231:21: error: unknown type name 'GLchar'
                     GLchar* source))
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-glsl-functions.h:277:27: error: unknown type name 'GLchar'
                     const GLchar* name))
                           ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
../cogl/gl-prototypes/cogl-glsl-functions.h:285:21: error: unknown type name 'GLchar'
                     GLchar* name))
                     ^
./cogl-gles2.h:139:16: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (* name) args;
                ^
In file included from ./winsys/cogl-winsys-private.h:36:0,
                 from ./cogl-context-private.h:35,
                 from driver/nop/cogl-driver-nop.c:38:
./cogl-gles2.h:152:1: warning: no semicolon at end of struct or union
 };
 ^
In file included from ./cogl-pipeline-layer-private.h:44:0,
                 from ./cogl-pipeline-private.h:38,
                 from ./cogl-texture-private.h:36,
                 from ./winsys/cogl-texture-pixmap-x11-private.h:45,
                 from ./winsys/cogl-winsys-private.h:39,
                 from ./cogl-context-private.h:35,
                 from driver/nop/cogl-driver-nop.c:38:
./cogl-sampler-cache-private.h:55:48: error: 'GL_CLAMP_TO_EDGE' undeclared here (not in a function)
   COGL_SAMPLER_CACHE_WRAP_MODE_CLAMP_TO_EDGE = GL_CLAMP_TO_EDGE,
                                                ^
In file included from driver/nop/cogl-driver-nop.c:38:0:
./gl-prototypes/cogl-in-gles-core-functions.h:123:21: error: unknown type name 'GLsizeiptr'
                     GLsizeiptr   size,
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-in-gles-core-functions.h:128:21: error: unknown type name 'GLintptr'
                     GLintptr   offset,
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-in-gles-core-functions.h:129:21: error: unknown type name 'GLsizeiptr'
                     GLsizeiptr   size,
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-glsl-functions.h:226:21: error: unknown type name 'GLchar'
                     GLchar* name))
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-glsl-functions.h:231:21: error: unknown type name 'GLchar'
                     GLchar* source))
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-glsl-functions.h:277:27: error: unknown type name 'GLchar'
                     const GLchar* name))
                           ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-glsl-functions.h:285:21: error: unknown type name 'GLchar'
                     GLchar* name))
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-all-functions.h:303:21: error: unknown type name 'GLintptr'
                     GLintptr offset,
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
./gl-prototypes/cogl-all-functions.h:304:21: error: unknown type name 'GLsizeiptr'
                     GLsizeiptr length,
                     ^
./cogl-context-private.h:352:25: note: in definition of macro 'COGL_EXT_FUNCTION'
   ret (APIENTRY * name) args;
                         ^
Makefile:1663: recipe for target 'driver/nop/cogl-driver-nop.lo' failed
make[4]: *** [driver/nop/cogl-driver-nop.lo] Error 1
make[4]: Leaving directory '/tmp/csb/cogl-1.22.0/cogl'
Makefile:1836: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/csb/cogl-1.22.0/cogl'
Makefile:1257: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/csb/cogl-1.22.0/cogl'
Makefile:597: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/csb/cogl-1.22.0'
Makefile:524: recipe for target 'all' failed
make: *** [all] Error 2
Someone have some tip?
Im using Slackware64 14.2 with multilibs
 
Old 07-06-2016, 07:31 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you tried using Willy's CSB SlackBuild for cogl?

https://github.com/CinnamonSlackBuil...tree/14.2/cogl

Looking at his SlackBuild, the only thing that stood out for ./configure options was --enable-kms-egl-platform. If you aren't using that, try adding that to your ./configure options.

Otherwise, it may be a missing dependency, but, on Willy's build order, there's a lot that come before it. However, nothing stood out to me that may be related to your error.
 
Old 07-06-2016, 07:55 AM   #3
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by bassmadrigal View Post
Have you tried using Willy's CSB SlackBuild for cogl?

https://github.com/CinnamonSlackBuil...tree/14.2/cogl

Looking at his SlackBuild, the only thing that stood out for ./configure options was --enable-kms-egl-platform. If you aren't using that, try adding that to your ./configure options.

Otherwise, it may be a missing dependency, but, on Willy's build order, there's a lot that come before it. However, nothing stood out to me that may be related to your error.
Hi, thanks for fast answer.
Yes, i tried many types im thinking it not related to options in ./configure should be another thing.

I will paste here 2 .SlackBuilds and both have same error, i tried using cogl from git and same error too.
Obs: i tried without gles 1 and 2 too.

First
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --enable-gles{1,2} \
  --enable-kms-egl-platform \
  --disable-static \
  --disable-debug \
  --build=$ARCH-slackware-linux
Second, modified by me
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --disable-static \
  --disable-debug \
  --disable-examples-install \
  --disable-maintainer-flags \
  --disable-unit-tests \
  --enable-introspection \
  --enable-cairo \
  --enable-deprecated \
  --enable-gdk-pixbuf \
  --enable-glib \
  --enable-gl \
  --enable-glx \
  --enable-gles{1,2} \
  --enable-cogl-gles2 \
  --enable-xlib-egl-platform \
  --enable-cogl-gst \
  --enable-kms-egl-platform \
  --with-default-driver=opengl \
  --build=$ARCH-slackware-linux
Here the output settings
Code:
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for library containing strerror... none required
checking for an ANSI C-conforming const... yes
checking for _Static_assert... yes
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for cos in -lm... yes
checking if building for some Win32 platform... no
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.32.0... yes (version 2.46.2)
checking for DUMMY... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for linguas... an ar as ast be bg bs ca ca@valencia cs da de el en_CA en_GB eo es eu fa fr gl he hi hu id it ja km kn ko lt lv ml nb nl oc or pa pl pt pt_BR ru sk sl sr sr@latin sv ta te th tr ug uk vi zh_CN zh_HK zh_TW 
checking for COGL_DEP... yes
checking for COGL_DEP_GL... yes
checking for COGL_PANGO_DEP... yes
checking for COGL_GST_DEP... yes
checking for gobject-introspection... yes
checking for X... libraries , headers 
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking whether __FLOAT_WORD_ORDER is declared... yes
checking for ffs... yes
checking for memmem... yes
checking for sincos... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating config.h.win32
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/vs9/Makefile
config.status: creating build/win32/vs10/Makefile
config.status: creating deps/Makefile
config.status: creating deps/glib/Makefile
config.status: creating deps/gmodule/Makefile
config.status: creating deps/gmodule/gmoduleconf.h
config.status: creating test-fixtures/Makefile
config.status: creating cogl/Makefile
config.status: creating cogl/cogl-1.0.pc
config.status: creating cogl/cogl-2.0-experimental.pc
config.status: creating cogl/cogl-defines.h
config.status: creating cogl/cogl-defines.h.win32
config.status: creating cogl/cogl-defines.h.win32_SDL
config.status: creating cogl/cogl-gl-header.h
config.status: creating cogl/cogl-egl-defines.h
config.status: creating cogl/cogl.rc
config.status: creating cogl-pango/Makefile
config.status: creating cogl-pango/cogl-pango-1.0.pc
config.status: creating cogl-pango/cogl-pango-2.0-experimental.pc
config.status: creating cogl-pango/cogl-pango.rc
config.status: creating cogl-path/Makefile
config.status: creating cogl-path/cogl-path-1.0.pc
config.status: creating cogl-path/cogl-path-2.0-experimental.pc
config.status: creating cogl-gst/Makefile
config.status: creating cogl-gst/cogl-gst-1.0.pc
config.status: creating cogl-gst/cogl-gst-2.0-experimental.pc
config.status: creating cogl-gles2/Makefile
config.status: creating cogl-gles2/cogl-gles2-1.0.pc
config.status: creating cogl-gles2/cogl-gles2-2.0-experimental.pc
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/cogl/Makefile
config.status: creating doc/reference/cogl/cogl-docs.xml
config.status: creating doc/reference/cogl-2.0-experimental/Makefile
config.status: creating doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml
config.status: creating doc/reference/cogl-gst/Makefile
config.status: creating doc/reference/cogl-gst/cogl-gst-docs.xml
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating tests/config.env
config.status: creating tests/conform/Makefile
config.status: creating tests/unit/Makefile
config.status: creating tests/micro-perf/Makefile
config.status: creating tests/data/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

Cogl - 1.22.0/2.0.0 (git)

 • Global:
        Prefix: /usr
        Default driver: opengl

 • Features:
        Drivers:  gles1 gles2 gl
        Library name for GLES1: libGLESv1_CM.so
        Library name for GLES2: libGLESv2.so
        Library name for GL: libGL.so.1
        GL Window System APIs: glx egl
        EGL Platforms: kms xlib
        Wayland compositor support: no
        Building for emscripten environment: no
        Build libcogl-gles2 GLES 2.0 frontend api: yes
        Image backend: gdk-pixbuf
        Cogl Pango: yes
        Cogl Gstreamer: yes
        Cogl Path: yes

 • Build options:
        Debugging: no
        Profiling: no
        Enable deprecated symbols: yes
        Compiler flags: -O2 -fPIC  -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS  
        Linker flags:  

 • Extra:
        Build API reference: no
        Build introspection data: yes
        Build unit tests: no
        Enable internationalization: yes

Last edited by Candelabrus; 07-06-2016 at 07:59 AM.
 
Old 07-06-2016, 08:03 AM   #4
ml4711
Member
 
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146

Rep: Reputation: 103Reputation: 103
Don't know if it helps, but those names are defined in

/usr/include/GL/glext.h

cheers
 
Old 07-06-2016, 08:03 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No issues with cogl-1.22.0, Slackware64 - 14.2 :

1) http://www.linuxfromscratch.org/blfs...vn/x/cogl.html
i.e. './configure --prefix=/usr --enable-gles1 --enable-gles2 && make'

Or 2) The @bassmadrigal referred SlackBuild
https://github.com/CinnamonSlackBuil...tree/14.2/cogl
→ → "Slackware package /tmp/cogl-1.22.0-x86_64-2_csb.txz created.


-
 
1 members found this post helpful.
Old 07-06-2016, 08:08 AM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by Candelabrus View Post
Hi, thanks for fast answer.
Yes, i tried many types im thinking it not related to options in ./configure should be another thing.

I will paste here 2 .SlackBuilds and both have same error, i tried using cogl from git and same error too.
Obs: i tried without gles 1 and 2 too.

First
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --enable-gles{1,2} \
  --enable-kms-egl-platform \
  --disable-static \
  --disable-debug \
  --build=$ARCH-slackware-linux
I can't test it now, but could the bolded line in your configure flags be the problem? I believe you should use --enable-gles1 and/or --enable-gles2, not --enable-gles{1,2}. Otherwise, check to make sure you have /usr/include/GL/glext.h and that it includes the needed definitions, like ml4711 suggested.

Last edited by montagdude; 07-06-2016 at 08:10 AM.
 
Old 07-06-2016, 09:49 AM   #7
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Guys i solved my problem, but very weird all this.

Solution was to remove nvidia-sdk https://developer.nvidia.com/nvidia-video-codec-sdk

Done and i could compile cogl.

Now i will try to found solution to have both at same time.


Thanks to everyone who tried to help me, the person who showed me he could compile did I review what I had recently installed that could have affected and then the solution came.
 
  


Reply

Tags
cogl



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cogl-1.10.4 make check failed and compile Clutter-1.10.8 failed kcynice Linux From Scratch 0 08-09-2012 12:27 AM
How can I draw SPHERE with GL or cogl, without glu, glut bonserk Programming 2 08-06-2008 02:15 AM
libdvdcss compile problem on Slackware 12 Daedra Slackware 9 07-04-2007 05:33 PM
Slackware 12 RC1 compile ndiswrapper problem bgeddy Slackware 2 06-20-2007 10:02 AM
Slackware 9 kernel compile problem ganvar Slackware 2 03-23-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration