how to build tmw on mac?
Re: how to build tmw on mac?
You will need Xcode which is available free from the Apple Developer website.
You will need all the dependencies as listed on the wiki to build.
Patch the files, then Open up the .xcodeproj file from git, and click Build and Go.
This will build the game and run it.
--
trapdoor
You will need all the dependencies as listed on the wiki to build.
Patch the files, then Open up the .xcodeproj file from git, and click Build and Go.
This will build the game and run it.
--
trapdoor
Re: how to build tmw on mac?
I'm trying to compile the TMW client on my Mac (OS X 10.5.8 Intel). I downloaded the .DMG image, but for various reasons would like to compile it anew.
I don't know how to use git, so I downloaded the source code from http://downloads.sourceforge.net/theman ... 9.1.tar.gz
I've installed XCode 3.1.4 and the following through macports (http://www.macports.org):
- libpng 1.2.44
- libvorbis 1.3.1
- libxml2 2.7.7
- libsdl 1.2.14 (includes /opt/local/bin/sdl-config)
- libsdl-image 1.2.10
- libsdl-mixer 1.2.11
- libsdl-net 1.2.7
- libguichan 0.8.2
- phyfs 2.0.0
In short, I tried to follow the instructions at http://wiki.themanaworld.org/index.php/MacOSX_port
After extracting the tarball, I run
$ ./configure
<snip lots of autoconf joy>
checking for curl-config... /usr/bin/curl-config
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... no
configure: error: *** Unable to find Guichan library (http://guichan.sf.net/)
$
Since I see guichan in both /opt/local/lib/libguichan and /opt/local/include/guichan, I try
$ ./configure --libdir=/opt/local/include
and
$ ./configure --libdir=/opt/local/lib
and
$ ./configure --libdir=/opt/local/lib/libguichan
...and get the exact same error.
What am I doing wrong?
I don't know how to use git, so I downloaded the source code from http://downloads.sourceforge.net/theman ... 9.1.tar.gz
I've installed XCode 3.1.4 and the following through macports (http://www.macports.org):
- libpng 1.2.44
- libvorbis 1.3.1
- libxml2 2.7.7
- libsdl 1.2.14 (includes /opt/local/bin/sdl-config)
- libsdl-image 1.2.10
- libsdl-mixer 1.2.11
- libsdl-net 1.2.7
- libguichan 0.8.2
- phyfs 2.0.0
In short, I tried to follow the instructions at http://wiki.themanaworld.org/index.php/MacOSX_port
After extracting the tarball, I run
$ ./configure
<snip lots of autoconf joy>
checking for curl-config... /usr/bin/curl-config
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... no
configure: error: *** Unable to find Guichan library (http://guichan.sf.net/)
$
Since I see guichan in both /opt/local/lib/libguichan and /opt/local/include/guichan, I try
$ ./configure --libdir=/opt/local/include
and
$ ./configure --libdir=/opt/local/lib
and
$ ./configure --libdir=/opt/local/lib/libguichan
...and get the exact same error.
What am I doing wrong?
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: how to build tmw on mac?
Building on Mac:
1. Get a gun
2. Get a bullet
3. Insert bullet into gun
4. Aim gun at head
5. Pull gun's trigger
6. ???
7. PROFIT!!!
1. Get a gun
2. Get a bullet
3. Insert bullet into gun
4. Aim gun at head
5. Pull gun's trigger
6. ???
7. PROFIT!!!
<Kage_Jittai> ... are you saying I am elite 
<thorbjorn> Yes.

<thorbjorn> Yes.

Re: how to build tmw on mac?
That's very funny, Kage, but not quite true. My OS of choice is OpenBSD (and not always on x86), so I'm used to compiling stuff from source in a BSD environment, including this Mac.Kage wrote:Building on Mac:
1. Get a gun
<snip>
Don't get me started about all the OSS that implicitly assumes you're running either Redhat or Debian GNU/Linux on x86.

You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: how to build tmw on mac?
For OSX compilation, xcode would be best, due to how Apple changed things. Or try the Mana repo and CMake. Mana 1.0 WIP: http://gitorious.org/mana/mana/archive-tarball/1.0. Automake stuff is in there, but depreciated.Frost wrote:That's very funny, Kage, but not quite true. My OS of choice is OpenBSD (and not always on x86), so I'm used to compiling stuff from source in a BSD environment, including this Mac.Kage wrote:Building on Mac:
1. Get a gun
<snip>
Don't get me started about all the OSS that implicitly assumes you're running either Redhat or Debian GNU/Linux on x86.
Re: how to build tmw on mac?
It is completely possible to compile Mana under OS X the oldfashioned way: you just have to handle dependency hell yourself as normally.
The last I've bothered to try has been in 2008 and the most issues were with Guichan. Sorry I cannot be of more aid here, but best of luck on your chosen path.
The last I've bothered to try has been in 2008 and the most issues were with Guichan. Sorry I cannot be of more aid here, but best of luck on your chosen path.
This message used to be meaningful.
Re: how to build tmw on mac?
Felt like necroing an old thread today.Rotonen wrote:It is completely possible to compile Mana under OS X the oldfashioned way: you just have to handle dependency hell yourself as normally.
The last I've bothered to try has been in 2008 and the most issues were with Guichan. Sorry I cannot be of more aid here, but best of luck on your chosen path.

Thanks to everyone for the suggestions. I took another shot at it with the source for 0.5.0 and, exactly as Rotonen said, I'm stuck on a missing guichan framework. Unfortunately, the zip file that trapdoor posted a few years ago is now a dead link.
I have learned a bit of XCode through my efforts, and once I figure this out, I will try to provide client binaries (and build documentation) for MacOS. Learning about Carbon frameworks makes my brain hurt, and any assistance is welcome.
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: how to build tmw on mac?
trapdoor promptly supplied me with the guichan.framework.
Now I'm just working through the normal compilation errors like "undeclared variable" and whatnot. Hopefully this won't involve hacking header files.
Yay!
Now I'm just working through the normal compilation errors like "undeclared variable" and whatnot. Hopefully this won't involve hacking header files.
Yay!
You earn respect by how you live, not by what you demand.
-unknown
-unknown
Re: how to build tmw on mac?
new macport for Xcode 4.6 of Mountain Lion 10.8.2
http://wiki.themanaworld.org/index.php/ ... acOSX_port
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/projects/SDL_mixe ... e-1.2.html
http://www.libsdl.org/projects/SDL_imag ... e-1.2.html
after install to /Library/Frameworks
then xcode->Preferences -> Downloads and install Command Line Tools
install MacPorts
https://distfiles.macports.org/MacPorts/
then open mac Terminal app, execute follows
sudo port selfupdate
sudo port install libxml2
sudo port install libguichan
sudo port install libsdl_gfx
sudo port install libsdl_net
sudo port install libsdl_ttf
sudo port install physfs
sudo port install libpng
sudo port install freetype
sudo port install libiconv
sudo port install gettext
cmake /Users/[yourname]/[sourcecode]/
make
cp /Users/[yourname]/[clientproject]/src/mana /Users/[yourname]/[clientproject]/
./mana
///////////////////////If work on Xcode 4 IDE//////////////
1. xcode->file->project settings->advanced->custom >> [relative to workspace]
2. add SDL all framework need check copy items into destination
3. preprocessor macros add HAS_SOCKLEN_T MANASERV_SUPPORT=1
4. #include "SDL_mixer.h" change to #include "SDL_mixer/SDL_mixer.h"
5. in main.cpp modify this
#ifndef __MACH__ //add this
if (options.printHelp)
{
printHelp();
return 0;
}
else if (options.printVersion)
{
printVersion();
return 0;
}
#endif //add this
6. press Run button to execute mana successfully
7. or copy mana.app to /Users/[yourname]/[clientproject]/ to run
my mac and linux and win32 build project
http://www.mediafire.com/?dk5qcd9rl6vl87d
////////
///////////////////////////////////////////////
http://wiki.themanaworld.org/index.php/ ... acOSX_port
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/projects/SDL_mixe ... e-1.2.html
http://www.libsdl.org/projects/SDL_imag ... e-1.2.html
after install to /Library/Frameworks
then xcode->Preferences -> Downloads and install Command Line Tools
install MacPorts
https://distfiles.macports.org/MacPorts/
then open mac Terminal app, execute follows
sudo port selfupdate
sudo port install libxml2
sudo port install libguichan
sudo port install libsdl_gfx
sudo port install libsdl_net
sudo port install libsdl_ttf
sudo port install physfs
sudo port install libpng
sudo port install freetype
sudo port install libiconv
sudo port install gettext
cmake /Users/[yourname]/[sourcecode]/
make
cp /Users/[yourname]/[clientproject]/src/mana /Users/[yourname]/[clientproject]/
./mana
///////////////////////If work on Xcode 4 IDE//////////////
1. xcode->file->project settings->advanced->custom >> [relative to workspace]
2. add SDL all framework need check copy items into destination
3. preprocessor macros add HAS_SOCKLEN_T MANASERV_SUPPORT=1
4. #include "SDL_mixer.h" change to #include "SDL_mixer/SDL_mixer.h"
5. in main.cpp modify this
#ifndef __MACH__ //add this
if (options.printHelp)
{
printHelp();
return 0;
}
else if (options.printVersion)
{
printVersion();
return 0;
}
#endif //add this
6. press Run button to execute mana successfully
7. or copy mana.app to /Users/[yourname]/[clientproject]/ to run
my mac and linux and win32 build project
http://www.mediafire.com/?dk5qcd9rl6vl87d
////////
///////////////////////////////////////////////
Frost wrote:I'm trying to compile the TMW client on my Mac (OS X 10.5.8 Intel). I downloaded the .DMG image, but for various reasons would like to compile it anew.
I don't know how to use git, so I downloaded the source code from http://downloads.sourceforge.net/theman ... 9.1.tar.gz
I've installed XCode 3.1.4 and the following through macports (http://www.macports.org):
- libpng 1.2.44
- libvorbis 1.3.1
- libxml2 2.7.7
- libsdl 1.2.14 (includes /opt/local/bin/sdl-config)
- libsdl-image 1.2.10
- libsdl-mixer 1.2.11
- libsdl-net 1.2.7
- libguichan 0.8.2
- phyfs 2.0.0
In short, I tried to follow the instructions at http://wiki.themanaworld.org/index.php/MacOSX_port
After extracting the tarball, I run
$ ./configure
<snip lots of autoconf joy>
checking for curl-config... /usr/bin/curl-config
checking for pthread_create in -lpthread... yes
checking for gcnGuichanVersion in -lguichan... no
configure: error: *** Unable to find Guichan library (http://guichan.sf.net/)
$
Since I see guichan in both /opt/local/lib/libguichan and /opt/local/include/guichan, I try
$ ./configure --libdir=/opt/local/include
and
$ ./configure --libdir=/opt/local/lib
and
$ ./configure --libdir=/opt/local/lib/libguichan
...and get the exact same error.
What am I doing wrong?
- Attachments
-
- 螢幕快照 2013-08-22 下午5.08.35.jpg (173.84 KiB) Viewed 3348 times
Re: how to build tmw on mac?
Uhm... No need to build anymore unless you want to develop. If you are a developer than the guide on the wiki should be more than enough.
edit: The ManaPlus wiki: http://manaplus.org/macosxrelease
edit: The ManaPlus wiki: http://manaplus.org/macosxrelease
Re: how to build tmw on mac?
1. Mana sdk on on MacOsx
http://www.mediafire.com/download/xhkuu ... 131102.zip
1. Add source of tales on mana sdk on MacOsx
http://www.mediafire.com/download/hst3k ... 131102.zip
[quote="fatalfeel"]new macport for Xcode 4.6 of Mountain Lion 10.8.2
http://wiki.themanaworld.org/index.php/ ... acOSX_port
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/projects/SDL_mixe ... e-1.2.html
http://www.libsdl.org/projects/SDL_imag ... e-1.2.html
after install to /Library/Frameworks
then xcode->Preferences -> Downloads and install Command Line Tools
install MacPorts
https://distfiles.macports.org/MacPorts/
then open mac Terminal app, execute follows
sudo port selfupdate
sudo port install libxml2
sudo port install libguichan
sudo port install libsdl_gfx
sudo port install libsdl_net
sudo port install libsdl_ttf
sudo port install physfs
sudo port install libpng
sudo port install freetype
sudo port install libiconv
sudo port install gettext
cmake /Users/[yourname]/[sourcecode]/
make
cp /Users/[yourname]/[clientproject]/src/mana /Users/[yourname]/[clientproject]/
./mana
///////////////////////How to run on Xcode 4 IDE//////////////
1. xcode->file->project settings->advanced->custom >> [relative to workspace]
2. add SDL all framework need check copy items into destination
3. preprocessor macros add HAS_SOCKLEN_T MANASERV_SUPPORT=1
4. #include "SDL_mixer.h" change to #include "SDL_mixer/SDL_mixer.h"
5. in main.cpp modify this
#ifndef __MACH__ //add this
if (options.printHelp)
{
printHelp();
return 0;
}
else if (options.printVersion)
{
printVersion();
return 0;
}
#endif //add this
6. press Run button to execute mana successfully
7. or copy mana.app to /Users/[yourname]/[clientproject]/ to run
http://www.mediafire.com/download/xhkuu ... 131102.zip
1. Add source of tales on mana sdk on MacOsx
http://www.mediafire.com/download/hst3k ... 131102.zip
[quote="fatalfeel"]new macport for Xcode 4.6 of Mountain Lion 10.8.2
http://wiki.themanaworld.org/index.php/ ... acOSX_port
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/projects/SDL_mixe ... e-1.2.html
http://www.libsdl.org/projects/SDL_imag ... e-1.2.html
after install to /Library/Frameworks
then xcode->Preferences -> Downloads and install Command Line Tools
install MacPorts
https://distfiles.macports.org/MacPorts/
then open mac Terminal app, execute follows
sudo port selfupdate
sudo port install libxml2
sudo port install libguichan
sudo port install libsdl_gfx
sudo port install libsdl_net
sudo port install libsdl_ttf
sudo port install physfs
sudo port install libpng
sudo port install freetype
sudo port install libiconv
sudo port install gettext
cmake /Users/[yourname]/[sourcecode]/
make
cp /Users/[yourname]/[clientproject]/src/mana /Users/[yourname]/[clientproject]/
./mana
///////////////////////How to run on Xcode 4 IDE//////////////
1. xcode->file->project settings->advanced->custom >> [relative to workspace]
2. add SDL all framework need check copy items into destination
3. preprocessor macros add HAS_SOCKLEN_T MANASERV_SUPPORT=1
4. #include "SDL_mixer.h" change to #include "SDL_mixer/SDL_mixer.h"
5. in main.cpp modify this
#ifndef __MACH__ //add this
if (options.printHelp)
{
printHelp();
return 0;
}
else if (options.printVersion)
{
printVersion();
return 0;
}
#endif //add this
6. press Run button to execute mana successfully
7. or copy mana.app to /Users/[yourname]/[clientproject]/ to run
- Attachments
-
- 螢幕快照 2013-12-02 下午12.03.01.png (496.44 KiB) Viewed 3181 times
Re: how to build tmw on mac?
Awesome instructions! Thanks mr ManaSource guy! I shall try this tomorrow.
Head of the TMW Illuminati
Re: how to build tmw on mac?
Please note that the SDL client is no longer supported for latest Source of Tales.
You will need github.com/tales/tales-client as client. Compiling on mac probably works out of the box... But I am not sure wether anyone tested the client on OS X already. However it should be easy to get running since the client is only based on Qt.
Regards,
Ablu
You will need github.com/tales/tales-client as client. Compiling on mac probably works out of the box... But I am not sure wether anyone tested the client on OS X already. However it should be easy to get running since the client is only based on Qt.
Regards,
Ablu
Re: how to build tmw on mac?
This topic was about tmw and now here is oftopic.
May be better move manasource related messages to manasource forum?
May be better move manasource related messages to manasource forum?