chris.m,
Sorry it has taken so long to get back to this/ I was in Japan the last couple of weeks and couldn`t get to working on this. I've gotten a bit farther along though.
I had to comment out
.
//E_DEBUG_CODE
//#include "define_all.h"
//#else
//#include "../../defines/define_all.h"
//#endif // USE_DEBUG_CODE
in utilities/linux/wrapper/wrapper_x11.cpp
make now goes without errors or warnings.
Now when I do a "make bin" however it still throws:
root@zaurus:~/PlutoHome/Orbiter# make bin
g++ -c -I.. -I../DCE -I/usr/include/mysql -D_DEVEL_DEFINES -I/usr/include/SDL -DORBITER -DCACHE_IMAGES -DENABLE_MOUSE_BEHAVIOR -I../Splitter -I../OrbiterGen -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DUSE_WX_LIB=0 -Wall -fPIC -ggdb3 -g -O0 -DUSE_WX_LIB=0 Main.cpp -o Main.o
In file included from /usr/include/glib-2.0/glib.h:52,
from ../utilities/linux/window_manager/WMController/../wmctrl/wmctrl.h:50,
from ../utilities/linux/window_manager/WMController/WMController.h:14,
from SDL/../Linux/win_list_manager.h:7,
from SDL/../Linux/OrbiterLinux.h:10,
from SDL/StartOrbiterSDL.h:5,
from Main.cpp:21:
/usr/include/glib-2.0/glib/gmessages.h:109: warning: `visibility' attribute directive ignored
In file included from SDL/../Linux/../SDL/OrbiterRenderer_SDL.h:10,
from SDL/../Linux/OrbiterRenderer_Linux.h:8,
from SDL/StartOrbiterSDL.h:6,
from Main.cpp:21:
SDL/../Linux/../SDL/../OrbiterRenderer.h:41: syntax error before `;'
make: *** [Main.o] Error 1
Here is the code around line 109 in /usr/include/glib-2.0/glib/gmessages.h
/* internal */
void _g_log_fallback_handler (const gchar *log_domain,
GLogLevelFlags log_level,
const gchar *message,
gpointer unused_data) G_GNUC_INTERNAL;
/* Internal functions, used to implement the following macros */
void g_return_if_fail_warning (const char *log_domain,
const char *pretty_function,
const char *expression);
void g_assert_warning (const char *log_domain,
const char *file,
const int line,
const char *pretty_function,
const char *expression) G_GNUC_NORETURN;
and from SDL/../Linux/../SDL/../OrbiterRenderer.h:41:
OrbiterRenderer(Orbiter *pOrbiter);
void ConfigureDefaultTextStyle();
virtual void UpdateScreen();
auto_ptr<TextStyle> m_spTextStyle;
pluto_pthread_mutex_t m_NeedRedrawVarMutex; //this will protect needredr
aw vectors
public:
Orbiter *m_pOrbiter;
pluto_pthread_mutex_t m_bgImageReqMutex;
list<PlutoGraphic **> m_listbgImageGraphic;
list<string> m_listbgImageFilename;
Any ideas?