Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Has anybody tried compiling under XCode 4?
Author: Jolyon (---.nmqt1.woo.bigpond.net.au)
Date:   04-01-11 09:32

I'm getting errors since I upgraded to XCode. Apparently vorbis.h cannot be found. I don't *think* I've changed anything else that would affect the developer tools.

Reply To This Message
 
 Re: Has anybody tried compiling under XCode 4?
Author: DominusXyz (---.static.xdsl-line.inode.at)
Date:   04-01-11 10:22

Are you using macports or did you build ogg vorbis yourself?
Copy paste your .profile file and the commands you use to compile exult.
Exult builds fine for me with xcode4, the current snapshot has been built by a mixture of Xcode 3.2.x and 4 (mixture because some stuff xcode 3.26 stuff is needed for making a threeway universal binary).

Reply To This Message
 
 Re: Has anybody tried compiling under XCode 4?
Author: Jolyon (---.nmqt1.woo.bigpond.net.au)
Date:   04-04-11 10:08

I'm using MacPorts for ogg.

I manually set

export CFLAGS=-I/opt/local/include
export CXXFLAGS=$CFLAGS

Before compiling and follow the instructions in the readme to compile. I don't try to link to static libraries.

Here's my .profile:


#Define aliases
alias ls='ls -G'
alias ll='ls -lG'
alias la='ls -lGa'

# 'pman' bit - this will create a PDF file of a UNIX man page.

pman()
{
man -t "${1}" | open -f -a /Applications/Preview.app/
}


# MacPorts Installer addition on 2010-02-15_at_19:47:34: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH

The weird thing was I compiled right before updating to XCode 4 and it was fine. Afterwards, no such luck.

Reply To This Message
 
 Re: Has anybody tried compiling under XCode 4?
Author: Dominus 
Date:   04-04-11 12:01

I'm setting these, maybe one of those is really needed:
export CFLAGS=-I/opt/local/include
export LDFLAGS=-L/opt/local/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /opt/local/share/aclocal"
export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig"

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!

Reply To This Message
 
 Re: Has anybody tried compiling under XCode 4?
Author: Jolyon (---.nmqt1.woo.bigpond.net.au)
Date:   04-06-11 05:42

That seems to have worked! Thanks.

Did anything change between XCode version (or SVN revisions) that could have caused it to stop compiling? Previously I never had to se CPPFLAGS, ACLOCAL_FLAGS, or PKG_CONFIG_PATH.

Reply To This Message
 
 Re: Has anybody tried compiling under XCode 4?
Author: Dominus1 (---.static.xdsl-line.inode.at)
Date:   04-06-11 07:20

I think I had problems before, but never bothered finding out which line fixed it.

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Subject:
   
 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)