Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-23-2019, 06:59 AM
#16
Member
Registered: Jul 2007
Posts: 683
Original Poster
Meanwhile, while compiling opencolorio, I am meeting roughly the following error:
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=915112
Maybe we need a new 'glew' in '-current'?
Code:
/usr/include/GL/glext.h:12066:105: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18734:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, GLfloat*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12068:103: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, const GLint*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18736:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, GLint*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12070:96: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, const GLfloat*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18730:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, GLfloat*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12072:94: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, const GLint*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18732:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, GLint*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12079:104: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, GLfloat*)’
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18743:28: note: previous declaration as ‘typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, const GLfloat*)’
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12080:102: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, GLint*)’
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18744:28: note: previous declaration as ‘typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, const GLint*)’
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
04-23-2019, 07:21 AM
#17
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097
Quote:
Originally Posted by
Lockywolf
Meanwhile, while compiling opencolorio, I am meeting roughly the following error:
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=915112
Maybe we need a new 'glew' in '-current'?
Code:
/usr/include/GL/glext.h:12066:105: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18734:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, GLfloat*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12068:103: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, const GLint*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18736:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, GLint*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12070:96: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, const GLfloat*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18730:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum, GLfloat*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12072:94: error: conflicting declaration ‘typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, const GLint*)’
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18732:28: note: previous declaration as ‘typedef void (* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum, GLint*)’
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12079:104: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, GLfloat*)’
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18743:28: note: previous declaration as ‘typedef void (* PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum, GLenum, const GLfloat*)’
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:59:
/usr/include/GL/glext.h:12080:102: error: conflicting declaration ‘typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, GLint*)’
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
^
In file included from /tmp/SBo/OpenColorIO-1.1.1/src/apps/ociodisplay/main.cpp:57:
/usr/include/GL/glew.h:18744:28: note: previous declaration as ‘typedef void (* PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum, GLenum, const GLint*)’
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
FYI I just tried to build it on current and it went fine, may be still something specific to your setup...
04-23-2019, 08:15 AM
#18
Member
Registered: Jul 2007
Posts: 683
Original Poster
Quote:
Originally Posted by
ponce
FYI I just tried to build it on current and it went fine, may be still something specific to your setup...
What do the following commands say on your machine?
Code:
root@delllaptop:/var/lib/sbopkg/SBo-git/graphics/opencolorio# grep PFNGLGETFRAGMENTMATERIALIVSGIXPROC /usr/include/GL/glew.h /usr/include/GL/glext.h
/usr/include/GL/glew.h:typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
/usr/include/GL/glew.h:GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX;
/usr/include/GL/glext.h:typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
root@delllaptop:/var/lib/sbopkg/SBo-git/graphics/opencolorio# ls -la /usr/include/GL/glew.h /usr/include/GL/glext.h
-rw-r--r-- 1 root root 1186601 Apr 14 2018 /usr/include/GL/glew.h
-rw-r--r-- 1 root root 832367 Apr 12 02:28 /usr/include/GL/glext.h
root@delllaptop:/var/lib/sbopkg/SBo-git/graphics/opencolorio#
04-23-2019, 08:42 AM
#19
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097
they say the same things as on your system, but this doesn't mean anything, IMHO...
Quote:
Originally Posted by
chris.willing
I had no problem building opencolorio. The optional openimageio dependency is not specified as required in the default opencolorio.info file and I never build it with that dependency myself. If you're having openimageio related problems when building opencolorio, I suggest you remove the openimageio dependency
have you tried what RadicalDreamer and Chris suggested above (removing openimageio before building opencolorio)?
Last edited by ponce; 04-23-2019 at 08:57 AM .
Reason: I was forgetting RadicalDreamer...
04-23-2019, 08:59 AM
#20
Member
Registered: Jul 2007
Posts: 683
Original Poster
Quote:
have you tried what Chris suggested above (removing openimageio before building opencolorio)?
I didn't understand his suggestion.
openimageio depends on opencolorio, not the other way round.
04-23-2019, 09:27 AM
#21
Member
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915
Quote:
Originally Posted by
Lockywolf
I didn't understand his suggestion.
openimageio depends on opencolorio, not the other way round.
opencolorio can apparently do some optimisations if openimageio is present at build time i.e. a circular dependency. To avoid this, we make only the one dependency explicit in the info files i.e. openimageio depends on opencolorio (as you say). However some people are prepared to do the double compiling by hand in order to obtain whatever benefit they think is available. Maybe there is a benefit or maybe it causes problems. It could also happen accidentally - it may be that a system already has openimageio available when opencolorio is being compiled (perhaps due to an update). Again, there may be some benefit or it may cause a problem. To avoid any chance of problems like this, I always build opencolorio in a clean VM with only opencolorio's dependencies installed.
chris
04-23-2019, 10:00 AM
#22
Member
Registered: Jul 2007
Posts: 683
Original Poster
Now I understand this. I remember having this kind of issue when compiling Blender for the first time.
But I didn't realise that it could influence glew somehow.
Thank you.
04-24-2019, 04:35 PM
#23
Member
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915
Quote:
Originally Posted by
RadicalDreamer
I use the Slackbuild for the Binary version of Blender and Blender 2.79b from blender.org. I got tired of dealing with the dependencies and the binary supplied by Blender has CUDA support so I don't have to deal with NVIDIA's CUDA shenanigans.
Can't avoid dealing with the dependencies but CUDA support is now included in the Blender "build from source" slackbuild at SBo - available in the next round of updates (probably at the weekend). It needs the cudatoolkit package to be installed at build time (though not run time). However since this feature is specific to nvidia GPUs I haven't included cudatoolkit in the REQUIRES field of the .info file - it'll be an optional dependency that builders will have to install separately.
chris
1 members found this post helpful.
All times are GMT -5. The time now is 09:08 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News