Topic: problem about compile on mac

Xcode Tips : Dependent using declaration resolved to type without 'type name'
It seem like a bug about llvm.
like this  http://stackoverflow.com/questions/1071 … se-classes
How can I compile maratis on Mac OS? thanks

Last edited by lauhonyeung (2012-08-16 09:26:57)

Re: problem about compile on mac

What version of xcode do you have ?
I don't understand what is your error, is it when you compile from the xcode project ?

Did you try using scons ? > with a command line, in /trunk/dev/ type "python scons.py"

Re: problem about compile on mac

May be my XCode version is old.I didn't try "python scon.py".
I'm new to Mac OS.I May try again on monday in the company.
When I compiled Maratis's MEngine Project In XCode,
compiler tips "Using Base_::ooxx;"without "typename" in the "map.h" file .
Thanks for reply.Maratis is a great game engine.

Last edited by lauhonyeung (2012-08-17 01:18:51)

Re: problem about compile on mac

The simpler is to use scons : "python scon.py"
But if you need to compile with xcode projects, try compile in this order : MCore, then MEngine, then Maratis

Re: problem about compile on mac

I try "python scon.py",after I install scons,
but tip like this

"
scons: Reading SConscript files ...
  File "/Users/karonjia/Downloads/Maratis/trunk/dev/var/scons/platformcustom.py", line 3

SyntaxError: Non-ASCII character '\xe5' in file /Users/karonjia/Downloads/Maratis/trunk/dev/var/scons/platformcustom.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
"

so I try another way,and then,I switch Xcode's compiler to llvm-gcc,there's one link error,
tips like this

"
Undefined symbols for architecture x86_64:
  "readDirectory(char const*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, bool, bool)", referenced from:
      MGuiFileBrowser::updateMainWin()       in MGuiFileBrowser.o
      MPublishEventmapsPackage::execute(char const*)in MPublishEvent.o
      MPublishEventscriptsPackage::execute(char const*)in MPublishEvent.o
      MPublishEventsoundsPackage::execute(char const*)in MPublishEvent.o
      MPublishEventshadersPackage::execute(char const*)in MPublishEvent.o
      MPublishEventfontsPackage::execute(char const*)in MPublishEvent.o
      MPublishEventlevelsPackage::execute(char const*)in MPublishEvent.o
      ...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
"

Last edited by lauhonyeung (2012-08-20 06:45:41)