Comments (3)
Ah, interesting. I can reproduce this problem on Linux too.
It appears that opengl-boilerplate
is trying to generate an old version of GLEW with the current version of the OpenGL specifications. Here is a workaround that works for me:
cd external/glew
git clean -xdf .
git reset --hard glew-1.13.0
cd auto/registry
git clean -xdf
git reset --hard glew-1.13.0
touch gl/specs/.dummy
cd ../..
make extensions
cd ../..
And a-la, it works again...
$ make
Scanning dependencies of target glew
[ 4%] Building C object CMakeFiles/glew.dir/external/glew/src/glew.c.o
[ 8%] Linking C static library libglew.a
[ 8%] Built target glew
Scanning dependencies of target glfw
[ 13%] Building C object external/glew/src/CMakeFiles/glfw.dir/clipboard.c.o
[ 17%] Building C object external/glew/src/CMakeFiles/glfw.dir/context.c.o
[ 21%] Building C object external/glew/src/CMakeFiles/glfw.dir/gamma.c.o
[ 26%] Building C object external/glew/src/CMakeFiles/glfw.dir/init.c.o
[ 30%] Building C object external/glew/src/CMakeFiles/glfw.dir/input.c.o
[ 34%] Building C object external/glew/src/CMakeFiles/glfw.dir/joystick.c.o
[ 39%] Building C object external/glew/src/CMakeFiles/glfw.dir/monitor.c.o
[ 43%] Building C object external/glew/src/CMakeFiles/glfw.dir/time.c.o
[ 47%] Building C object external/glew/src/CMakeFiles/glfw.dir/window.c.o
[ 52%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_clipboard.c.o
[ 56%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_gamma.c.o
[ 60%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_init.c.o
[ 65%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_joystick.c.o
[ 69%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_monitor.c.o
[ 73%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_time.c.o
[ 78%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_window.c.o
[ 82%] Building C object external/glew/src/CMakeFiles/glfw.dir/x11_unicode.c.o
[ 86%] Building C object external/glew/src/CMakeFiles/glfw.dir/glx_context.c.o
[ 91%] Linking C static library libglfw3.a
[ 91%] Built target glfw
Scanning dependencies of target opengl-boilerplate
[ 95%] Building CXX object CMakeFiles/opengl-boilerplate.dir/main.cpp.o
[100%] Linking CXX executable opengl-boilerplate
[100%] Built target opengl-boilerplate
from glew.
Alright, some more details about my issue.
I was trying to get this https://github.com/andersonfreitas/opengl-boilerplate to work in Xcode.
So I just commented out every redefinition error and it seems to compile and run.
Not sure if I'm mutilating glew but here you can see what I needed to alter to make this work.
Hope there's a solution so this'll turn into an out of the box experience for me :D
from glew.
Thanks again code magician. I learn something new on GitHub every day it seems.
from glew.
Related Issues (20)
- Files missings during build HOT 2
- Am I hallucinating or is there no include folder in the repo? HOT 2
- Is CMakeLists.txt maintained? HOT 4
- Isnβt `dllimport` obsolete? HOT 11
- How do I compile with make include 32 bit on Ubuntu 64 Bit?
- Change CMake min version HOT 4
- Undefined references when compiling source HOT 3
- Building library fails on cmake and Makefile HOT 3
- CMakeLists is illformed
- arm64 on mac HOT 18
- Suddenly can't build GLEW anymore HOT 5
- definition of GLsizeiptr is inconsistent with Khronos gl32.h on armel and armhf HOT 1
- cmake: Undefined reference to glx functions when build with non-standard prefix path
- Bug - Files not found
- Regression testing of GLEW HOT 5
- The problem encountered when compiling with CMake on Windows HOT 2
- Could not make glew in Mac intel. several unknown type name HOT 1
- Building with MinGW LLVM: "unknown argument: -nostdlib, -soname"
- OSMesa build error under Ubuntu 24.04 and OsMesa 24.0.5
- Compilation Error: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glew.