project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Niggle

Pages: [1]
1
Newbie Coding / Switch from svn to git without redownloading everything?
« on: September 25, 2010, 11:53:35 am »
Hi,

I've got the last svn code already and I notice that you've now switched to git.

Is there an easy way to switch to using the git repository without having to re-download the entire source over a 1MBit (on a good day) connection? Basically, I want to just update from the last svn version.

Nigel

2
Linux / Re: Error compiling uforadiant on ubuntu 9.04
« on: October 06, 2009, 01:45:17 pm »
Thanks, that fixed it.

I'd just done a "make clean". Didn't realise there was a separate clean target for radiant.

3
Linux / Error compiling uforadiant on ubuntu 9.04
« on: October 06, 2009, 12:15:02 pm »
Hi all,

Using Ubuntu 9.04 64 bit.
Just done an "svn up" to get the latest revision (26514).
Can compile the game and maps OK, but get the following when trying to compile radiant...

Basically lots of errors relating to "create_menu_item_with_mnemonic" and similar named functions.

Code: [Select]
* [RAD] ... linking -rdynamic (-Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lpangox-1.0 -lX11 -lxml2 -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lgthread-2.0 -lopenal   -lvorbisfile -lvorbis -logg)
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o: In function `Brush_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1304: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1305: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1306: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1307: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1313: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1314: more undefined references to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmanip.o: In function `Brush_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1331: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1333: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/brushmanip.cpp:1334: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/brushmodule.o: In function `LatchedValue<bool>::import(bool)':
brushmodule.cpp:(.text._ZN12LatchedValueIbE6importEb[LatchedValue<bool>::import(bool)]+0x37): undefined reference to `PreferencesDialog_restartRequired(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/colorscheme.o: In function `create_colours_menu()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:171: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:172: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:173: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:174: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:178: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/colorscheme.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/colorscheme.cpp:179: more undefined references to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o: In function `Filters_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:174: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:176: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:178: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:180: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:182: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:184: more undefined references to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/filters.o: In function `Filters_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:212: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/filters.cpp:214: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/grid.o: In function `Grid_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:198: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:199: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:200: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:201: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:202: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/grid.o:/home/nigel/Public/ufoai/src/tools/radiant/radiant/grid.cpp:203: more undefined references to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `MRU_constructMenu(_GtkMenu*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:203: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:208: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:213: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:218: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, char const*, Callback0<void> const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `MRU_Activate':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:160: undefined reference to `Map_LoadFile(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/lastused.o: In function `LoadMRU::load()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/lastused.cpp:187: undefined reference to `ConfirmModified(char const*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/url.o: In function `OpenURL(char const*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/url.cpp:54: undefined reference to `gtk_MessageBox(_GtkWidget*, char const*, char const*, EMessageBoxType, EMessageBoxIcon)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/sidebar/texturebrowser.o: In function `TextureBrowser_constructToolsMenu':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1139: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/sidebar/texturebrowser.o: In function `TextureBrowser_constructViewMenu':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1122: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1125: undefined reference to `create_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1126: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/sidebar/texturebrowser.cpp:1127: undefined reference to `create_check_menu_item_with_mnemonic(_GtkMenu*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/dialogs/findbrush.o: In function `FindBrushOrEntity()':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:99: undefined reference to `create_dialog_window(_GtkWindow*, char const*, void (*)(), void*, int, int)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:147: undefined reference to `create_dialog_button(char const*, void (*)(), void*)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/findbrush.cpp:153: undefined reference to `create_dialog_button(char const*, void (*)(), void*)'
debug-linux-gnu-x86_64/tools/radiant/tools/radiant/radiant/dialogs/light.o: In function `DoLightIntensityDlg(int*)':
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:39: undefined reference to `create_modal_dialog_window(_GtkWindow*, char const*, ModalDialog&, int, int)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:70: undefined reference to `create_modal_dialog_button(char const*, ModalDialogButton&)'
/home/nigel/Public/ufoai/src/tools/radiant/radiant/dialogs/light.cpp:76: undefined reference to `create_modal_dialog_button(char const*, ModalDialogButton&)'
collect2: ld returned 1 exit status
make: *** [radiant/uforadiant] Error 1

4
Bugs prior to release 2.3 / Re: Error compiling revision 24950
« on: July 04, 2009, 04:30:55 pm »
Thanks, that sorted it.
Should have remembered to do that anyway, but most times it builds OK without it.

5
Bugs prior to release 2.3 / Error compiling revision 24950
« on: July 03, 2009, 04:50:24 pm »
Just did an "svn up" to get revision 24950.
Then tried a make and got the following:

Code: [Select]
* [UFO] src/client/cl_actor.c
 * [UFO] src/client/cl_cinematic.c
 * [UFO] src/client/cl_cinematic_roq.c
 * [UFO] src/client/cl_cinematic_ogm.c
 * [UFO] src/client/cl_console.c
 * [UFO] src/client/cl_game.c
 * [UFO] src/client/cl_game_campaign.c
 * [UFO] src/client/cl_game_multiplayer.c
 * [UFO] src/client/cl_game_skirmish.c
 * [UFO] src/client/cl_http.c
 * [UFO] src/client/cl_hud.c
 * [UFO] src/client/cl_inventory.c
 * [UFO] src/client/cl_inventory_callbacks.c
 * [UFO] src/client/cl_input.c
 * [UFO] src/client/cl_irc.c
 * [UFO] src/client/cl_joystick.c
 * [UFO] src/client/cl_keys.c
 * [UFO] src/client/cl_language.c
 * [UFO] src/client/cl_le.c
 * [UFO] src/client/cl_main.c
 * [UFO] src/client/cl_menu.c
 * [UFO] src/client/cl_parse.c
 * [UFO] src/client/cl_particle.c
 * [UFO] src/client/cl_screen.c
 * [UFO] src/client/cl_sequence.c
 * [UFO] src/client/cl_team.c
 * [UFO] src/client/cl_tip.c
 * [UFO] src/client/cl_tutorials.c
 * [UFO] src/client/cl_ugv.c
 * [UFO] src/client/cl_video.c
 * [UFO] src/client/cl_view.c
 * [UFO] src/client/events/e_main.c
Assembler messages:
Fatal error: can't create debug-linux-gnu-x86_64/client/client/events/e_main.o: No such file or directory
make: *** [debug-linux-gnu-x86_64/client/client/events/e_main.o] Error 2

Prior to this, the game was compiling correctly (about two weeks ago was the last time I tried).

Nigel.

6
Linux / Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« on: October 30, 2008, 12:53:07 pm »
A few problems playing a couple of maps in skirmish mode on the latest ubuntu builds:

Bridge
One alien seems to start in mid air over the river. It can't be shot at because the river bank seems to act like a solid wall.

Village
None of the stairs work in any of the buildings.
Also, you can't enter the bathrooms in the two identical buildings.

Pages: [1]