Ooops it seems that scons is not testing for X server includes.
You need to install them. They must be something like xserver-dev
It is strange that FLTK includes are installed and xserver includes are not ...


On Wed, Apr 23, 2008 at 2:40 AM, faelix <vladimir.roldan@gmail.com> wrote:

Hello all.
This is my first post on this forum I hope enyone of you can helpme. when I
try to compile this version of gazebo i get this

vladimir@gazebo:~/Documentos/gazebo/gazebo-0.8-pre2$ scons
scons: Reading SConscript files ...
detected CPU atributes: -mmmx -msse -msse2
Checking for [pkg-config --cflags --libs OGRE]
 Success
Checking for [xml2-config --cflags --libs]
 Success
Checking for [ode-config --cflags --libs]
 Success
Checking for [fltk-config --cflags --libs --ldflags --use-gl --use-images]
 Success
Checking for [pkg-config --cflags --libs xft]
 Success
Checking for C header file ode/ode.h... (cached) yes
Checking for ODE...(cached) yes

scons: warning: The env.Copy() method is deprecated; use the env.Clone()
method instead.
File "/home/vladimir/Documentos/gazebo/gazebo-0.8-pre2/player/SConscript",
line 22, in ?
Checking for [pkg-config --cflags --libs playerc++]
 Success
scons: done reading SConscript files.
scons: Building targets ...
g++ -o server/gui/GLWindow.o -c -ggdb -g3 -mmmx -msse -msse2 -DOGRE_GUI_gtk
-DOGRE_CONFIG_LITTLE_ENDIAN -I. -Iserver -Iserver/models -Iserver/gui
-Iserver/gui/fltk -Ilibgazebo -Iserver/rendering -Iserver/sensors
-Iserver/sensors/camera -Iserver/sensors/ray -Iserver/physics
-Iserver/physics/ode -Iserver/controllers -Iserver/controllers/position2d
-Iserver/controllers/position2d/pioneer2dx -I/usr/local/include
-I/usr/local/include/OGRE -I/usr/include/libxml2 -I/usr/include/freetype2
server/gui/GLWindow.cc
server/gui/GLWindow.cc: In member function 'void
gazebo::GLWindow::Update()':
server/gui/GLWindow.cc:130: error: 'XK_Up' was not declared in this scope
server/gui/GLWindow.cc:131: error: 'XK_w' was not declared in this scope
server/gui/GLWindow.cc:135: error: 'XK_Down' was not declared in this scope
server/gui/GLWindow.cc:136: error: 'XK_s' was not declared in this scope
server/gui/GLWindow.cc:140: error: 'XK_Left' was not declared in this scope
server/gui/GLWindow.cc:141: error: 'XK_a' was not declared in this scope
server/gui/GLWindow.cc:145: error: 'XK_Right' was not declared in this scope
server/gui/GLWindow.cc:146: error: 'XK_d' was not declared in this scope
server/gui/GLWindow.cc:150: error: 'XK_Page_Down' was not declared in this
scope
server/gui/GLWindow.cc:151: error: 'XK_e' was not declared in this scope
server/gui/GLWindow.cc:155: error: 'XK_Page_Up' was not declared in this
scope
server/gui/GLWindow.cc:156: error: 'XK_q' was not declared in this scope
scons: *** [server/gui/GLWindow.o] Error 1
scons: building terminated because of errors.


I have searched on the forums and I can find any clues to solve this
I install all the dev package realated with X11, but it seems that I miss
something.
I chek and the definitions of thouse macros are in the file
/usr/include/X11/keysymdef.h
Please helpme and forgive my english
--
View this message in context: http://www.nabble.com/GLWindow-error-at-compiling-Gazebo-0.8-pre2-on-ubuntu-6.06-tp16825376p16825376.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo



--
Jordi Polo Carres
NLP laboratory - NAIST
http://www.bahasara.org