Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Error #4

Open
daRasmussen opened this issue Sep 20, 2018 · 4 comments
Open

Make Error #4

daRasmussen opened this issue Sep 20, 2018 · 4 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@daRasmussen
Copy link

~/github/ReTouch/build$ make
[ 55%] Built target nanogui-obj
[ 82%] Built target glfw_objects
[ 83%] Built target nanogui
[ 87%] Built target glew
Scanning dependencies of target ReTouch
[ 89%] Building CXX object CMakeFiles/ReTouch.dir/src/Renderer.cpp.o
/github/ReTouch/src/Renderer.cpp: In member function ‘void Renderer::setupWindow()’:
/github/ReTouch/src/Renderer.cpp:70:5: error: ‘glewExperimental’ was not declared in this scope
     glewExperimental = true;
     ^
/github/ReTouch/src/Renderer.cpp:71:27: error: ‘glewInit’ was not declared in this scope
     GLenum err = glewInit();
                           ^
/github/ReTouch/src/Renderer.cpp:72:9: error: ‘GLEW_OK’ was not declared in this scope
     if (GLEW_OK != err)
         ^
/github/ReTouch/src/Renderer.cpp:75:62: error: ‘glewGetErrorString’ was not declared in this scope
         fprintf(stderr, "Error: %s\n", glewGetErrorString(err));
                                                              ^
/github/ReTouch/src/Renderer.cpp:78:62: error: ‘GLEW_VERSION’ was not declared in this scope
     fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
                                                              ^
/github/ReTouch/src/Renderer.cpp:78:74: error: ‘glewGetString’ was not declared in this scope
     fprintf(stdout, "Status: Using GLEW %s\n", glewGetString(GLEW_VERSION));
                                                                          ^
CMakeFiles/ReTouch.dir/build.make:88: recipe for target 'CMakeFiles/ReTouch.dir/src/Renderer.cpp.o' failed
make[2]: *** [CMakeFiles/ReTouch.dir/src/Renderer.cpp.o] Error 1
CMakeFiles/Makefile2:73: recipe for target 'CMakeFiles/ReTouch.dir/all' failed
make[1]: *** [CMakeFiles/ReTouch.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I get this error on Ubuntu 16.04, how do I resolve this?

@dlwnsgud0819
Copy link

I also have same problem.

@juniorxsound
Copy link
Owner

@daRasmussen thanks for the details!

I created a branch with a fix that seems to be building ok on Travis, if it works for you I'll merge it into master.

screen shot 2018-09-23 at 9 29 21 pm

@juniorxsound juniorxsound self-assigned this Sep 24, 2018
@juniorxsound juniorxsound added enhancement New feature or request bug Something isn't working labels Sep 24, 2018
@dlwnsgud0819
Copy link

@juniorxsound Thank you for your efforts. It's succeed to build on ubuntu.
However, when I run, It gives me a error:
Status: Using GLEW 1.11.0
OpenGL version recieved: 3.2.0
Supported OpenGL is 3.2.0 NVIDIA 390.48
Supported GLSL is 1.50 NVIDIA via Cg compiler
Segmentation Fault (core dumped)

@juniorxsound
Copy link
Owner

Interesting, I'll try setting up an Ubuntu machine to test this issue further. Will follow up once I have more insights.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants