Comments (2)
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);
from vimeo-depth-viewer.
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.
from vimeo-depth-viewer.
Related Issues (7)
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 vimeo-depth-viewer.