Hi, I'm trying install Stage3.2.0 with Player and I have problem when I do "make"...
root@portatil:~/Descargas/stage# cmake .
-- Stage version 3.2.0
-- Operating system is Linux
-- Build type RELEASE
-- Checking for libtool
-- Checking for required libraries...
-- * FLTK version 1.3.0 detected via /usr/local/bin/fltk-config
-- Checking for optional libraries...
-- * Player version 3.0.0-rc3 detected at /usr/local
* WebSim not detected.
-- Installation path CMAKE_INSTALL_PREFIX=/usr/local
-- Configuring libstage
-- Configuring libstageplugin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matias/Descargas/stage
/home/matias/Descargas/stage/libstage/region.cc:10: error: la referencia a ‘Region’ es ambigua
/usr/include/X11/Xutil.h:267: error: candidates are: typedef struct _XRegion* Region
/home/matias/Descargas/stage/libstage/region.hh:58: error: class Stg::Region
/home/matias/Descargas/stage/libstage/region.cc:10: error: ISO C++ prohíbe la declaración de ‘Region’ sin tipo
/home/matias/Descargas/stage/libstage/region.cc: In function ‘int Region(Stg::SuperRegion*)’:
/home/matias/Descargas/stage/libstage/region.cc:10: error: ‘int Region(Stg::SuperRegion*)’ redeclarado como un tipo diferente de símbolo
/usr/include/X11/Xutil.h:267: error: declaración previa de ‘typedef struct _XRegion* Region’
/home/matias/Descargas/stage/libstage/region.cc:10: error: solamente los constructores toman inicializadores base
/home/matias/Descargas/stage/libstage/region.cc:15: aviso: no hay una declaración de devolución en la función que no devuelve void
/home/matias/Descargas/stage/libstage/region.cc: At global scope:
/home/matias/Descargas/stage/libstage/region.cc:17: error: la referencia a ‘Region’ es ambigua
/usr/include/X11/Xutil.h:267: error: candidates are: typedef struct _XRegion* Region
/home/matias/Descargas/stage/libstage/region.hh:58: error: class Stg::Region
/home/matias/Descargas/stage/libstage/region.cc:17: error: expected constructor, destructor, or type conversion before ‘::’ token
make[2]: *** [libstage/CMakeFiles/stage.dir/region.o] Error 1
make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2
make: *** [all] Error 2
I read another post with the same error, but is no response to the problem, so I hope to find the solution with your help.
Regards