openframeworks / openframeworks/openFrameworks

Wayland support for Linux

Open
#6,306 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Gcc -- 8.3
all the dependencies and codec fullfilled required by script.
nightly builds without error
running the make file inside the project folder of openFrameworkscompiled or the build script i get this error.
from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofImage.cpp:1:
/usr/include/GL/glew.h:22687:52: note: previous declaration 'void (* __glewGetFragmentMaterialfvSGIX)(GLenum, GLenum, const GLfloat*)'
GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofImage.h:3,
from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofImage.cpp:1:
/usr/include/GL/glext.h:12099:90: error: 'void __glewGetFragmentMaterialivSGIX(GLenum, GLenum, GLint*)' redeclared as different kind of symbol
APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
^

In file included from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofImage.h:3,
from /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/graphics/ofImage.cpp:1:
/usr/include/GL/glew.h:22688:52: note: previous declaration 'void (* __glewGetFragmentMaterialivSGIX)(GLenum, GLenum, const GLint*)'
GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [makefileCommon/compile.core.mk:240: /home/shank/Programs/openframeworks-nightly/of_v0.10.1_linux64gcc6_release/libs/openFrameworksCompiled/lib/linux64/obj/Debug/libs/openFrameworks/graphics/ofImage.o] Error 1
make: *** [makefileCommon/compile.core.mk:212: Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Debug build using the build script or makefile, then inspect libs/openFrameworks/graphics/ofImage.cpp and libs/openFrameworks/utils/ofConstants.h around the GLEW and GL header includes. Review makefileCommon/compile.core.mk for the failing build step. The issue needs clarification on whether the goal is resolving this header conflict, adding Wayland support, or both; done should be defined against that scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
computer-graphics, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.