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

Operating system compatibility #1

Open
1 of 3 tasks
juniorxsound opened this issue Jul 17, 2018 · 2 comments
Open
1 of 3 tasks

Operating system compatibility #1

juniorxsound opened this issue Jul 17, 2018 · 2 comments

Comments

@juniorxsound
Copy link
Contributor

  • macOS (v10.13.4)
  • Linux
  • Windows
@thepaintedsnipe
Copy link

thepaintedsnipe commented Jun 19, 2019

Is there plan to add Linux Support? Or if anyone has built this on Linux, then any suggestions on how to resolve following build errors. I tried building on Ubuntu 18.04.01 and got following errors

In file included from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glcanvas.h:22:0, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/VideoView.h:3, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/VideoWindow.h:6, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/MainWindow.h:37, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/MainWindow.cpp:1: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, bool, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: error: ‘glUniform1i’ was not declared in this scope glUniform1i(uniform(name, warn), (int)value); ^~~~~~~~~~~ /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: note: suggested alternative: ‘uniform’ glUniform1i(uniform(name, warn), (int)value); ^~~~~~~~~~~ uniform /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, T, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:255:9: error: there are no arguments to ‘glUniform1i’ that depend on a template parameter, so a declaration of ‘glUniform1i’ must be available [-fpermissive] glUniform1i(uniform(name, warn), (int) value); ^~~~~~~~~~~ /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:255:9: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, T, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:261:9: error: there are no arguments to ‘glUniform1f’ that depend on a template parameter, so a declaration of ‘glUniform1f’ must be available [-fpermissive] glUniform1f(uniform(name, warn), (float) value);

@tangbao
Copy link

tangbao commented Sep 11, 2019

Is there plan to add Linux Support? Or if anyone has built this on Linux, then any suggestions on how to resolve following build errors. I tried building on Ubuntu 18.04.01 and got following errors

In file included from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glcanvas.h:22:0, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/VideoView.h:3, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/VideoWindow.h:6, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/MainWindow.h:37, from /home/kunal/workspace/Vimeo/vimeo-depth-viewer/src/MainWindow.cpp:1: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, bool, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: error: ‘glUniform1i’ was not declared in this scope glUniform1i(uniform(name, warn), (int)value); ^~~~~~~~~~~ /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:249:9: note: suggested alternative: ‘uniform’ glUniform1i(uniform(name, warn), (int)value); ^~~~~~~~~~~ uniform /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, T, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:255:9: error: there are no arguments to ‘glUniform1i’ that depend on a template parameter, so a declaration of ‘glUniform1i’ must be available [-fpermissive] glUniform1i(uniform(name, warn), (int) value); ^~~~~~~~~~~ /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:255:9: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h: In member function ‘void nanogui::GLShader::setUniform(const string&, T, bool)’: /home/kunal/workspace/Vimeo/vimeo-depth-viewer/ext/nanogui/include/nanogui/glutil.h:261:9: error: there are no arguments to ‘glUniform1f’ that depend on a template parameter, so a declaration of ‘glUniform1f’ must be available [-fpermissive] glUniform1f(uniform(name, warn), (float) value);

Same problem. Still looking for solution. If I compile the nanogui directly, there is no error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants