Pages: [1]
  Print  
Author Topic: Mapping on mac.  (Read 15749 times)
kick52
Member


Cakes -1
Posts: 229


« on: March 23, 2007, 11:34:13 AM »

Hi.

I'm on an iBook G4, 10.4.9, and I want to do mapping.

I tried first with MacRadiant, but gave up. I spent about 5 hours on it, trying to configure it, but it was totaly different from GtkRadiant instructions, and it needed a project file(whatever that is), which I did not have.

Then I tried building GtkRadiant from source. I got the svn release, but it failed compiling with:

Code:
ld: Undefined symbols:
__ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm
__ZNSt24__default_alloc_templateILb1ELi0EE8allocateEm
/usr/bin/libtool: internal link edit command failed
scons: *** [build/debug/bobtoolz.dylib] Error 1

..and couldn't find anyone who could help me. I havent posted on the MacRadiant forums, as there hasnt been any activity this year.

Is this impossible to do, or can someone help me out here?

Thanks, I'm also on the IRC channel if you want to talk.
Logged
tw3k
Lesser Nub


Cakes 0
Posts: 143



« Reply #1 on: March 23, 2007, 12:37:24 PM »

I'm on a G4 ti, 10.4.9, and got about as far as you did building radiant.
I didn't spend any time on it.
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #2 on: March 23, 2007, 02:11:59 PM »

find this part of the SConscript and comment it out: 
Code:
bob_env = module_env.Copy()
bob_lst = build_list('contrib/bobtoolz/',
'dialogs/dialogs-gtk.cpp bobToolz-GTK.cpp bsploader.cpp cportals.cpp DBobView.cpp \
DBrush.cpp DEntity.cpp DEPair.cpp DMap.cpp DPatch.cpp DPlane.cpp DPoint.cpp \
DShape.cpp DTrainDrawer.cpp DTreePlanter.cpp DVisDrawer.cpp DWinding.cpp funchandlers-GTK.cpp \
lists.cpp misc.cpp ScriptParser.cpp shapes.cpp visfind.cpp')
bob_lib = bob_env.SharedLibrarySafe(target='bobtoolz', source=bob_lst, LIBS=['mathlib', 'cmdlib', 'profile'], LIBPATH='libs')
bob_env.Depends(bob_lib, mathlib_lib)
bob_env.Depends(bob_lib, cmdlib_lib)
bob_env.Depends(bob_lib, profile_lib)
bob_env.useGlib2()
bob_env.useGtk2()
bob_env.Install(INSTALL + '/plugins', bob_lib)

just put a # at the start of each line.  Bobtools is just a plugin and you can map without it.
Logged

kick52
Member


Cakes -1
Posts: 229


« Reply #3 on: March 23, 2007, 03:29:47 PM »

i'll try that, thanks!
Logged
kick52
Member


Cakes -1
Posts: 229


« Reply #4 on: March 23, 2007, 03:39:56 PM »

nope. it compiled further, but stops at this: (which is the first target, so i dont see much hope here.)

Code:
contrib/brushexport/export.cpp:149:   instantiated from here
include/itextstream.h:66: error: call of overloaded 'ostream_write(TextOutputStream&, const long unsigned int&)' is ambiguous
libs/stream/textstream.h:147: note: candidates are: TextOutputStreamType& ostream_write(TextOutputStreamType&, char) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:156: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, double) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:167: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, float) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:175: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, int) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:193: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, Unsigned) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:247: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, const HexChar&) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:342: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, const Decimal&) [with TextOutputStreamType = TextOutputStream]
scons: *** [build/debug/contrib/brushexport/export.os] Error 1
scons: building terminated because of errors.

i'm hoping someone on here has used macradiant with oa before, otherwise i'm screwed  using it on my ibook.
Logged
tw3k
Lesser Nub


Cakes 0
Posts: 143



« Reply #5 on: March 23, 2007, 04:14:38 PM »

scons :S

sure you just rigt build tools?
Logged
dmn_clown
Posts a lot
*

Cakes 1
Posts: 1324


« Reply #6 on: March 23, 2007, 04:54:03 PM »

