openframeworks / openframeworks/openFrameworks
Wayland support for Linux
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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