Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by andrenilsen » Sat Nov 28, 2009 12:21 pm
The ./configure ran fine. But when I try to use "make" it wont compile, and I just get an error which says it can't find the glui.h file, even tough that file is in the /usr/include folder.
-
andrenilsen
-
- Posts: 3
- Joined: Sat Nov 28, 2009 12:02 pm
by Julio Jerez » Sat Nov 28, 2009 12:30 pm
just intall glui using sinapsis
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by andrenilsen » Sat Nov 28, 2009 3:16 pm
I have done that, but still the same error.
-
andrenilsen
-
- Posts: 3
- Joined: Sat Nov 28, 2009 12:02 pm
by Julio Jerez » Sat Nov 28, 2009 3:48 pm
AllI do is run sinaptic and ste the path to point to wher teh forder is.
you can open the file toolbox_stdafx.h or teh Make makefile and set teh path to where you installed the library
this is what it is in the header files
- Code: Select all
#ifdef _MSC_VER
#include <windows.h>
#include <crtdbg.h>
#include <GL/glew.h>
#include <gl/gl.h>
#include <GL/glut.h>
#include <malloc.h>
#pragma warning (disable: 4100) //unreferenced formal parameter
#include <GL/glui.h>
#else
#ifdef _LINUX_VER
#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/glui.h>
#else
#include <CoreFoundation/CoreFoundation.h>
#include <GLEW/glew.h>
#include <GLUT/glut.h>
#include <GL/glui.h>
#endif
#include <unistd.h>
#endif
and this is what it is in the make file
- Code: Select all
# ******************************************************
#
# project sorce files
#
# ******************************************************
# generic sdk flags
SDK_FLAGS = -m64 -O0 -c -Wall -D_LINUX_VER -g -pg
#SDK_FLAGS = -m32 -O3 -c -Wall -Werror -D_LINUX_VER -g
#SDK_FLAGS = -m32 -O3 -c -Wall -D_LINUX_VER -g
LIBS = -L/usr/X11R6/lib -lGL -lGLU -lglut -lglui -lpthread -lGLEW -lpthread
as you can see the location for lgui is not different than the location of glut or glew or pthread.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by andrenilsen » Sat Nov 28, 2009 5:30 pm
Thank you! I will try that when I get back to my developing computer.
-
andrenilsen
-
- Posts: 3
- Joined: Sat Nov 28, 2009 12:02 pm
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 4 guests