Re: [Mesa3d-dev] [PATCH] Fix compile error caused by missing include dir

2010-03-19 Thread Johannes Obermayr
Please apply this patch.

Otherwise st:es has a compile error in st_es2.c!

Thanks.
Johannes
Ping

If you do not believe try compiling it on a fresh machine like OBS.

Include flow:
src/gallium/state_trackers/es/st_es2.c - src/mesa/state_tracker/st_manager.h 
- src/mesa/state_tracker/st_context.h - src/mesa/main/mtypes.h - 
src/mesa/main/glheader.h

src/mesa/main/glheader.h cannot find:

#include GL/gl.h
#include GL/glext.h
#include GL/internal/glcore.h

With the patch it can ...

And Mesa/Gallium should always be in a compilable state, shouldn't it?

Thanks.
Johannes

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] [PATCH] Fix compile error caused by missing include dir

2010-03-19 Thread Brian Paul
Johannes Obermayr wrote:
 Please apply this patch.

 Otherwise st:es has a compile error in st_es2.c!

 Thanks.
 Johannes
 Ping
 
 If you do not believe try compiling it on a fresh machine like OBS.
 
 Include flow:
 src/gallium/state_trackers/es/st_es2.c - src/mesa/state_tracker/st_manager.h 
 - src/mesa/state_tracker/st_context.h - src/mesa/main/mtypes.h - 
 src/mesa/main/glheader.h
 
 src/mesa/main/glheader.h cannot find:
 
 #include GL/gl.h
 #include GL/glext.h
 #include GL/internal/glcore.h
 
 With the patch it can ...
 
 And Mesa/Gallium should always be in a compilable state, shouldn't it?

I'm committing the fix now.  Sorry for the slow reply.

-Brian

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


[Mesa3d-dev] [PATCH] Fix compile error caused by missing include dir

2010-03-18 Thread Johannes Obermayr
Please apply this patch.

Otherwise st:es has a compile error in st_es2.c!

Thanks.
Johannes
diff --git a/src/gallium/state_trackers/es/Makefile b/src/gallium/state_trackers/es/Makefile
index e33685d..089d441 100644
--- a/src/gallium/state_trackers/es/Makefile
+++ b/src/gallium/state_trackers/es/Makefile
@@ -38,6 +38,7 @@ SYS_LIBS = -lm -pthread
 
 
 INCLUDE_DIRS = \
+	-I$(TOP)/include \
 	-I$(TOP)/src/mesa \
 	-I$(TOP)/src/gallium/include
 
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev