Questions tagged [glui]
GLUI is a GLUT-based C++ user interface library which provides controls such as buttons, checkboxes, radio buttons, and spinners to OpenGL applications.
23
questions
0
votes
1
answer
99
views
Can't figure out how to install a C++ library (GLUI) on linux Mint
I have been trying forever to install this: https://github.com/libglui/glui on my Linux mint distribution. I usually install stuff with the command line, and am a novice at manually installing ...
1
vote
0
answers
466
views
Fix 'no matching function for call to ...' error?
I'm trying to run this .cpp file in Codeblocks (only change is adding #include for windows.h to beginning).
It uses OpenGL, GLUT, and GLUI. I think I've gotten OpenGL and GLUT to work in Codeblocks ...
0
votes
1
answer
257
views
C2252 error when building GLUI with VS2017?
I downloaded GLUI 2.36 and set out to build the Visual Studio project in VS 2017, Windows 10. After getting the GLUT libraries correctly installed, I still get the following compile-time errors:
1>...
2
votes
1
answer
531
views
Get value of radio group on C++
I'm using C++ to create a GLUI window. I have a radio button, and I am trying to get the two options I have to have different callbacks.
For now, this is my code:
radio = glui->...
0
votes
1
answer
276
views
How to add glui to working freeglut project?
I have a working project containing freeglut and glew.
I want to add buttons and menu bar to the project, by using GLUI .
So the question is , how can i add GLUI linker to the project? , meaning ...
1
vote
1
answer
2k
views
How can I display text and some points using OpenGL/GLUT?
This project compiles and runs, but there is nothing appearing in the window.
It is supposed to display some text and an area with some points. Could anyone help me fix this?
Here is my code:
#...
-1
votes
1
answer
577
views
GLUI for Visual Studio 2012
I am trying to draw an opengl window with some interactive text input boxes and the like to change the rendered image. I am trying to use GLUI to do this. I successfully created a sub-window in opengl ...
1
vote
2
answers
606
views
How to include GLUI framework in makefile on macbookpro?
I am using macbook pro that runs on OS X Yosemite 10.10.1. I downloaded and installed GLUI 2.35 framework from here GLUI 2.35 and wrote a makefile to rum my c++ program but I got an error the no <...
0
votes
1
answer
360
views
GLUI controls do not appear but they have effect
I am developing graphic project with OpenGL and using freeglut and glew(v 1.11.0). I want to add sum UI controls with GLUI. I download the source code and build it with Microsoft Visual Studio 2012(I ...
0
votes
1
answer
250
views
Building the GLUI2 Library (Ubuntu)
I'm attempting to install the GLUI2 library.
I'm following the directions in the ReadMe which tells me to go GLUI's root directory and run Make.
I get the following error :
/usr/bin/ld: Glui2/...
0
votes
1
answer
212
views
GLUI runtime error with release build
I'm developing my first application using GLUI and I'm having some problems. I'm using Visual Studio 2010 on a Windows 7 machine and using glui-2.35. My application runs fine when built in debug ...
2
votes
1
answer
1k
views
Linker error: undefined reference to `GLUI_Master' [duplicate]
This is my first post. (Sorry if I missed something.)
(In C++, Dev-C++ IDE)
So, I made a gl/glu/glut project, and had no problems/errors, right? After that, I added the header
#include <gl/glui....
1
vote
1
answer
3k
views
Visual C++ 2010 - multiple unresolved externals errors after copy project to other computer
I wrote a C++ program using OpenMP. I was using it on my laptop without problems. Now i want to run it on my other computer (with better CPU). I copied project and all libraries (i use GLUT and GLUI), ...
0
votes
1
answer
551
views
How can I close only a GLUI window
I'm doing an uni project with initially one main GLUT window and will have some sort of "login" GLUI window that, if succeed Draws the glut window. However I want to be able to close the login window ...
-2
votes
1
answer
3k
views
How to load (.m) file with Glui opengl?
I have looked through the examples in the Glui package, but I need help with loading (.m) file which is 3D model
this is the sample codes....
#include <iostream>
#include <GL/glut.h>
#...
1
vote
1
answer
2k
views
OSX : Symbols not found for architecture i386
I have the following makefile that uses C++ and OpenGL. It was compiling at all, so I added the -m32 line in order to attempt to get it to compile in x86_64. Now I'm getting the same error but it's ...
0
votes
1
answer
112
views
Input Light Position with Arcball
I am trying to implement a functionality in OpenGL using GLUI such that the "Arcball" control is used to input the position of the light. I'm not sure how to go about this as the rotation matrix given ...
-2
votes
1
answer
430
views
C : printf changes course of program [closed]
I've got a program that simulates collisions (circles) using openGL, GLUT, GLUI. Everything worked fine but when I changed my code a bit it began to do weird things.
I have 2 buttons, "play" and "...
0
votes
1
answer
827
views
using glui menubar
I am new to glui. I am not able to create glui menubar. Whenever I create a glui menubar I get following errors:
1.cpp:13: error: expected constructor, destructor, or type conversion before ‘*’ token
...
0
votes
1
answer
798
views
glui setting button width
I have a problem with glui code, which is as follows:
glui=GLUI_Master.create_glui_subwindow(main_window,GLUI_SUBWINDOW_TOP);
b1 = glui->add_button("Navigator",0,cal);
b1->GLUI_Control::set_w(...
2
votes
2
answers
4k
views
Changing size of glui window
Can anyone tell me if there is any function for changing size of glui window? Also do anyone have any idea about how to add scroll bars to glut window?
Thanx in advance.
3
votes
1
answer
356
views
table creation using glui
Is it possible to create table(mathematical table not kitchen table) by using glui? Please specify the function, if possible.
Thanks in advance.
1
vote
1
answer
283
views
nested glui windows
I am new to glui. I want to ask can glui windows be nested? Is it possible to make a glui subwindow, subwindow of a glui window?
Can glui windows overlap each other?
Thanx in advance