Again you are failing on a plugin, comment these lines out of the sconscript
Code:
brushexport2_env = module_env.Copy()
brushexport2_lst = build_list('contrib/brushexport', ['plugin.cpp','interface.cpp','callbacks.cpp', 'support.cpp', 'export.cpp'])
brushexport2_env.useGlib2()
brushexport2_env.useGtk2()
brushexport2_lib = brushexport2_env.SharedLibrarySafe(target='brushexport', source=brushexport2_lst, LIBPATH='libs')
brushexport2_env.Install(INSTALL + '/plugins', brushexport2_lib)

sunplug_env = module_env.Copy()
sunplug_lst = build_list('contrib/sunplug', 'sunplug.cpp')
sunplug_env.useGlib2()
sunplug_env.useGtk2()
sunplug_lib = sunplug_env.SharedLibrarySafe(target='sunplug', source=sunplug_lst, LIBPATH='libs')
sunplug_env.Install(INSTALL + '/plugins', sunplug_lib)

ufoai_env = module_env.Copy()
ufoai_lst = build_list('contrib/ufoaiplug', 'ufoai.cpp ufoai_filters.cpp ufoai_gtk.cpp ufoai_level.cpp')
ufoai_env.useGlib2()
ufoai_env.useGtk2()
ufoai_lib = ufoai_env.SharedLibrarySafe(target='ufoaiplug', source=ufoai_lst, LIBPATH='libs')
ufoai_env.Install(INSTALL + '/plugins', ufoai_lib)

shaderplug_env = module_env.Copy()
shaderplug_lst = build_list('contrib/shaderplug', 'shaderplug.cpp')
shaderplug_env.useGlib2()
shaderplug_env.useGtk2()
shaderplug_env.useXML2()
shaderplug_lib = shaderplug_env.SharedLibrarySafe(target='shaderplug', source=shaderplug_lst,  LIBS='xmllib', LIBPATH='libs')
shaderplug_env.Install(INSTALL + '/plugins', shaderplug_lib)

Which will keep those plugins from being built Radiant should then build, if not file a bug: http://www.qeradiant.com/?data=bugreport and make TTimo earn his pay d-;

Scons is annoying but it is better than autoconf.
Logged

kick52
Member


Cakes -1
Posts: 229


« Reply #7 on: March 23, 2007, 05:51:27 PM »

well, after making the changes, it compiled further for another 10-15mins.
and now i'm stuck at this, which doesnt look to hard:

Code:
ld: archive: build/debug/libs/libcmdlib.a has no table of contents, add one with ranlib(1) (can't load from it)
/usr/bin/libtool: internal link edit command failed
scons: *** [build/debug/mapq3.dylib] Error 1
scons: building terminated because of errors.

but i dont know how to use ranlib.
Logged
kick52
Member


Cakes -1
Posts: 229


« Reply #8 on: March 23, 2007, 06:33:35 PM »

hmm... nevermind. i got past the ranlib thing. but now i'm at this: (time to say screw it to compiling i think)

Code:
include/itextstream.h:66: error: call of overloaded 'ostream_write(TextOutputStream&, const long unsigned int&)' is ambiguous
libs/stream/textstream.h:147: note: candidates are: TextOutputStreamType& ostream_write(TextOutputStreamType&, char) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:156: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, double) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:167: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, float) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:175: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, int) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:193: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, Unsigned) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:247: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, const HexChar&) [with TextOutputStreamType = TextOutputStream]
libs/stream/textstream.h:342: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, const Decimal&) [with TextOutputStreamType = TextOutputStream]
libs/gtkutil/accelerator.h:60: note:                 TextOutputStreamType& ostream_write(TextOutputStreamType&, const Accelerator&) [with TextOutputStreamType = TextOutputStream]
scons: *** [build/debug/radiant/texwindow.o] Error 1
scons: building terminated because of errors.
Logged
Blaenk
more like blank dumb
Lesser Nub


Cakes 0
Posts: 135



« Reply #9 on: March 23, 2007, 06:38:05 PM »

You've read this ( http://redsaurus.net/gtkrwiki/index.php/Downloads ) and this ( http://macinradiant.cjb.net/ ) right?
Logged
kick52
Member


Cakes -1
Posts: 229


« Reply #10 on: March 23, 2007, 06:53:27 PM »


yes. the top one is MacRadiant (which i talked about in the op)
Hmm.. not sure about the last link though. *checks it out*
Logged
Pages: [1]
  Print  
 
Jump to: